Log in

View Full Version : Search first thread only


WarHorse
10-21-2004, 11:01 PM
First of all, I think a lot of us would be completely lost if it wasn't for this site. Thank you for all of your hard work.

I think searching could produce even more relevant results if you were able to search only the first post of a thread. I have know idea how this would be done, but I'm sure if it can be, the person who can do it is a member.

I would use this feature. Would anyone else? :rolleyes:

-Matt

Dean C
10-22-2004, 10:22 AM
Hmm I could see this use for this. We could make an extra form on the search page and have it say "Find a modification". It would then search only the first posts of threads in the modifications forums.

Xenon
10-22-2004, 04:05 PM
interesting idea i think

noonespecial
04-09-2006, 05:52 AM
This would be brilliant for my news forum .. wish I knew how to do it.

Gio~Logist
04-09-2006, 09:02 AM
Sounds good. I will look into this when i get a chance and see if it's worth taking on (need to see how complex the coding will be and such).

Lea Verou
04-12-2006, 12:11 AM
Great idea!!!

noonespecial
04-12-2006, 12:23 AM
in search.php

$postQueryLogic[] = 'thread.firstpostid = post.postid';

placed directly under

// show results as threads
**********************

Works for me.

I made a duplicate search.php file to use this; someone can find a better use - go for it.

Paul M
04-12-2006, 03:42 AM
You can do it via a plugin, no need to edit the file.