Jump to content
  • 0

Help Add RSS to my Flux CP


Question

Posted (edited)

Hi guys, please help me with this. I want to show the "News" and "Events" in my Main page (FluxCP) i im using SMF forum but i really dont know how to do this:

 

0af8bd2fbf6ff8f2ee4f340dec29258c.png

 

Noticias = News

Eventos = Events

 

Please guys, some Help here. Thanks

Edited by eclud

12 answers to this question

Recommended Posts

  • 0
Posted

Stop stop stop. Smf provides the code you need without needing any 3rd Party code. Check out your SSI.php file in your forum root.

Stop trying to reinvent the well guys.

  • Upvote 1
  • 0
Posted

add the rss.xml in your web directory,

set the directory in the eadevconfig.php (i dont really remember the file, it might be not this)

 

refer to this site regarding rss

http://www.xul.fr/en-xml-rss.html

Thanks @benching

 

- Set the directory in the devconf:

 

6856d353160d6d9334464110d119dd1f.png

 

- refer to this site regarding rss

 

fff65bb3c3349bec9c8246130461a552.png

 

Thats ok? now, where i can get the "rss.xml" file, to upload it to my web directory?

 

Thanks again

  • 0
Posted (edited)

simply go download this file that is ref from main/eADevconfig.php http://www.xul.fr/rss.xml

 

then edit it as you like then upload it to your VPS or hosting or what ever you are using.

 

then edit it in main/eADevconfig.php 

 

'news'  => 'http://Your.url/rss.xml', // RSS News link
'updates'  => 'http://Your.url/rss.xml', // RSS Guide link
that's all. and p.s if you want separate event / news edit this file
 
main/index.php same file in folder eADevConfig
 
edit this 
<p>Events</p>
<?php
if ( $eADev['enablerss'] ):
echo RSS_Display($eADev['updates'], 10, 0, 0, 0);
endif;
?>

done

Edited by AsuraBro
  • 0
Posted

simply go download this file that is ref from main/eADevconfig.php http://www.xul.fr/rss.xml

 

then edit it as you like then upload it to your VPS or hosting or what ever you are using.

 

then edit it in main/eADevconfig.php 

 

'news'  => 'http://Your.url/rss.xml', // RSS News link
'updates'  => 'http://Your.url/rss.xml', // RSS Guide link
that's all. and p.s if you want separate event / news edit this file
 
main/index.php same file in folder eADevConfig
 
edit this 
<p>Events</p>
<?php
if ( $eADev['enablerss'] ):
echo RSS_Display($eADev['updates'], 10, 0, 0, 0);
endif;
?>

done

Thanks man i got it, but still have some problems, look i edit the part for "separate" but dont work:

 

a78c2d4a5961c41071652ccde779f992.png

 

Now, i can see the RSS in my main page but its show all my forum, not my news section! look image:

5082fdbe61059806d9bccb84d159fdd6.png

this show, news, quest, etc not only the news.

 

This is my confs:

97c5b6de9441985977e13a7ffd016830.png

 

I get the rss.xml froom the footer of my forum:

d75c85d0daf83dc3db6ca63a0fb086d6.png

 

Thanks a lot for the help and sorry for my english...

  • 0
Posted

 

simply go download this file that is ref from main/eADevconfig.php http://www.xul.fr/rss.xml

 

then edit it as you like then upload it to your VPS or hosting or what ever you are using.

 

then edit it in main/eADevconfig.php 

 

'news'  => 'http://Your.url/rss.xml', // RSS News link
'updates'  => 'http://Your.url/rss.xml', // RSS Guide link
that's all. and p.s if you want separate event / news edit this file
 
main/index.php same file in folder eADevConfig
 
edit this 
<p>Events</p>
<?php
if ( $eADev['enablerss'] ):
echo RSS_Display($eADev['updates'], 10, 0, 0, 0);
endif;
?>

done

Thanks man i got it, but still have some problems, look i edit the part for "separate" but dont work:

 

a78c2d4a5961c41071652ccde779f992.png

 

Now, i can see the RSS in my main page but its show all my forum, not my news section! look image:

5082fdbe61059806d9bccb84d159fdd6.png

this show, news, quest, etc not only the news.

 

This is my confs:

97c5b6de9441985977e13a7ffd016830.png

 

I get the rss.xml froom the footer of my forum:

d75c85d0daf83dc3db6ca63a0fb086d6.png

 

Thanks a lot for the help and sorry for my english...

 

 

make another rss.xml file

 

for ex one named news.xml , other one events.xml

  • 0
Posted

 

 

simply go download this file that is ref from main/eADevconfig.php http://www.xul.fr/rss.xml

 

then edit it as you like then upload it to your VPS or hosting or what ever you are using.

 

then edit it in main/eADevconfig.php 

 

'news'  => 'http://Your.url/rss.xml', // RSS News link
'updates'  => 'http://Your.url/rss.xml', // RSS Guide link
that's all. and p.s if you want separate event / news edit this file
 
main/index.php same file in folder eADevConfig
 
edit this 
<p>Events</p>
<?php
if ( $eADev['enablerss'] ):
echo RSS_Display($eADev['updates'], 10, 0, 0, 0);
endif;
?>

done

Thanks man i got it, but still have some problems, look i edit the part for "separate" but dont work:

 

a78c2d4a5961c41071652ccde779f992.png

 

Now, i can see the RSS in my main page but its show all my forum, not my news section! look image:

5082fdbe61059806d9bccb84d159fdd6.png

this show, news, quest, etc not only the news.

 

This is my confs:

97c5b6de9441985977e13a7ffd016830.png

 

I get the rss.xml froom the footer of my forum:

d75c85d0daf83dc3db6ca63a0fb086d6.png

 

Thanks a lot for the help and sorry for my english...

 

 

make another rss.xml file

 

for ex one named news.xml , other one events.xml

 

What about RSS only one section for example "news" and not all the forum? thanks

  • 0
Posted

 

-

 

you can simply remove the "updates".

 

try by your self util it work you'll figure it out

 

Thanks sir,im  almost got it. For example i can remove the "news" and add another thing, righ? but how to know the others sections? i mean, i just remove "news" and add "Actualizaciones" the title of my news forum but this dont show anythig. Where i can see what to put in that part? news, events, etc etc

 

Sorry i really suck on this, thanks again

  • 0
Posted

 

 

-

 

you can simply remove the "updates".

 

try by your self util it work you'll figure it out

 

Thanks sir,im  almost got it. For example i can remove the "news" and add another thing, righ? but how to know the others sections? i mean, i just remove "news" and add "Actualizaciones" the title of my news forum but this dont show anythig. Where i can see what to put in that part? news, events, etc etc

 

Sorry i really suck on this, thanks again

 

if you want to edit the text change this only, 

<p>Events</p>
<?php
if ( $eADev['enablerss'] ):
echo RSS_Display($eADev['updates'], 10, 0, 0, 0);
endif;
?>

Events > to anything

  • 0
Posted

 

 

 

-

 

you can simply remove the "updates".

 

try by your self util it work you'll figure it out

 

Thanks sir,im  almost got it. For example i can remove the "news" and add another thing, righ? but how to know the others sections? i mean, i just remove "news" and add "Actualizaciones" the title of my news forum but this dont show anythig. Where i can see what to put in that part? news, events, etc etc

 

Sorry i really suck on this, thanks again

 

if you want to edit the text change this only, 

<p>Events</p>
<?php
if ( $eADev['enablerss'] ):
echo RSS_Display($eADev['updates'], 10, 0, 0, 0);
endif;
?>

Events > to anything

 

Thanks i know, i mean this part:

 

echo RSS_Display($eADev['updates'], 10, 0, 0, 0);

 

ican remove the "updates" andthe main page will not show anything. Now if im add "updates" even "news" the main page will show all my latest forum post, what i want is show only one part of my forum, for example show only "News" what i need to put in:

 

echo RSS_Display($eADev['????????'], 10, 0, 0, 0);

 

To show others parts of my forum? news, downloads, information, etc

Cuz if im put, dowloads, or Noticias it show nothing

 

ffc06fc3560394cd168ff159aef13703.png

EDIT:

 

Finally i got this working. Thanks a looot guys

  • 0
Posted

Stop stop stop. Smf provides the code you need without needing any 3rd Party code. Check out your SSI.php file in your forum root.

Stop trying to reinvent the well guys.

well, thats how did mine,

just trying to help, thanks though /heh

 

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...