![]() |
Show RSS Feed Icon in each forum
So I wanted to add an image link to each forum for its unique RSS feed. This would allow people to subscribe to their favorite forums with their favorite News Reader instead of email. It would always be up to date and accurate.
There are three steps to doing this. First, I decided I needed a small plugin to determine if RSS was turned on within the forumdisplay template. Go to your plugin manager and add the following code to the "forumdisplay_start" plugin. PHP Code:
Find: HTML Code:
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center" style="border-bottom-width:0px"> HTML Code:
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center" style="border-bottom-width:0px"> Distibuted under the "Wayne License". You may modify to suit your needs, No Attribution Necessary, Redistribution allowed on sites which can verify legitimate vBulletin License Holders only. |
Hi
1st post :) now theres a 1st ;) Thanks for this...great little hack :) Bashy |
*bows down to mighty hacker. I HAVE BEEN WAITING FOR THIS! WOOOT!
|
HTML Code:
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center" style="border-bottom-width:0px"> |
nice hack I'll try it :)
|
Hehe thanks Wayne :)
I did requested this addon at vbulletin.com in August http://www.vbulletin.com/forum/showthread.php?t=151743 :) any chance the button is located on the left as in the image i've attached there ? tIA |
great idea Wayne :) i like it
|
Quote:
Below is the actual code that displays the button and creates the link. HTML Code:
<if condition="$show['rss']"> |
What is the feed supposed to look like..?
Iam missing some information in it: http://www.pagodentreff.de/diskussio...ss2&forumids=4 |
this is not working for ME
|
i am using 3.5.0 version, i have uploaded png icon, i have change the template and add the plugin, and activate the plugin
can u look my forum www.croportal.net/forum |
and in the page source i see only this
<link rel="alternate" type="application/rss+xml" title="Croportal forum RSS Feed" href="external.php?type=RSS" /> |
Nice and neat - thanks.
|
Quote:
|
yes i have
|
Post your forumdisplay template so I can look at it and verify that the plugin is installed under "forumdisplay_start". Do you have any other plugins installed under "forumdisplay_start"?
|
no i dont have, just you rss feed
PHP Code:
|
Quote:
|
Wayne,
Would the condition "<if condition="$vboptions['externalrss']">{code}</if>" work instead of using the plugin? |
For some reason it just open the RSS page and dont add it to my channels.. ?
How to add RSS feed to live channels ? Any ideas ? |
Quote:
|
Quote:
I would have to look at your AdminCP to get it working at this point though. |
Quote:
|
Quote:
|
I dont have a plugin called "forumdisplay_start" either.
????? |
You need to create a plugin called "forumdisplay_start", this is what I created and it seems to work:
Admincp>Plugin system> Add New Plugin Product: vBulletin Hook location: forumdisplay_start Title: "Check for RSS on/off for RSS feed icon on each forum" Plugin Php Code: PHP Code:
And then click on save. |
Thanks. Must have missed that in the instructions.
|
Works nicely - Thanks everyone!
|
Wayne,
I?ve tried to put this in the forums tools menu but for some reason it creates only the basic information of my forums - but no threadinfo?s. Code:
<rss version="2.0"> PHP Code:
Any idea ? |
Nice addition, Wayne.... I especially like the "Wayne Licence" comment :D
|
Hello wane..
we got it installed..and after install it we tried it to validate it.. http://validator.czweb.org/rss-feed.php We tried to use the url bellow for validate http://www.golpo.net/forum/external....s2&forumids=11 The result comes with a error result url bellow http://feedvalidator.org/check.cgi?u...orumids%3D11++ Quote:
XMl Validator seemed to be okay Quote:
RSS Validator the same url we tested Result comes with error:url bellow http://rss.scripting.com/?url=http%3...6forumids%3D11 Quote:
We are also using.. cinvin fps external.php https://vborg.vbsupport.ru/showthrea...ight=forum+rss How could we solve this problem?? Thankx |
Quote:
Sorry for the delay. I will try to look into this today, however my wife and I are going away on a four day weekend tomorrow so I might not get to it until Monday. Will have to look at it. You could try putting the conditional based on KW802's post above and bypass the plugin. |
Quote:
|
Thankx Wayne Luke ......
We will submit that....as a bug |
Is there a way to modify the RSS feed so it displays threads in order of most recent new post, rather than most recently created (so that it resembles the results of a "New Posts" search, rather than just being a list of threads sorted by creation date)?
|
Rated 5 and Installed..Very Handy Mod
|
Hello
BaconDelight & dbase Yeap its a too kool addons for vb....u install it... do u check it using any validator? |
Quote:
My issue is not with the hack, but with vB's RSS generation script. Let's say I have 5 threads, one of them started 2 days ago, the rest started today. Even if the most recent post on the forum is to teh thread starte 2 days ago, the other 4 threads are what show up first in the RSS feed because it sorts by creation time not time of most recent post. Is there any way to alter this (without adding too many queries)? |
/me installs
|
Quote:
a new updated fps_external.php has been relased here.....i am using it...it works...for forum(inside).... tho i have some other probs..validator cant valid...all the things |
All times are GMT. The time now is 04:57 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|