View Full Version : Forum Display Enhancements - Remove RSS feeds from active topics / todays posts
EcoForumZ
05-09-2008, 10:00 PM
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
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
https://vborg.vbsupport.ru/external/2008/05/31.jpg
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.
atcspaul
06-29-2009, 11:44 AM
just what the doctor ordered. thank you. this works on 3.8.3 also
VonDoom
07-24-2009, 12:38 AM
Installed. Wow cant believe this isnt default behaviour. A+ Stuff
TrIn@dOr
08-08-2009, 06:24 PM
Anybody knows how to do the same, but on welcomeblock.php on the unread post part of VBA CMPS?
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.