vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Make a sub forum not appear in "New Posts" (https://vborg.vbsupport.ru/showthread.php?t=206473)

seaweed 02-24-2009 02:53 PM

Make a sub forum not appear in "New Posts"
 
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

Quote:

Originally Posted by Lynne (Post 1753402)
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&amp;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 [DATE]1235689390[/DATE] at [TIME]1235689390[/TIME] ---------------

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

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?


All times are GMT. The time now is 09:20 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01091 seconds
  • Memory Usage 1,729KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete