The Arcive of vBulletin Modifications Site. |
|
|
#1
|
||||
|
||||
|
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! |
|
#2
|
||||
|
||||
|
In search.php replace:
Code:
$datesql=" AND thread.lastpost>=".$bbuserinfo[lastvisit];
$wheresql="1=1".$forumsql.$datesql;
Code:
$datesql=" AND thread.lastpost>=".$bbuserinfo[lastvisit];
$wheresql="1=1".$forumsql.' AND forumid NOT IN (3,6,7,23) '.$datesql;
|
|
#3
|
||||
|
||||
|
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.
|
|
#4
|
||||
|
||||
|
No, just for getnew.
|
|
#5
|
||||
|
||||
|
Quote:
|
|
#6
|
||||
|
||||
|
Can this be done with 3.0.1?
|
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|