11
exbanious
Re: News module +keywords
  • 2005/7/14 23:24

  • exbanious

  • Not too shy to talk

  • Posts: 113

  • Since: 2004/5/30


you might want to turn your debug on and see what it says.
there are several places in news 1.3.1 that make references to the keywords function.
off hand, "admin/index.php", "submit.php" and "class.newsstory.php", in addition to "article.php". you would have to add these references in as well...

i had made several modifications to news 1.2 and found it much easier to port those changes over to higher versions, rather than add elements from later versions to earlier ones. but everyone has their own method, so do whatever works for you.

12
przemeks
Re: News module +keywords
  • 2006/6/17 21:12

  • przemeks

  • Just popping in

  • Posts: 57

  • Since: 2005/1/29


Hello guys,

I use News 1.44 and this hack doesn't work, i don't know what is wrong.

My query to database (example):


SELECT FROM xoops_stories WHERE MATCH (keywordsAGAINST ('xoops, cms, php') AND storyid != '2'



I add fulltext to 'keywords' row.

The code:


$number mysql_numrows($wykonaj);

echo 
$number;



always return '0'

I think that this query is wrong...

I don't have any other ideas...

Could anyone help me ?

----edit-----

I removed from query


AND storyid != '$id'



and this query return the same story. Something of this query must be wrong.

----edit-----

I check several queries and I know what the problem is. This query search stories which include all of those keywords in row 'keywords' not one...

Any ideas ?

----

I work on XOOPS 2.0.13.2 - in this version something must blocks this query.

Login

Who's Online

160 user(s) are online (134 user(s) are browsing Support Forums)


Members: 0


Guests: 160


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Jun 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits