vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   Forum Display Enhancements - Remove RSS feeds from active topics / todays posts (https://vborg.vbsupport.ru/showthread.php?t=178732)

EcoForumZ 05-09-2008 10:00 PM

Remove RSS feeds from active topics / todays posts
 
This mod with prevent RSS feeds from showing up in active topics and todays posts. A must have if you download RSS feeds to your forum.

This has been tested in VB 3.5, 3.6, and 3.7

Create a plugin in admincp and fill in the below fields

Product = Vbulletin
Hook Location = search_start
Title = "anything you like"
Execution Order = 5
Plugin PHP Code = See below for details

*** To remove single forum ***
Replace 86 with the forum ID you wish to exclude.

$_REQUEST['exclude'] .= ',86';

*** To remove multiple forums ***
Replace 86,88,89,93 with the forum ID's you wish to exclude seperated by a comma ","

$_REQUEST['exclude'] .= ',86,88,89,93';

Please Note: You must begin your list of domain ID's with a comma ","

Bexter 05-10-2008 04:45 PM

Great idea :D

Much easier then editing the templates to adapt to it. Now I dont need to worry about adding a new skin either :)

Thanks :D

David_R 05-15-2008 12:32 PM

whats the use of this ? i a unable to understand ?

EcoForumZ 05-17-2008 01:06 AM

Quote:

Originally Posted by David_R (Post 1520421)
whats the use of this ? i a unable to understand ?

If you use RSS feeds you will notice that when you go to active topics or todays posts that the RSS feeds are listed with the new threads, newly replied to threads, and active topics. Most users don't want to know about new RSS feeds and are more interested in new user based activity so this resolves that issue. If you pull RSS feeds onto your site then I would highly recommend using this mod.

GoodKarmaKid 05-24-2008 02:49 AM

Works good on VB 3.7 with one exception. I'm not sure if it's because I'm using a custom skin with a member panel instead of the standard vb skin or what.

I used to use "search.php?do=getnew&exclude=1,2,3,4,"

I like your method much better, cause I don't have to edit the template

The problem I'm running into is that the Total count of unread messages is still including the excluded posts. See photo below


Where it says "You Have X Unread Posts" it is including the excluded posts, when I click on "Unread Posts" it does properly exclude the forums listed in the plugin.

My question is: How can I get that number to accurately match the true # of Unread posts when factoring in the "excluded" posts??

Thanks,
Jason

CFodder 06-02-2008 11:07 AM

Bloody brilliant, members have been pestering us to remove the RSS Feeds from the new posts and now it's done :).

Greek76 06-02-2008 11:09 AM

I installed it and it had a negative affect on my forum. Took it off...

Bexter 06-02-2008 08:10 PM

Could this code be edited to instead of excluding a forum, it excludes a member - their topics - from showing up in the results?
I have a gadgets section on my forum where gadget feeds are sent from my own gadget website but there are other posts made in there as well from users.

drsli 07-17-2008 08:01 PM

Thousands of thanks to you, I looked around for almost 2 hours and found your solution at last, which resolved my issue. :)

cdnbacon 07-25-2008 07:24 AM

I agree. THIS IS A GOLDEN ADDON! Was very much needed.


All times are GMT. The time now is 07:20 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.01908 seconds
  • Memory Usage 1,729KB
  • 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_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