PDA

View Full Version : Search query in keywords


neurosis4u
06-17-2006, 04:22 PM
Is it possible to modify the internal search, so that it also make a query at the keywords that user have entered? Or is this very complicated?
I ask, `cause some of my users don`t understand, that they put in Keywords, and their sites will be not found in my directory by this keywords

David
06-17-2006, 04:25 PM
Around line 40 of search.php, we have:
Content visible to registered users only.

I haven't tested, but probably this will work:
Content visible to registered users only.

neurosis4u
06-17-2006, 05:16 PM
no, that doesn`t work..

neurosis4u
06-17-2006, 05:51 PM
Content visible to registered users only.

I made a few tests in this line
e.g. i deleted 'TITLE', 'URL', 'DESCRIPTION' , it doesnt matter at all, nothing happend, i mean really nothing... the search was the same as before with this line intact.

Neticus
06-18-2006, 11:18 PM
Did you manage to get this working?

Boby
06-18-2006, 11:25 PM
In index.php, look for:
Content visible to registered users only. Replace with:
Content visible to registered users only.
It's once for featured links (line ~211) and once for regular links (line ~239), you can change it for both or for one of them ;)

Boby

Neticus
06-19-2006, 03:29 PM
Thanks Boby, works perfectly, still deciding whether to use it within internal search or perhaps it may invite too much abuse and too much monitoring.

Thanks.

neurosis4u
06-19-2006, 03:45 PM
very cool, it works perfect .. many thanks :cool: