The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Problem with RSS2: multiple rss in the same page
Hello, I'm using this code:
http://www.vbulletin.com/forum/showt...g-an-RSS2-feed If I try to use it twice, I get this error: Quote:
|
#2
|
||||
|
||||
No one can help me?
|
#3
|
|||
|
|||
Each block like
Code:
function something() { ... ... } |
#4
|
||||
|
||||
Thank you, now it works! I have just one problem. In the second list, I get also the results of the first website. How can I solve this?
|
#5
|
|||
|
|||
You need to include
$rss2_output = ''; before you use the code the second time. |
#6
|
||||
|
||||
Aaah I've been looking for this, I'm also on the same lines as Triky was with duplicating the results, not sure how to solve it even though you said that I need to include the output before re-using the code again.
What I have so far is this: PHP Code:
|
#7
|
|||
|
|||
Try this:
PHP Code:
It would be better to put the code in a function where you pass the file name and return the string, but this should work. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|