The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Stop certain forum from showing in what's new posts
Is there a mod that would allow me to stop certain forum from showing up in New post?
|
#2
|
||||
|
||||
You don't need a mod to do this- there is a thread with how to instructions on vbulletin.com. I don't know if it's exactly the same way but on vB 3.x you just edit the links in the navbar template and add &exclude=X to the end of the link URL- where X is the forum id of the forum you want to exclude... if multiple forums use commas, example: &exclude=2,3,4
|
#3
|
|||
|
|||
thanks for the help. do you know the instruction for vb4 on how to do this?
I would like to stop certain forums and it's child forums from showing in new posts and what's new but still include them in the search results. I know there is an option to stop certain forums from showing up in new post but then it will also stop them from showing in search results. that's what I don't want to happen. Is there a way to fix it? |
#4
|
||||
|
||||
I believe the instructions are the same same for VB4, did you try it?
|
#5
|
|||
|
|||
Could you please tell me where to insert the code to? I went to nav bar template but couldn't find the code for new post and what's new button.
|
#6
|
||||
|
||||
Open your navbar template...
Use the "find" feature in your browser to find all instances of: Code:
search.php?{vb:raw session.sessionurl}do=getnew In all of them add Code:
&exclude=2,3,4 Another option would be to copy your entire template into a good text editor and do a "Find and Replace" Find: Code:
search.php?{vb:raw session.sessionurl}do=getnew Code:
search.php?{vb:raw session.sessionurl}do=getnew&exclude=2,3,4 |
#7
|
|||
|
|||
Thanks. I am going to try it now.
Sorry 1 more question. If have a parent forum with many sub forums in it that I don't want it to show up in new post. Do I need to enter all sub forums IDs or I can just enter the parent forums ID it will also include all the subforums? My code looks like this PHP Code:
PHP Code:
--------------- Added [DATE]1293085152[/DATE] at [TIME]1293085152[/TIME] --------------- Done testing. This worked very well for me. Thank you very much BirdOprey5 |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|