vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   Exclude forums from get new and daily (https://vborg.vbsupport.ru/showthread.php?t=105701)

KBV 01-19-2006 09:49 AM

Exclude forums from get new and daily
 
I know there are two mods on this board that do this, but I don't want the user to be able to choice which ones. I want it to be an admin option where the admin can make a forum not show up in "Get New Posts" and "Daily Posts".

Anyone?

Thank you. :)

Andreas 01-19-2006 10:32 AM

search_getnew_start
PHP Code:

$vbulletin->GPC['exclude'] .= ',X,X,Z'

Where X, Y and Z are the forumids you want to exclude.
If you want a more versatile solution (eg. setting in forum manger) this will require a new field in forum table and at least one more plugin.
(Or you would have to hijack forumoptions, which is not recommended)

KBV 01-20-2006 10:32 AM

I'm dumb as a rock. I can't find search_getnew_start :P Also, where exactly do I place it.

P.S. We made these msg at the same time a day apart. :P

peterska2 01-20-2006 10:59 AM

It's a hook location. Do it via your plugin manager > Add new plugin.

KBV 01-20-2006 01:32 PM

Thank you, works like a charm! <3

JohnBee 11-24-2006 04:17 PM

Thanks for this! excellent little addon. thumbsup!

GameWizard 11-29-2006 08:12 AM

Is there anyway to actually make this work the other way around, but this I mean rather than excluding specific forums, could we use an 'include' command to specify specifically which boards to appear on the getnew / getdaily pages?

The reason I ask this is because I have a large amount of forums, over 400 and I require this to be setup in order for each subsection in my forum to filter the new posts for that section only, rather than the board as a whole.

PiotrasG 02-14-2007 06:23 PM

thank you works great, now i wont have new post from rss feed forums :)


All times are GMT. The time now is 09:54 AM.

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.02285 seconds
  • Memory Usage 1,714KB
  • 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_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (8)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