View Full Version : Make a sub forum not appear in "New Posts"
seaweed
02-24-2009, 02:53 PM
Mostly my Mods are complaining about our Politics and Religion being an active forum on the website. they have asked for it to be either made private, removed or not appear when they click on the "New Posts" in the nav bar.
Off Topic
General Of Topics
Politics and Religion
Favorite Links
Is this possible? If so could you point me in the right direstion?
tia
seaweed
Lynne
02-24-2009, 03:23 PM
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. I think it occurs in a couple of places there, so you will need to edit each of those urls.
Dismounted
02-25-2009, 07:53 AM
I think it occurs in a couple of places there, so you will need to edit each of those urls.
Do a mass search of the templates to find these.
seaweed
02-26-2009, 09:01 PM
thanks guys i think i may be a bit too deep but im going to try
( <td class="vbmenu_control"><a href="search.php?$session[sessionurl]do=getnew" accesskey="2">$vbphrase[new_posts_nav]</a></td>)
I found the above, and think it is what you are suggesting i change. I will modify
( <td class="vbmenu_control"><a href="search.php?$session[sessionurl]do=getnew&exclude=xx" accesskey="2">$vbphrase[new_posts_nav]</a></td> )
Im not sure how or what to mass search for.
Let me know what you think
seaweed
--------------- Added 1235689390 at 1235689390 ---------------
Forum: Politics and Religion (id: 56)
So i assume that the forum id is 56??
Seaweed
Lynne
02-26-2009, 09:09 PM
You would have "exclude=56" if the forumid is 56.
seaweed
02-26-2009, 09:56 PM
I think i got it working, let see how long it takes for these guys to notice
thanks Lynne :)
if you dont mind please take a peak and let me know what you think of my site
Site (http://www.spearfishingplanet.com/)
Lynne
02-26-2009, 10:02 PM
It looks nice! :up:
seaweed
02-26-2009, 11:18 PM
Thanks
Sorry to ask another question, can you tell me how to make the 3rd nav bar appear more centered?
Seaweed
Lynne
02-26-2009, 11:34 PM
I don't really know. You really haven't done anything to the columns to set their width or anything. That may be what you have to do. I think you'd have to just play with it. Or, take them out of the <td> tags altogether and just center the text.
Dismounted
02-27-2009, 10:55 AM
I reckon you don't need the third navbar. Think about it, who really uses the "Who's Online" and "Mark Forums Read" links up the top?
seaweed
02-27-2009, 02:06 PM
thanks again for the push,
Dis, havent thought about those links before, but will deffinatly consider your advice.
Thank you both
Seaweed
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.