View Full Version : making some forums not included in "View New Posts" button?
Gutspiller
04-02-2002, 06:25 PM
I want to take a few forums out, so even if there are some new posts in those forums it doesn't show it.
I thought I had done this before, but I can't remember if I forgot or if I never did it. Can somebody please help me on this question.
Thanks!
Admin
04-03-2002, 05:04 AM
In search.php replace:
$datesql=" AND thread.lastpost>=".$bbuserinfo[lastvisit];
$wheresql="1=1".$forumsql.$datesql;
with:
$datesql=" AND thread.lastpost>=".$bbuserinfo[lastvisit];
$wheresql="1=1".$forumsql.' AND forumid NOT IN (3,6,7,23) '.$datesql;
Now it will ignore forumd 3, 6, 7, and 23.
Gutspiller
04-03-2002, 06:36 AM
And that will only ignore the forumz when click the "view new posts" button right?
I didn't want to block the forums when somebody is just running a normal search. Is this "modifying" the code going to do that?
Thanks so far, just let me know so I know if it will work for me. :)
Admin
04-03-2002, 06:37 AM
No, just for getnew.
Gutspiller
04-03-2002, 06:49 AM
Originally posted by FireFly
No, just for getnew.
Sweet! Thanks, I wasn't sure if this was going to be possible. GJ on the fast response time too. :)
bluecat
06-03-2004, 02:06 AM
Can this be done with 3.0.1?
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.