Search - can it also be set to search user comments ? Search - can it also be set to search user comments ?
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

Search - can it also be set to search user comments ?

Started by madaxeman, September 16, 2008, 02:12:22 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

madaxeman

Hi

I guess a self explanatory question heading - search already covers a number of fields, however I've worked through the online documentation and wasn't able to find an answer as to whether "user comments" can be added to the list of fields being searched.

I'd quite like to be able to add this capability as I suspect it might help drive user registrations on my site, as then users can contribute to the usefulness of the photo database by making the search function more accurate by indexing richer (ie user contributed) data.

Is this is possible to do - and if so, does anyone have an example anywhere I can look at to see how its done ?

many thanks

Tim

Nibbler

It's possible but I don't think there is any code posted on how to accomplish it. If you have a lot of comments this will probably be very slow.

madaxeman

Quote from: Nibbler on September 16, 2008, 08:04:09 PM
It's possible but I don't think there is any code posted on how to accomplish it. If you have a lot of comments this will probably be very slow.

OK, thanks for considering it - never mind then.

I was hoping it was going to be a simple 'define "comments in this file, then add "comments" int to search.php' - if not its probably beyond my skill level anyway  ;)