![]() |
RSS reader to display more the 1 forum RSS feed
PHP Code:
i want to make it like PHP Code:
Can someone help me,i have no ideea about php scripting. Thank you. |
I haven't changed my core files, what i have done is add an rss link in each forums description like this
HTML Code:
http://www.mysite.com/forum/external.php?type=rss2&forumids=40 |
well that wont be ussefull since i want to disaply data separate on the custom HTML page i have.
|
Try this:
PHP Code:
|
tryed it but now it doesent display any data.
BTW this is how it output`s the feed PHP Code:
|
Oh, sorry. Near the top, "$rss_files[] = array( " should be:
Code:
$rss_files = array( The script you originally posted outputs some code using "echo" - if you're using this in a vb page then it looks like you'd probably just want to remove those parts. |
This is my current file
PHP Code:
As you may se in the page only the second rrs feed is loaded. And i would like to display them separated like PHP Code:
Thank you for your intereset in helping me untill now.I much appreciate it. |
bump
|
The config part at the top should be:
Code:
$rss_files = array( If you really want a separate variables for each feed it will require more changes, but you shouldn't really need that because if you want them separated in some way, you can add some html inside the loop. |
Well that worked.Thank you very much.
Now can you tell me how to separate them in the loop? Thank you again. |
Well, what were you thinking about? Do you just want some space between them or do you want some type of header saying what the feed is?
|
well if it could have some header saying this is news this is events it will be perfect.
|
OK, you could do something like this:
Code:
<?php I just took the table tags from the end_element function, but if you want it to look different you'll have to figure out the html for it (and change the "$rss_output = " line at the beginning of the foreach loop). |
Thank you very much.I will try to improve now the visual of it.
--------------- Added [DATE]1343173125[/DATE] at [TIME]1343173125[/TIME] --------------- But one problem,if you look here http://cabal.elitegamers.co/ the [Ended] Boss/drop event show more post dates.How do i fix that? |
In the foreach loop, change:
Code:
$link = ''; Code:
$link = ''; (add the $date = ''; after the $link line). |
Fixed.
Now another thig is that [Ended] Boss/drop event is created before the [In progress] New Advertise banner for EGCabal Online post and its closed to.Why it appears as the first and current one? |
That's the order they are in the feed, and the post date of the first [ended] one is later than the [in progress] one, so I'm not sure what you can do about that.
|
o ok.Thank you very much.
|
All times are GMT. The time now is 04:51 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|