View Full Version : Sorry if this is a repeat (Not including certain forums in New Topics Search)
Sweet Cheeks
07-24-2002, 10:42 PM
Is there a way to not include posts from a certain forum in the *New topics* search?
Thank you :rambo:
Logician
07-25-2002, 09:29 AM
edit search.php, find:
$forumsql.=",$forum[forumid]";
(there are 2 instances)
Replace it as: (both of them)
if ($forum[forumid]!=X)
{
$forumsql.=",$forum[forumid]";
}
Replace X with the forumid of your ignored forum.
Not tested, but should work..
Sweet Cheeks
07-25-2002, 03:09 PM
Awesome, I will let you know. Thanks a bunch
Sweet Cheeks
07-30-2002, 03:33 AM
It didnt work :( but thank you for taking the time to try and help me :) )
Logician
07-30-2002, 05:54 AM
ok try this one:
edit search.php, find:
$wheresql.=" AND thread.open<>10";
(There are 2 instances)
and after them (both) add this:
$wheresql.=" AND thread.forumid<>XX";
Replace XX with forumid you dont want to list.. I guess this one will work.. ;)
Sweet Cheeks
07-30-2002, 05:24 PM
Yes it worked! :) Thanks so much Logician I really appreciate your help :)
vBulletin® v3.8.12 by vBS, Copyright ©2000-2024, vBulletin Solutions Inc.