vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Removing VIP forums from showing in new post and index (https://vborg.vbsupport.ru/showthread.php?t=220275)

Haltech 08-05-2009 10:09 PM

Removing VIP forums from showing in new post and index
 
Im having a hell of a time with this. I dont want new posts to show from my VIP section period while using the New Post button or seeing it on the front page or anywhere else.

How do i implement this from occurring? Thanks

Lynne 08-05-2009 10:13 PM

Do you realize that if a user doesn't have permission to see the forum, then none of the threads in the forum will show up in the New Posts?

But, to answer your question - 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.

Gio~Logist 08-05-2009 10:16 PM

As long as they can't see content, why not tease 'em? :p Just my 2 cents.

Haltech 08-05-2009 10:24 PM

Quote:

Originally Posted by Lynne (Post 1862206)
Do you realize that if a user doesn't have permission to see the forum, then none of the threads in the forum will show up in the New Posts?

But, to answer your question - 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.

Yes, im aware of that, but we have some off the hook content and post titles that arent safe for work, which is why i need this. Thanks

tried that in the navar bar template. Doesnt seem to work when i test it with a vip accnt. topics still show

Lynne 08-05-2009 10:55 PM

Quote:

Originally Posted by Haltech (Post 1862210)
tried that in the navar bar template. Doesnt seem to work when i test it with a vip accnt. topics still show

Check your page source and make sure you changed every link you wanted to because it does work if done properly. Also, make sure the links you wanted to change are actually in your navbar - perhaps they were moved if you use a custom style.


All times are GMT. The time now is 07:21 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.01017 seconds
  • Memory Usage 1,719KB
  • 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
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete