vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   End-User Options - Selective Forum Filter (https://vborg.vbsupport.ru/showthread.php?t=215001)

Dave-ahfb 06-29-2015 12:10 PM

Those having problems in 4.2 with the "new posts" in the navbar

Go to your navigation manager

replace entire contents of "Target URL" with
PHP Code:

search.php?{session.sessionurl}do=getnew&contenttype=vBForum_Post&exclude={bbuserinfo.excludeforumids


3DSJFH 02-21-2016 06:54 PM

Is there any way to make this mod only hide subforums from the "New Posts" feature, leaving the main forum sections visible?

blind-eddie 02-21-2016 07:43 PM

In your navbar template find:

Code:

                    <td class="vbmenu_control"><a href="search.php?$session[sessionurl]do=getnew" accesskey="2">$vbphrase[new_posts_nav]</a></td>
Replace with:

Code:

                                <td class="vbmenu_control"><a href="search.php?$session[sessionurl]do=getdaily&exclude=1,2,3,4,5,6,7,8,9" accesskey="2">$vbphrase[new_posts_nav]</a></td>
Changing 1,2,3,4,5,6,7,8,9 to the sub forum id's you wish to hide.

3DSJFH 02-22-2016 06:41 PM

Thanks, I should have clarified that I meant modify in a way so that users can choose which forum sections to hide on a user by user case.

But your tip is great, I notified my users of it so they can make a "favorites" shortcut in their browser themselves if they want this functionality, simplicity at it's best! :)


All times are GMT. The time now is 10:43 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.01097 seconds
  • Memory Usage 1,724KB
  • 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_code_printable
  • (1)bbcode_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)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