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 04-08-2008, 08:12 PM
surfjunkey surfjunkey is offline
 
Join Date: Feb 2008
Posts: 13
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Best way to exclude forums in new posts/todays posts?

Hi I have a bargain section, that recieves rss feeds 24 hours a day, its spamming the forums when people click on new threads/todays posts etc.
Members want the deals, but not all the new threads showing up!
Whats the best way to go about stopping these from showing when you click on today's posts/new threads(buttons)?
many thanks
Reply With Quote
  #2  
Old 04-08-2008, 08:42 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You can go into the navbar and find the new posts link and add "&exclude=x" where x is the forum not to include. Like this -
search.php?do=getnew&exclude=4

for excluding forum 4.
Reply With Quote
  #3  
Old 04-08-2008, 09:05 PM
angusv angusv is offline
 
Join Date: Dec 2007
Posts: 25
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Lynne View Post
You can go into the navbar and find the new posts link and add "&exclude=x" where x is the forum not to include. Like this -
search.php?do=getnew&exclude=4

for excluding forum 4.
I tried this and it doesn't work. Is it the same for 3.7?
Reply With Quote
  #4  
Old 04-08-2008, 10:09 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by angusv View Post
I tried this and it doesn't work. Is it the same for 3.7?
Well, it works perfectly fine on my test board running 3.7 beta 2. Perhaps you didn't put it in the right place?
Reply With Quote
  #5  
Old 04-09-2008, 10:24 PM
surfjunkey surfjunkey is offline
 
Join Date: Feb 2008
Posts: 13
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

maybe i did not either, I cannot seem to find the code this should be added to, is it in navbar template?

--------------- Added [DATE]1207784065[/DATE] at [TIME]1207784065[/TIME] ---------------

Doh my mistake, found it, amended as you said, works a charm, thank you very much
Reply With Quote
  #6  
Old 04-10-2008, 12:43 AM
Alfa1's Avatar
Alfa1 Alfa1 is offline
 
Join Date: Dec 2005
Location: Netherlands
Posts: 3,537
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

There is a hack that lets your member select which forums they want to have in new posts and which ones they do not want to have included.


https://vborg.vbsupport.ru/showthrea...rums+new+posts
https://vborg.vbsupport.ru/showthrea...rums+new+posts

Please use the search engine to find more.
Reply With Quote
  #7  
Old 04-10-2008, 05:18 PM
surfjunkey surfjunkey is offline
 
Join Date: Feb 2008
Posts: 13
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks mate these will help also for members
Reply With Quote
  #8  
Old 06-19-2008, 05:31 AM
TimberFloorAu's Avatar
TimberFloorAu TimberFloorAu is offline
 
Join Date: May 2008
Location: Brisbane
Posts: 2,264
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Worked a Treat.

Basically.

We amended it thus:

PHP Code:
"><a href="search.php?$session[sessionurl]do=getnew&exclude=39">$vbphrase[todays_posts]</a> 
Where 39 is forum id we wished to exclude.

Works a treat thanks guys
Reply With Quote
  #9  
Old 10-04-2008, 06:45 AM
ProAzn ProAzn is offline
 
Join Date: May 2007
Location: USA
Posts: 60
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm aware of this hack and have it downloaded. BUT how do you exclude a forum from the admin side so users don't have a choice to exclude it or not exclude it. That the forum is excluded from new posts permanently unless otherwise included by admin only not user?

Been pulling my hair out to find this. Did it before but having a brainfart right now. lol. I'm aware of the exclude code in editing the file method but there must be an easier way ..

Anyone?
Reply With Quote
  #10  
Old 10-05-2008, 10:49 PM
trigatch4 trigatch4 is offline
 
Join Date: Feb 2007
Posts: 90
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Three questions:

1) How do you exclude MULTIPLE categories?

2) How do you INCLUDE categories instead of EXCLUDING (say i want to only allow 2 out of 25 categories on new posts... INCLUDE would make more sense)

3) How do I include multiple categories (assumedly same approach as #1)
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 02:12 PM.


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.07907 seconds
  • Memory Usage 2,256KB
  • 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
  • (1)bbcode_php
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (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
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete