The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Turn off forum from the New Post
How do you turn off a forum area to be displayed in the new post link?
|
#2
|
||||
|
||||
To exclude forums in the New Posts button, you may add "&exclude=xx" or "&exclude=xx,yy,zz" (separate the forumids by commas) to the end of the New Posts url... ie. "/forums/search.php?do=getnew&exclude=xx" This would normally be in the navbar template. I think it occurs in a couple of places there, so you will need to edit each of those urls.
|
#3
|
||||
|
||||
I had this same problem last week, followed Lynne's advice, and it worked perfectly. If you have any more questions about where the code is or anything like that, feel free to PM me about...
|
#4
|
|||
|
|||
hmmm I did that, my code looks like this
Code:
<td class="vbmenu_control"><a href="search.php?$session[sessionurl]do=getnew&exclude=72,114,73,74,75,76,77,81,78,79,80" accesskey="2">$vbphrase[new_posts_nav]</a></td> <else /> <td class="vbmenu_control"><a href="search.php?$session[sessionurl]do=getdaily" accesskey="2">$vbphrase[todays_posts]</a></td> </if> <td class="vbmenu_control"><a id="navbar_search" href="search.php$session[sessionurl_q]" accesskey="4" rel="nofollow">$vbphrase[search]</a> <if condition="$show['quicksearch']"><script type="text/javascript"> vbmenu_register("navbar_search"); </script></if></td> </if> <if condition="$show['member']"> <td class="vbmenu_control"><a id="usercptools" href="$show[nojs_link]#usercptools" accesskey="3">$vbphrase[quick_links]</a> <script type="text/javascript"> vbmenu_register("usercptools"); </script></td> </if> <else /> <if condition="$show['searchbuttons']"> <td class="vbmenu_control"><a href="search.php$session[sessionurl_q]" accesskey="4">$vbphrase[search]</a></td> <if condition="$show['member']"> <td class="vbmenu_control"><a href="search.php?$session[sessionurl]do=getnew&exclude=72,114,73,74,75,76,77,81,78,79,80" accesskey="2">$vbphrase[new_posts_nav]</a></td> |
#5
|
||||
|
||||
Look at the page source. Are the exclude lines there?
|
#6
|
|||
|
|||
No in the source it shows
Quote:
|
#7
|
||||
|
||||
Code:
<a href="search.php?$session[sessionurl]do=getnew&exclude=374,376,392,393" accesskey="2">$vbphrase[new_posts_nav]</a> That's why I have and it works just fine... |
#8
|
||||
|
||||
If it's not showing up, then either you didn't modify the correct link in the template, or you didn't modify the correct template for your style.
|
#9
|
|||
|
|||
Thanks guys, I got it working
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|