Jump to content
  • 0

How to get RSS news feed from my IPB to fluxcp


Question

Posted

Hi

I'm trying to put RSS news feed in my fluxcp. I have IPboard 4.2.5

I tried doing settings > content discovery > create new 

I get this but not sure where to put it

<rss version="2.0">
<channel>
<title>Last news and updates</title>
<link>
http://www.server-ro.com/forum/index.php?/forum/17-news-and-updates/
</link>
<description>Last news and updates asd</description>
<language/>
<item>
<title>jkdasjkhasd</title>
<link>
http://www.server-ro.com/forum/index.php?/topic/11-jkdasjkhasd/
</link>
<description>
<![CDATA[ <p> adsads </p> ]]>
</description>
<guid isPermaLink="false">11</guid>
<pubDate>Fri, 19 Jan 2018 10:51:00 +0100</pubDate>
</item>
</channel>
</rss>

I also follow these

https://rathena.org/board/topic/67027-rss2news-for-fluxcp/ (not working)

 https://rathena.org/board/topic/109454-integrating-invision-power-board-with-flux-cp/ (added to application.php and not working)

also modified themes/default/main/index.php (nothing happens)

 

I'm like super confused @_@

could someone help me here?

/thx 

 

 

 

3 answers to this question

Recommended Posts

  • 0
Posted

The only config you need to modify is in /config/application.php about half way down the file and change the new display option from built-in to rss feed. It'll then display the rss feed that you paste into the config for feed url. You don't need to modify anything else unless you want to change the layout of the feed.

If you're using a theme developed by someone and they provide an alternative rss feed solution, you will find this setting in their config file instead of the main fluxcp application.php file.

  • 0
Posted (edited)
5 hours ago, Akkarin said:

The only config you need to modify is in /config/application.php about half way down the file and change the new display option from built-in to rss feed. It'll then display the rss feed that you paste into the config for feed url. You don't need to modify anything else unless you want to change the layout of the feed.

If you're using a theme developed by someone and they provide an alternative rss feed solution, you will find this setting in their config file instead of the main fluxcp application.php file.

I changed the value in config/application.php AND the page CMSnewsRSS and nothing happens

I went into my theme in eADevconfig.php and tried in every xml code that said rss, nothing changes

tried in index.php in main folder from my theme and changed the value from '$rss->' and added rAthena news feed, it loads a bunch of random letters without any format (goes out of the page)

thanks for the help, i give up. you can close /ene

Edited by Rolf
  • 0
Posted

See, the part where you're going wrong is changing things that shouldn't be changed. You can't change variables like $rss and still expect the feed to display.

Once you've changed the appropriate config values, check to see if it works. If it doesn't work, then you can post here with the code you've got and someone can try to help you - no one in their right might will try to undo all of your unnecessary changes :/ use clean unmodified code, change the configs, then post your code here and i'll have a look.

  • Recently Browsing   0 members

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