vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   Hide a forum from "What's New?" (https://vborg.vbsupport.ru/showthread.php?t=248077)

GONUMBER6 08-06-2010 04:04 AM

Hide a forum from "What's New?"
 
Can I filter a particular forum from showing up in the 'What's New?' section?

Thanks in advance!

Lynne 08-06-2010 02:20 PM

To exclude forums in the What's New button, you may add "&exclude=xx" or "&exclude=xx,yy,zz" (separate the forumids by commas) to the end of the What's New search link in the template.

lemonadesoda 08-06-2010 07:28 PM

Thanks for the useful tip. Could you also mention which template needs to be edited? Thanks.

Lynne, how do we get the What's New? search to show up like vB3 which is Recent including said users own posts?

combs 08-13-2010 09:20 PM

I'd appreciate an answer to this as well, I understand the first part. I just don't see where to add the code to the what's new search link...how do you edit that template?

carrlos 08-14-2010 11:27 PM

Bump

sross 08-14-2010 11:32 PM

There was a "selective forum filter" mod in 3.8 that was brilliant. Gave users the option to turn off forums in their usercp. No one has ported it to 4.x yet though :(

Lynne 08-15-2010 03:10 AM

Sorry, yes this would be in the navbar template. You find the search link (in several places):
<a href="search.php?{vb:raw session.sessionurl}do=getnew&amp;contenttype=vBFor um_Post">

And then add "&amp;exclude=xx" or "&amp;exclude=xx,yy,zz" (separate the forumids by commas) to the end of the url.

carrlos 08-15-2010 03:37 AM

Quote:

Originally Posted by Lynne (Post 2084069)
Sorry, yes this would be in the navbar template. You find the search link (in several places):
<a href="search.php?{vb:raw session.sessionurl}do=getnew&amp;contenttype=vBFor um_Post">

And then add "&amp;exclude=xx" or "&amp;exclude=xx,yy,zz" (separate the forumids by commas) to the end of the url.

Thanks Lynne! This is great! To confirm, it should look like this (for one forum):

<a href="search.php?{vb:raw session.sessionurl}do=getnew&amp;contenttype=vBFor um_Post&amp;exclude=xx">

Edit:
It worked, thanks! ;)

chriske 08-23-2010 10:09 PM

Thanks for this topic, gonna try it out :)

I wish this could be customized in the admin panel by adding forum numbers :D

lycheepassion 12-12-2010 04:11 PM

I did this but it's not working! :( V 4.1 pl2


All times are GMT. The time now is 09:58 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.01055 seconds
  • Memory Usage 1,725KB
  • 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