vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Removing certain forums from 'New Posts' (https://vborg.vbsupport.ru/showthread.php?t=136235)

josh_B 01-11-2007 08:54 PM

Removing certain forums from 'New Posts'
 
I have one particular part of the forum which is a very high post ratio. Is it possible to remove this section from being displayed in 'New Posts'

TIA!

sebbe 01-11-2007 09:13 PM

Inside Forum Manager you can disable "Index New Posts in Search Engine" per forum basis but that will also prevent users from searching in that forum.

Brad 01-11-2007 11:15 PM

The easy way to do this is just a simple modification to the new post link.

You can pass a list of forumids you want excluded from the new post search by using a link like this one;

Code:

http://www.forum.com/search.php?do=getnew&exclude=1
The above link would return all new posts except for posts listed in the forum that is forumid number 1.

You can also pass multiple forumids like so;

Code:

http://www.forum.com/search.php?do=getnew&exclude=1,2,3,4,5

josh_B 01-12-2007 05:38 AM

Quote:

Originally Posted by Brad (Post 1156631)
The easy way to do this is just a simple modification to the new post link.

You can pass a list of forumids you want excluded from the new post search by using a link like this one;

Code:

http://www.forum.com/search.php?do=getnew&exclude=1
The above link would return all new posts except for posts listed in the forum that is forumid number 1.

You can also pass multiple forumids like so;

Code:

http://www.forum.com/search.php?do=getnew&exclude=1,2,3,4,5

Where would that be inserted?

I have used sebbe's idea at the moment, so thanks for that :) Would like to be able to exlcude from the new post rather than stop the search function altogether..

Thanks for your time..

sebbe 01-12-2007 09:44 AM

I didn't know about the exclude, nice! :)

Josh, in the navbar template find this
HTML Code:

<a href="search.php?$session[sessionurl]do=getnew" accesskey="2">$vbphrase[new_posts_nav]</a>
and replace with this
HTML Code:

<a href="search.php?$session[sessionurl]do=getnew&amp;exclude=XX,XX,XX" accesskey="2">$vbphrase[new_posts_nav]</a>
Don't forget to change XX,XX,XX to the forums you want excluded.

josh_B 01-12-2007 12:43 PM

Thanks sebbe, lets see if I can break this like I do most things ;)

phaized 01-29-2007 01:38 PM

Just came across this, as i was about to ask the same question.
Thanks for the information. :)

plugplay 03-08-2007 04:18 PM

Is there any way to do it based on a user rather than a forum? I have RSS feeds into many forums and would find it easier to remove the user from the list.

cyberphr 03-08-2007 04:25 PM

Quote:

Originally Posted by Brad (Post 1156631)
The easy way to do this is just a simple modification to the new post link.

You can pass a list of forumids you want excluded from the new post search by using a link like this one;

Code:

http://www.forum.com/search.php?do=getnew&exclude=1
The above link would return all new posts except for posts listed in the forum that is forumid number 1.

You can also pass multiple forumids like so;

Code:

http://www.forum.com/search.php?do=getnew&exclude=1,2,3,4,5

A user could simply remove "&exclude", and view results from all forums...

Belgrael 12-29-2008 01:16 AM

This is really helpful but can someone tell me, if a parent forum is excluded does this cover the child forums or do they need to be specifically excluded as well?

Thanks.

EDIT: I have found the parent forum does not implicitly cover the child forums as well. Each forum has to be specifically excluded.


All times are GMT. The time now is 08:39 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.01166 seconds
  • Memory Usage 1,737KB
  • 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
  • (6)bbcode_code_printable
  • (2)bbcode_html_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete