Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: Search - can it also be set to search user comments ?  (Read 1805 times)

0 Members and 1 Guest are viewing this topic.

madaxeman

  • Coppermine newbie
  • Offline Offline
  • Posts: 12
Search - can it also be set to search user comments ?
« on: September 16, 2008, 02:12:22 pm »

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
Logged

Nibbler

  • Guest
Re: Search - can it also be set to search user comments ?
« Reply #1 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.
Logged

madaxeman

  • Coppermine newbie
  • Offline Offline
  • Posts: 12
Re: Search - can it also be set to search user comments ?
« Reply #2 on: September 17, 2008, 05:36:47 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  ;)
Logged
Pages: [1]   Go Up
 

Page created in 0.027 seconds with 20 queries.