Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 01-11-2007, 08:54 PM
josh_B josh_B is offline
 
Join Date: Jan 2007
Posts: 31
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default 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!
Reply With Quote
  #2  
Old 01-11-2007, 09:13 PM
sebbe's Avatar
sebbe sebbe is offline
 
Join Date: Feb 2006
Location: .se
Posts: 195
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #3  
Old 01-11-2007, 11:15 PM
Brad Brad is offline
 
Join Date: Nov 2001
Posts: 4,765
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #4  
Old 01-12-2007, 05:38 AM
josh_B josh_B is offline
 
Join Date: Jan 2007
Posts: 31
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Brad View Post
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..
Reply With Quote
  #5  
Old 01-12-2007, 09:44 AM
sebbe's Avatar
sebbe sebbe is offline
 
Join Date: Feb 2006
Location: .se
Posts: 195
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #6  
Old 01-12-2007, 12:43 PM
josh_B josh_B is offline
 
Join Date: Jan 2007
Posts: 31
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks sebbe, lets see if I can break this like I do most things
Reply With Quote
  #7  
Old 01-29-2007, 01:38 PM
phaized phaized is offline
 
Join Date: Jun 2006
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Just came across this, as i was about to ask the same question.
Thanks for the information.
Reply With Quote
  #8  
Old 03-08-2007, 04:18 PM
plugplay plugplay is offline
 
Join Date: Dec 2006
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #9  
Old 03-08-2007, 04:25 PM
cyberphr's Avatar
cyberphr cyberphr is offline
 
Join Date: Jul 2006
Location: Hell
Posts: 293
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Brad View Post
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...
Reply With Quote
  #10  
Old 12-29-2008, 01:16 AM
Belgrael Belgrael is offline
 
Join Date: Jan 2007
Posts: 47
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 04:17 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.06306 seconds
  • Memory Usage 2,264KB
  • Queries Executed 13 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (6)bbcode_code
  • (2)bbcode_html
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete