vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=192)
-   -   Forum Home Enhancements - Show RSS Icon on Forum Home (https://vborg.vbsupport.ru/showthread.php?t=141329)

Mudvayne 03-05-2007 10:00 PM

Show RSS Icon on Forum Home
 
Title: Show RSS Icon with RSS2 Link to Each Forum on Forum Home

Author: Icy @ Golpo Community Forum.

Description: This will add RSS Icon to Each Forum on Forum Home with RSS2 Links.

Live Demo: Golpo Community Forum.

How Do I Install: Upload the rss.gif into ./images/misc/ directory. Then go to Admin Control Panel > Styles & Templates > Style Manager. Then in forumhome_forumbit_level2_post template search for:
HTML Code:

            <a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]"><strong>$forum[title]</strong></a>
Add above:
HTML Code:

            <a href="external.php?type=rss2&forumids=$forum[forumid]"><img src="images/misc/rss.gif" border="0" align="right" alt="RSS Feed for $forum[title]" /></a>
Attention:For those who are getting blank page, Please enable RSS Syndication option in Admin Control Panel > vBulletin Options > External Data Provider

Compatibility: This will work for all vB 3.5.x & 3.6.x version.

Please if you are using this modification then don't forget to click install.

Note:
As the title says this modification is for forum home only. However you can simply apply the same change to forumhome_forumbit_level1_post template for sub forum. But for the best result I prefer Show RSS Feed Icon in each forum for sub forum :)

P.S. If anyone want me to install this & Wayne Luke's modification for him/her then PM Icy with a temporary admin access as I don't use this nick (Mudvayne) anymore.

Lizard King 03-06-2007 07:41 PM

There is a small code problem. You shall change the inserted text to
Code:

        <div>
                        <a href="external.php?type=rss2&forumids=$forum[forumid]"><img src="images/misc/rss.gif" border="0" nosave align="right" /></a>
                        <a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]"><strong>$forum[title]</strong></a>


Mudvayne 03-06-2007 08:49 PM

Thanks. Instruction updated.

Joe Gronlund 03-07-2007 02:42 PM

Hello, is this hack supposed to show the RSS logo just on the sites that are bringing in RSS feeds?

For some reason, it is showing the RSS logo on all my forums??

http://www.microsoftliveforums.com/forums/index.php

Thanks

firstrebel 03-07-2007 03:24 PM

I use THIS

Bob

Mudvayne 03-07-2007 05:36 PM

Quote:

Originally Posted by Joe Gronlund (Post 1198041)
Hello, is this hack supposed to show the RSS logo just on the sites that are bringing in RSS feeds?

Nop. This will show the RSS icon on each forum.
Quote:

Originally Posted by firstrebel (Post 1198078)
I use THIS

Bob

Some how I missed it. I use Show RSS Feed Icon in each forum by Wayne Luke. Then I thought I could show RSS on Forum Home. So I did it & share it.

SnitchSeeker 03-14-2007 01:48 PM

This is exactly what I was looking for. Cheers!

I'll install it later today. Thanks! :)

SnitchSeeker 03-14-2007 08:05 PM

Love it. Clicked install. But I noticed some invalid HTML in your code.

Replace the inserted text with this:
Code:

                <div>
                        <a href="external.php?type=rss2&forumids=$forum[forumid]"><img src="images/misc/rss.gif" border="0" nosave align="right" alt="RSS feed for this forum" /></a>
                        <a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]"><strong>$forum[title]</strong></a>

PS. I noticed that Lizard King pointed out the same thing in his post. Mine is like his but included an alt tag for the image that tells users it's an rss feed.

Clicked install. But please update your zipped file and first post especially (since that's what I used instead of the bb-coded text file).

Thanks! :)

SnitchSeeker 03-14-2007 08:48 PM

Sorry to triple-post. I have a question this time.

Could anybody help code it so the RSS feeds only show up for forums that all users have access to? I noticed the feeds don't work on any other forum. At least not for me.

For example, our mod or admin-only forums return blank feeds.

Mudvayne 03-15-2007 02:22 AM

Thanks SnitchSeeker zip file updated. I guess that would require a plugin.


All times are GMT. The time now is 10:02 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
  • Page Generation 0.01087 seconds
  • Memory Usage 1,740KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (2)bbcode_html_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete