vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   Exclude Forums from What's new (https://vborg.vbsupport.ru/showthread.php?t=257457)

jluerken 01-20-2011 06:10 AM

Exclude Forums from What's new
 
Hi,

I am searching for a way to remove 2 forums from the WHAT's NEW listing for all users.
The addons I found which can do this offer a lot more functions I don't need and I have not seen a thread describing how to do it.

I do not want to have any option or setting, a simple plugin which is doing this for all groups and users is fine.

Can someone give me a hint here?

/Greetings jluerken

Lynne 01-20-2011 04:50 PM

This has been posted quite a few times:

To exclude forums in the New Posts/What's New button, you may add "&exclude=xx" or "&exclude=xx,yy,zz" (separate the forumids by commas) to the end of the New Posts/What's New search.php url in the navbar template.... ie. "/forums/search.php?do=getnew&exclude=xx" or "search.php?{vb:raw session.sessionurl}do=getnew&contenttype=vBFor um_Post&exclude=xx" (This occurs in a few places.)

jluerken 01-21-2011 08:02 AM

Hi Lynne,

I only need this change in the navbar. I think this works, thanks, but it looks now very strange in combination with vbSEO.

The link now looks like
Original: http://www.tld.com/forum/search.php&exclude=186,324
vbSEO: http://www.tld.com/forum/whatsnew/&exclude=186,324

The vbSEO link should still show
http://www.tld.com/forum/whatsnew/

Any idea how I can do this?

Kind regards
jluerken

Lynne 01-21-2011 02:33 PM

You would probably need to actually modify the file itself if you need the link to stay like that.

Bomyne 12-16-2011 10:10 AM

Sorry to bump this but I have a related question. Is there a way to exclude a user rather than forums?


All times are GMT. The time now is 10:00 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.01074 seconds
  • Memory Usage 1,713KB
  • 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)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