eclud Posted December 5, 2015 Posted December 5, 2015 (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: Noticias = News Eventos = Events Please guys, some Help here. Thanks Edited December 6, 2015 by eclud
0 Akkarin Posted December 5, 2015 Posted December 5, 2015 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. 1
0 benching Posted December 5, 2015 Posted December 5, 2015 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
0 eclud Posted December 5, 2015 Author Posted December 5, 2015 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: - refer to this site regarding rss Thats ok? now, where i can get the "rss.xml" file, to upload it to my web directory? Thanks again
0 AsuraBro Posted December 5, 2015 Posted December 5, 2015 (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 December 5, 2015 by AsuraBro
0 eclud Posted December 5, 2015 Author Posted December 5, 2015 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: Now, i can see the RSS in my main page but its show all my forum, not my news section! look image: this show, news, quest, etc not only the news. This is my confs: I get the rss.xml froom the footer of my forum: Thanks a lot for the help and sorry for my english...
0 AsuraBro Posted December 5, 2015 Posted December 5, 2015 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: Now, i can see the RSS in my main page but its show all my forum, not my news section! look image: this show, news, quest, etc not only the news. This is my confs: I get the rss.xml froom the footer of my forum: 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 eclud Posted December 5, 2015 Author Posted December 5, 2015 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: Now, i can see the RSS in my main page but its show all my forum, not my news section! look image: this show, news, quest, etc not only the news. This is my confs: I get the rss.xml froom the footer of my forum: 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 AsuraBro Posted December 5, 2015 Posted December 5, 2015 - you can simply remove the "updates". try by your self util it work you'll figure it out
0 eclud Posted December 5, 2015 Author Posted December 5, 2015 - 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 AsuraBro Posted December 5, 2015 Posted December 5, 2015 - 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 eclud Posted December 5, 2015 Author Posted December 5, 2015 - 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 EDIT: Finally i got this working. Thanks a looot guys
0 benching Posted December 8, 2015 Posted December 8, 2015 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
Question
eclud
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:
Noticias = News
Eventos = Events
Please guys, some Help here. Thanks
Edited by eclud12 answers to this question
Recommended Posts