Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Show RSS Feed Icon in each forum Details »
Show RSS Feed Icon in each forum
Mod Version: 1.00, by Wayne Luke (Administrator) Wayne Luke is offline
Developer Last Online: Sep 2019 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 3.5.3 Rating: (10 votes - 4.40 average) Installs: 187
Released: 10 Jan 2006 Last Update: Never Downloads: 35
Not Supported Uses Plugins Template Edits Additional Files  

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.


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Next we will be editing the forumdisplay template itself.

Find:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

And replace with:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Finally the third step is to upload the attached image to represent your feed. If your site isn't set up to allow IE to view transparent backgrounds in PNG images, you will probably want to convert the image to a GIF format matted to your background.

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.

Download Now

Only licensed members can download files, Click Here for more information.

Screenshots

Click image for larger version

Name:	rssscreenie.gif
Views:	3352
Size:	6.6 KB
ID:	40775  

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
Forum Home Enhancements Show RSS Icon on Forum Home Mudvayne vBulletin 3.6 Template Modifications 66 27 May 2012 21:21
Mini Mods RSS Feed Icon for boards karim004 vBulletin 3.7 Template Modifications 137 25 Dec 2009 18:21
Forum Home Enhancements Show RSS Icon on Forum Home for subforums codehack vBulletin 3.6 Template Modifications 9 30 Nov 2008 20:41

  #91  
Old 20 Oct 2006, 15:28
perfphysio's Avatar
perfphysio perfphysio is offline
 
Join Date: Sep 2006
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.
I do not see this in my plugin manager (I am using 3.6.2) I see that some of my plugins are using this but I am now unclear about where to find the hook itself and therefore where to place the code. The only reference in my plugins are for products that are using the forumdisplay_start hook but not the actual plugin itself.

Can someone advise as I like this hack idea

Last edited by perfphysio; 20 Oct 2006 at 15:35.
Reply With Quote
  #92  
Old 21 Oct 2006, 15:40
AMG021 AMG021 is offline
 
Join Date: Sep 2006
Originally Posted by perfphysio
I do not see this in my plugin manager (I am using 3.6.2) I see that some of my plugins are using this but I am now unclear about where to find the hook itself and therefore where to place the code. The only reference in my plugins are for products that are using the forumdisplay_start hook but not the actual plugin itself.

Can someone advise as I like this hack idea
Dude just go to acp -> add new plugin > find in the hook forumdisplay_start -> tittle RSS -> PLugin active and then do the template
Reply With Quote
  #93  
Old 21 Oct 2006, 19:37
perfphysio's Avatar
perfphysio perfphysio is offline
 
Join Date: Sep 2006
ok I am using 3.6.2 and I think the layout is a bit different. e.g. the code shown below is now this on my forum:

<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"><if condition="$show['quicksearch']"><a href="$show[nojs_link]#goto_forumsearch" rel="nofollow">$vbphrase[search_this_forum]</a> <script type="text/javascript"> vbmenu_register("forumsearch"); </script><else /><a href="search.php?$session[sessionurl]f=$foruminfo[forumid]" rel="nofollow">$vbphrase[search_this_forum]</a></if></td>
</if>
</tr>
</table>

Should your code be altered to take into consideration the changes between the one in your post here and also the one I have posted above?

Also the only way to add something to the forumdisplay_start in the plugin is to edit a product that uses this and add it to that plugin. I assume this is correct as there doesn't appear to be any plugin for this actual hack itself.

Any more comments or direction appreciated.
Reply With Quote
  #94  
Old 22 Oct 2006, 00:56
Dexter_kcd Dexter_kcd is offline
 
Join Date: May 2005
Great little hack, thanks. I have a question though...

RSS will only send feeds of forums that are publicly viewable. I have some forums which are visible only to registered guests, and a couple of private forums for certain usergroups, plus staff forums, etc. I don't want the icon showing up in those forums, but this hack will add the RSS icon to every forum. How would I go about adding a conditional to not display this icon if the can't be viewed through RSS? I'm guessing an if forumid <> x,y,z or something like that, but I'm not clear exactly where I should try this or what I should try.

Any advice? Thanks.

Dexter...


/Edit: never mind, found a good hack for this here at Vb.org

Last edited by Dexter_kcd; 23 Jan 2007 at 21:44.
Reply With Quote
  #95  
Old 29 Oct 2006, 13:07
hotwheels hotwheels is offline
 
Join Date: May 2005
Real name: Doug
I just installed this mod and i found an error on my site that i didn't know existed......I am not seeing any error's on my website, but when i use this mod, and open up the .xml, i see this error:
<image>
<url>http://insanemustangs.com/forums//forums/images/misc/rss.jpg</url>
<title>Insane Forums - Insane Introductions</title>
<link>http://insanemustangs.com/forums</link>
</image>
........as you can see, forums comes up 2 time's in the image link. How can i fix that? I am not even sure where to begin looking to repair that........

Thanks..........I did ask at vbulletin.com but no answer of any sort.......hotwheels
Reply With Quote
  #96  
Old 30 Oct 2006, 07:44
EvilHawk EvilHawk is offline
 
Join Date: Feb 2005
Real name: Antonis
Originally Posted by hotwheels
I just installed this mod and i found an error on my site that i didn't know existed......I am not seeing any error's on my website, but when i use this mod, and open up the .xml, i see this error: ........as you can see, forums comes up 2 time's in the image link. How can i fix that? I am not even sure where to begin looking to repair that........

Thanks..........I did ask at vbulletin.com but no answer of any sort.......hotwheels
This hack has nothing to do with this problem...

Xmmmmm let it me guess, you have vBadvanced installed and your $stylevar['imgdir_misc'] is /forums/images/misc

it's a "bug" at external.php

open external.php and find :


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

replace it with:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


Last edited by EvilHawk; 30 Oct 2006 at 07:48.
Reply With Quote
  #97  
Old 01 Nov 2006, 16:38
hnjco hnjco is offline
 
Join Date: Jul 2006
Originally Posted by EvilHawk
Well unlucky for you, as you didn't look further down at the tempalte code ...
Thanks i'm lucky now and it worked.
Reply With Quote
  #98  
Old 09 Nov 2006, 01:48
hotwheels hotwheels is offline
 
Join Date: May 2005
Real name: Doug
No dice evilhawk, although i think that is the file that is causing the error.......

I am running phpportals instead of vbadvanced.......I tried the suggested changes, but it only brought me error's......thanks for the quick reply and the help.....

I still get the
<image>
<url>http://insanemustangs.com/forums//forums/images/misc/rss.jpg</url>
<title>Insane Forums - Insane Introductions</title>
<link>http://insanemustangs.com/forums</link>
</image>
error and also found that i am getting it anywhere it tries to attach an image:
<td><img class="inlineimg" src="http://insanemustangs.com/forums//forums/images/attach/jpg.gif"
Reply With Quote
  #99  
Old 11 Nov 2006, 16:16
hotwheels hotwheels is offline
 
Join Date: May 2005
Real name: Doug
bump
Reply With Quote
  #100  
Old 12 Nov 2006, 10:02
EvilHawk EvilHawk is offline
 
Join Date: Feb 2005
Real name: Antonis
I can't see this error at your forums rss feed code ...
Anyway vB 3.6.3 solves this problem .
Reply With Quote
  #101  
Old 15 Nov 2006, 05:03
bada_bing's Avatar
bada_bing bada_bing is offline
 
Join Date: Feb 2004
Re: Show RSS Feed Icon in each forum

Tried to install this on my vb 3.5.3 site and had no luck. I did exactly what the instructions say and I could not get the rss icon to show up.. Any one help me with this or experiance the same issue and how to fix this.. Really like to install this
Reply With Quote
  #102  
Old 15 Nov 2006, 18:07
voteforbird's Avatar
voteforbird voteforbird is offline
 
Join Date: Jul 2006
Same, bada.
Reply With Quote
  #103  
Old 22 Nov 2006, 03:04
coffee's Avatar
coffee coffee is offline
 
Join Date: Oct 2002
It's still working perfectly on 3.6.4

Could you please add this little icon to "Forumhome"?
__________________
-

Last edited by coffee; 26 Nov 2006 at 12:30.
Reply With Quote
  #104  
Old 26 Nov 2006, 04:25
bada_bing's Avatar
bada_bing bada_bing is offline
 
Join Date: Feb 2004
Originally Posted by bada_bing View Post
Tried to install this on my vb 3.5.3 site and had no luck. I did exactly what the instructions say and I could not get the rss icon to show up.. Any one help me with this or experiance the same issue and how to fix this.. Really like to install this
Anyone help with this?
Reply With Quote
  #105  
Old 23 Jan 2007, 20:40
arena's Avatar
arena arena is offline
 
Join Date: Oct 2006
Thank you
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 19:06.

Layout Options | Width: Wide Color: