Back to vBulletin 3.6 Add-ons

Change External.php To RSS Feed For One Forum Only
Mod Version: 1.00, by SBlueman

This modification is in the archives.
vB Version: 3.6.8 Rating: (0 vote - 0 average) Installs: 2
Released: 16 Dec 2007 Last Update: Never Downloads: 1
Not Supported Template Edits  

Step 1: Create a file called rss.php and add this to the file:
Code:
<?
header("Location: http://yoursite.com/forum_feed_address");
?>
Example: On my site this is the addess I have entered:
Code:
http://gridironfans.com/forums/external.php?type=RSS2&forumids=109&order=1
Step 2: Upload to your root directory folder (http://yoursite.com/")

Step 3: Template Edit:

AdminCP/Style Manager/All Style Options

In headerinclude:

Find:
Code:
<link rel="alternate" type="application/rss+xml" title="$vboptions[bbtitle] RSS Feed" href="external.php?type=RSS2" />
<if condition="$show['foruminfo'] OR $show['threadinfo']">
<link rel="alternate" type="application/rss+xml" title="$vboptions[bbtitle] - $foruminfo[title_clean] - RSS Feed" href="external.php?type=RSS2&amp;forumids=$foruminfo[forumid]" />
Change To:
Code:
<link rel="alternate" type="application/rss+xml" title="$vboptions[bbtitle] RSS Feed" href="http://yoursite.com/rss.php" />
<if condition="$show['foruminfo'] OR $show['threadinfo']">
<link rel="alternate" type="application/rss+xml" title="$vboptions[bbtitle] - $foruminfo[title_clean] - RSS Feed" href="http://yoursite.com/rss.php" />
(Don't forget to edit both instances of "http://yoursite.com/rss.php" to the correct path)

Download

No files for download.


vblts.ru supports vBulletin®, 2022-2025