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 |
#112
|
|||
|
|||
How to integrate this in the forumhome in order to have the RSS icon inserted at the right of each category ?
|
#113
|
|||
|
|||
How can add rss icon to each Category on forumhome and Forumdisplay ?
pls help |
#114
|
|||
|
|||
Will this work in 3.6.7
|
#115
|
|||
|
|||
*installed* great!
vb 3.6.8, but I'd prefer to have these display at the forumhome template , too. Anyways, it's up and running on mine. Great work! |
#116
|
|||
|
|||
I looked in the plugin manager and I do not see forumsdisplay_start as a plugin. If I click add new plugin i can select it from the dropdown. SO where do I add this code.
if ($vbulletin->options['externalrss']) { $show['rss'] = true; } I added everything else fine but do not see the rss image. All other settings are correct. |
#117
|
|||
|
|||
Quote:
and add it where it says PHP code. |
#118
|
||||
|
||||
Well,
I tried hardly - probably i'm making something wrong. But i can't subscribe in rss readears and [finally] i test in other vbulletin install. and really don't works the message was Quote:
plugin is active, forumdisplay edited and... nothing. a example of link tks in advance beduino |
#119
|
|||
|
|||
Thank you works great!!
|
#120
|
||||
|
||||
Well...
mystery solved 1. i need open my site ... 2. this only works to public forums [of course...] maybe my errors can be useful to someone works great now all the best beduino Quote:
|
#121
|
|||
|
|||
Installed and 5 stared, picking it up downtown!!!!
Thanks Best Regards |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|