The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
How can I integrate a RSS feed into a VB forum. I have a section on the right of the forums for news and would like to include this news feed:
http://www.php.net/news.rss How can I do that? Thanks |
|
#2
|
||||
|
||||
|
lol...
actually i would like that too very much
|
|
#3
|
|||
|
|||
|
If I understand you correctly, there is already a hack released for this issue:
https://vborg.vbsupport.ru/showthread.php?t=60899 [Edit: Cleaning up some outdated information....] |
|
#4
|
||||
|
||||
|
Hmm... i don't want it in a forum though, just the url in a sidebar left menu.
I saw that hack, but it sounds uber complicated to me with bots posting, while all i need it the url added to a menu. Isn't there an easier way? |
|
#5
|
|||
|
|||
|
I'm looking for this as well. I'd like to include an RSS feed on each forum page in the right-hand space beside the logo in the header. I have a PHP XML parser (ONYX-RSS), but not sure how to go about including it properly.
|
|
#6
|
||||
|
||||
|
CARP will do everything you need.
|
|
#7
|
||||
|
||||
|
Hmm, carp does sound nice.
I'll check it out tomorrow, thanks for the tip! |
|
#8
|
|||
|
|||
|
Quote:
|
|
#9
|
||||
|
||||
|
Quote:
Code:
ob_start();
require("path/to/show_news.php");
$news = ob_get_contents();
ob_end_clean();
|
|
#10
|
||||
|
||||
|
to get the RSS feed for a specific forum you must first turn on the external.php option in your admincp via vb options. then to include a link to the forum's RSS feed by simply including this url in the forumdisplay template:
HTML Code:
<a href="$vboptions[bburl]/external.php?type=RSS&f=$foruminfo[forumid]">$foruminfo[title] RSS</a> ![]() HTML Code:
<link rel="alternate" type="application/rss+xml" title="$vboptions[bbtitle] - $foruminfo[title]" href="$vboptions[bburl]/external.php?type=RSS&f=$foruminfo[forumid]" />
|
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|