vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Best way to exclude forums in new posts/todays posts? (https://vborg.vbsupport.ru/showthread.php?t=175561)

surfjunkey 04-08-2008 08:12 PM

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 :D

Lynne 04-08-2008 08:42 PM

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.

angusv 04-08-2008 09:05 PM

Quote:

Originally Posted by Lynne (Post 1486215)
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?

Lynne 04-08-2008 10:09 PM

Quote:

Originally Posted by angusv (Post 1486225)
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?

surfjunkey 04-09-2008 10:24 PM

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 :)

Alfa1 04-10-2008 12:43 AM

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.

surfjunkey 04-10-2008 05:18 PM

thanks mate these will help also for members :)

TimberFloorAu 06-19-2008 05:31 AM

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

ProAzn 10-04-2008 06:45 AM

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?

trigatch4 10-05-2008 10:49 PM

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)


All times are GMT. The time now is 05:40 PM.

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.01036 seconds
  • Memory Usage 1,738KB
  • 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
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete