The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Show RSS Feed Icon in each forum Details »» | |||||||||||||||||||||||||||
Show RSS Feed Icon in each forum
Developer Last Online: Oct 2023
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"> <tr> <td class="tcat" width="100%">$vbphrase[threads_in_forum]<span class="normal"> : $foruminfo[title]</span></td> <td class="vbmenu_control" id="forumtools" nowrap="nowrap"><a href="$show[nojs_link]#goto_forumtools" rel="nofollow">$vbphrase[forum_tools]</a> <script type="text/javascript"> vbmenu_register("forumtools"); </script></td> <if condition="$show['forumsearch']"> <td class="vbmenu_control" id="forumsearch" nowrap="nowrap"><a href="$show[nojs_link]#goto_forumsearch" rel="nofollow">$vbphrase[search_this_forum]</a> <script type="text/javascript"> vbmenu_register("forumsearch"); </script></td> </if> </tr> </table> HTML Code:
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center" style="border-bottom-width:0px"> <tr> <td class="tcat" width="100%">$vbphrase[threads_in_forum]<span class="normal"> : $foruminfo[title]</span></td> <td class="vbmenu_control" id="forumtools" nowrap="nowrap"><a href="$show[nojs_link]#goto_forumtools" rel="nofollow">$vbphrase[forum_tools]</a> <script type="text/javascript"> vbmenu_register("forumtools"); </script></td> <if condition="$show['forumsearch']"> <td class="vbmenu_control" id="forumsearch" nowrap="nowrap"><a href="$show[nojs_link]#goto_forumsearch" rel="nofollow">$vbphrase[search_this_forum]</a> <script type="text/javascript"> vbmenu_register("forumsearch"); </script></td> </if> <if condition="$show['rss']"> <td class="tcat"><a href="external.php?type=rss2&forumids=$foruminfo[forumid]"><img class="inlineimg" src="$stylevar[imgdir_misc]/feed_icon.png" height="14" width="14" alt="Feed Icon" title="Subscribe to $foruminfo[title]'s RSS Feed"></a></td> </if> </tr> </table> 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. Show Your Support
|
Comments |
#32
|
||||
|
||||
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 |
#33
|
||||
|
||||
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. |
#34
|
||||
|
||||
Quote:
|
#35
|
||||
|
||||
Thankx Wayne Luke ......
We will submit that....as a bug |
#36
|
|||
|
|||
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)?
|
#37
|
|||
|
|||
Rated 5 and Installed..Very Handy Mod
|
#38
|
||||
|
||||
Hello
BaconDelight & dbase Yeap its a too kool addons for vb....u install it... do u check it using any validator? |
#39
|
|||
|
|||
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)? |
#40
|
||||
|
||||
/me installs
|
#41
|
||||
|
||||
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 |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|