PDA

View Full Version : How Do I Do A Custom Search?


theothersully
02-14-2009, 02:01 PM
Hey everyone,

I recently put together a search in the header to return all the posts from the past 7 days. My users love it.

I just changed the search to say: do=getdaily&days=7 in the header template. Easy and cool.

Now, they want to return all posts like the do=getdaily&days=7, except for from my Off Topic area. How would you modify this search to return stuff as normal, but *excluding* a particular section of the board?

Thanks!

Dismounted
02-15-2009, 03:58 AM
do=getdaily&days=7&exclude=X

X is the ID of the Off Topic forum.

theothersully
02-15-2009, 12:11 PM
do=getdaily&days=7&exclude=X

X is the ID of the Off Topic forum.

Thank you *very* much. So helpful.