clydelion Posted July 6, 2012 Group: Members Topic Count: 17 Topics Per Day: 0.00 Content Count: 754 Reputation: 186 Joined: 05/22/12 Last Seen: October 15, 2022 Share Posted July 6, 2012 (edited) File Name: rss2news File Submitter: clydelion File Submitted: 06 Jul 2012 File Category: Web Resources Content Author: clydelion a.k.a. Rad/Skullcandy This addon for FluxCP enables the control panel to retrieve rss feeds. rss2news utilizes MagpieRSS to integrate FluxCP with IPB(and other forums that can generate RSS 2.0) and tinyscrollbar for neat display of news. Requirement: FluxCP RSS 2.0 The sample below retrieves news from a live rss feed. News Source : 'http://www.gmanetwork.com/news/rss/news' Screenshot: config: 'NewsUrl' => 'http://www.gmanetwork.com/news/rss/news', 'scrollbarbuttonsize' => '30', // WARNING! scrollbarbuttonsize must be less that scrollbarsize 'scrollbarsize' => '100', Reference: http://magpierss.sourceforge.net http://baijs.nl/tinyscrollbar/ For suggestions contact me via forums or messenger. yahooid: [email protected] To use, edit this... themes/default/main/index.php should look like.. <?php if (!defined('FLUX_ROOT')) exit; $this->redirect($this->url('news','index')); ?> Thank you for using this add-on.. rss2news by clydelion is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License. Click here to download this file Edited July 24, 2012 by clydelion 5 Link to comment Share on other sites More sharing options...
Wise Posted July 6, 2012 Group: Members Topic Count: 46 Topics Per Day: 0.01 Content Count: 147 Reputation: 26 Joined: 11/19/11 Last Seen: October 28, 2021 Share Posted July 6, 2012 (edited) how do you make your IPB an RSS feed? Solved. Thanks! it really worked Edited July 7, 2012 by Zeref Link to comment Share on other sites More sharing options...
clydelion Posted July 7, 2012 Group: Members Topic Count: 17 Topics Per Day: 0.00 Content Count: 754 Reputation: 186 Joined: 05/22/12 Last Seen: October 15, 2022 Author Share Posted July 7, 2012 Added a screenshot for a better preview.. TODO: Add a facebook-like updating of news feed.. (not necessary if you do not update every hour but will make a better user-experience) Link to comment Share on other sites More sharing options...
jTynne Posted July 7, 2012 Group: Members Topic Count: 33 Topics Per Day: 0.01 Content Count: 399 Reputation: 199 Joined: 11/09/11 Last Seen: December 14, 2020 Share Posted July 7, 2012 If you got this working with SMF, I'd cream my pants. Sexy overall! Just not all of us can afford IPB. qq Link to comment Share on other sites More sharing options...
clydelion Posted July 7, 2012 Group: Members Topic Count: 17 Topics Per Day: 0.00 Content Count: 754 Reputation: 186 Joined: 05/22/12 Last Seen: October 15, 2022 Author Share Posted July 7, 2012 (edited) Actually it is working with SMF Change the NewsURL to this for SMF 'NewsUrl' => 'http://www.yourwebsite.com/forum/index.php?action=.xml;sa=news;board=1;limit=10', change the values accordingly.. limit=x - display only "x" items board=y - display only news topics from board "y" Edited July 7, 2012 by clydelion Link to comment Share on other sites More sharing options...
Kai Posted July 21, 2012 Group: Members Topic Count: 11 Topics Per Day: 0.00 Content Count: 16 Reputation: 0 Joined: 01/18/12 Last Seen: March 20, 2018 Share Posted July 21, 2012 (edited) Tried and tested. http://jarro.asuraho...cp/?module=news thanks rad! 100% working! Edited July 21, 2012 by Sure Link to comment Share on other sites More sharing options...
KingMez Posted July 21, 2012 Group: Members Topic Count: 2 Topics Per Day: 0.00 Content Count: 33 Reputation: 5 Joined: 04/23/12 Last Seen: May 28, 2020 Share Posted July 21, 2012 do you know it about woltlab? it would help much Link to comment Share on other sites More sharing options...
clydelion Posted July 22, 2012 Group: Members Topic Count: 17 Topics Per Day: 0.00 Content Count: 754 Reputation: 186 Joined: 05/22/12 Last Seen: October 15, 2022 Author Share Posted July 22, 2012 This modification is compatible with IPB, SMF, Facebook Page News, and any software that generates RSS 2.0 feeds. Link to comment Share on other sites More sharing options...
Akkarin Posted July 23, 2012 Group: Forum Manager Topic Count: 282 Topics Per Day: 0.06 Content Count: 3144 Reputation: 1630 Joined: 03/26/12 Last Seen: Saturday at 06:27 PM Share Posted July 23, 2012 You're a genius - exactly what i was looking for! SMF is easy enough to integrate to a page as their SSI file is very helpful, however IPB has been giving me a headache for the last 2 days with no light at the end of the tunnel :/ <3 Link to comment Share on other sites More sharing options...
clydelion Posted July 23, 2012 Group: Members Topic Count: 17 Topics Per Day: 0.00 Content Count: 754 Reputation: 186 Joined: 05/22/12 Last Seen: October 15, 2022 Author Share Posted July 23, 2012 It's not that hard really.. You can export RSS from the admin menu of IPB.. check out the screenie. Link to comment Share on other sites More sharing options...
Akkarin Posted July 23, 2012 Group: Forum Manager Topic Count: 282 Topics Per Day: 0.06 Content Count: 3144 Reputation: 1630 Joined: 03/26/12 Last Seen: Saturday at 06:27 PM Share Posted July 23, 2012 I got that far i just didn't know what to do with the data once i had it lol Link to comment Share on other sites More sharing options...
aluze Posted July 24, 2012 Group: Members Topic Count: 1 Topics Per Day: 0.00 Content Count: 7 Reputation: 0 Joined: 07/05/12 Last Seen: August 20, 2012 Share Posted July 24, 2012 (edited) I'm trying to get it to work on my control panel with IPB feed, the default url does not work either. all what i see is a blank page. control panels works fine though. Edited July 24, 2012 by aluze Link to comment Share on other sites More sharing options...
clydelion Posted July 24, 2012 Group: Members Topic Count: 17 Topics Per Day: 0.00 Content Count: 754 Reputation: 186 Joined: 05/22/12 Last Seen: October 15, 2022 Author Share Posted July 24, 2012 I tested this on latest FluxCP/Renewal FluxCP. What are you using? Link to comment Share on other sites More sharing options...
aluze Posted July 24, 2012 Group: Members Topic Count: 1 Topics Per Day: 0.00 Content Count: 7 Reputation: 0 Joined: 07/05/12 Last Seen: August 20, 2012 Share Posted July 24, 2012 I'm using pre-renewal with latest fluxcp from their google page. Link to comment Share on other sites More sharing options...
clydelion Posted July 24, 2012 Group: Members Topic Count: 17 Topics Per Day: 0.00 Content Count: 754 Reputation: 186 Joined: 05/22/12 Last Seen: October 15, 2022 Author Share Posted July 24, 2012 did you edit themes/<YOUR THEME>/main/index.php ? it should look like this <?php if (!defined('FLUX_ROOT')) exit; $this->redirect($this->url('news','index')); ?> Link to comment Share on other sites More sharing options...
Decimal Posted July 25, 2012 Group: Members Topic Count: 9 Topics Per Day: 0.00 Content Count: 44 Reputation: 5 Joined: 02/07/12 Last Seen: April 8, 2014 Share Posted July 25, 2012 It works perfectly fine with my IP.Board 3.2.3! Thank you very much! Link to comment Share on other sites More sharing options...
clydelion Posted July 25, 2012 Group: Members Topic Count: 17 Topics Per Day: 0.00 Content Count: 754 Reputation: 186 Joined: 05/22/12 Last Seen: October 15, 2022 Author Share Posted July 25, 2012 That's good to know Decimal. You can also use this in your facebook page if you have one. Link to comment Share on other sites More sharing options...
Decimal Posted July 27, 2012 Group: Members Topic Count: 9 Topics Per Day: 0.00 Content Count: 44 Reputation: 5 Joined: 02/07/12 Last Seen: April 8, 2014 Share Posted July 27, 2012 (edited) Hi, I've a problem with permission. For some reason I can only see the News & Update with my admin acc. This is how my access.php is set up; return array( 'modules' => array( 'ipbrss' => array( 'index' => AccountLevel::ANYONE, ), ), ) Do I need to configure something else? Besides addons > rss2news > config > access.php? Edited July 27, 2012 by Decimal Link to comment Share on other sites More sharing options...
clydelion Posted July 27, 2012 Group: Members Topic Count: 17 Topics Per Day: 0.00 Content Count: 754 Reputation: 186 Joined: 05/22/12 Last Seen: October 15, 2022 Author Share Posted July 27, 2012 lol, I forgot to change ipbrss to news before uploading.. make that 'news' => array( Link to comment Share on other sites More sharing options...
Decimal Posted July 27, 2012 Group: Members Topic Count: 9 Topics Per Day: 0.00 Content Count: 44 Reputation: 5 Joined: 02/07/12 Last Seen: April 8, 2014 Share Posted July 27, 2012 (edited) Odd. Even admin acc doesn't work now. return array( 'modules' => array( 'news' => array( 'index' => AccountLevel::ANYONE, ), ), ) Or am I doing something wrong? //Edit: Alright! I figured out that the problem was a conflict with an AddOn (CMS AddOn made by CalciumKid) that I had installed; I uninstalled the AddOn and now your AddOn works perfectly fine. Sorry for the trouble caused! Edited July 28, 2012 by Decimal Link to comment Share on other sites More sharing options...
EriN_KillerSoul Posted July 30, 2012 Group: Members Topic Count: 30 Topics Per Day: 0.01 Content Count: 313 Reputation: 23 Joined: 12/27/11 Last Seen: August 21, 2021 Share Posted July 30, 2012 thanks for the release. I use phpbb and facebook page for rss and it worked! Link to comment Share on other sites More sharing options...
clydelion Posted July 30, 2012 Group: Members Topic Count: 17 Topics Per Day: 0.00 Content Count: 754 Reputation: 186 Joined: 05/22/12 Last Seen: October 15, 2022 Author Share Posted July 30, 2012 @Decimal I'll take note of that. Anyway, that's good to hear. @GM Helena Harper Momoe That's great. If you have any suggestion to further improve this add-on, just tell me. Link to comment Share on other sites More sharing options...
Yuki Posted July 31, 2012 Group: Members Topic Count: 7 Topics Per Day: 0.00 Content Count: 318 Reputation: 68 Joined: 11/13/11 Last Seen: October 29, 2017 Share Posted July 31, 2012 I don't have a forum to try it on yet, but I am wondering if it can be used on websites other than Flux integrated sites XD (Edit: I just saw the Magpie reference, so I guess I should refer to that?). Another question, is it flexible where I can decide how many words can be shown? How about just showing the title of the forum threads in a particular section? Thanks =D! Link to comment Share on other sites More sharing options...
clydelion Posted July 31, 2012 Group: Members Topic Count: 17 Topics Per Day: 0.00 Content Count: 754 Reputation: 186 Joined: 05/22/12 Last Seen: October 15, 2022 Author Share Posted July 31, 2012 I don't have a forum to try it on yet, but I am wondering if it can be used on websites other than Flux integrated sites XD (Edit: I just saw the Magpie reference, so I guess I should refer to that?) Yes, it can be used in other websites, as well as other RO control panels. That can be done c/o MagpieRSS :] Another question, is it flexible where I can decide how many words can be shown? Yes if you can control the rss generated by your website OR if you know string manipulation in php. substr("string to be manipulated", 0, 80); where 80 is the number of characters to be shown.. How about just showing the title of the forum threads in a particular section? Yes, below is an example to show only the Title + date <?php foreach($rss->items as $item):?> <h4><?php echo $item['title'] ?> <?php if(isset($item['pubdate'])): ?> <small>on <?php $item['pubdate'] = date ('l, F dS, Y', strtotime ($item['pubdate'])); echo $item['pubdate'];?></small> <?php endif; ?> </h4> <hr/> <?php endforeach; ?> another example where you can click the title to direct you to the thread. <?php foreach($rss->items as $item):?> <h4><a class="news_link" href="<?php echo $item['link'] ?>" target="_blank"><?php echo $item['title'] ?></a> <?php if(isset($item['pubdate'])): ?> <small>on <?php $item['pubdate'] = date ('l, F dS, Y', strtotime ($item['pubdate'])); echo $item['pubdate'];?></small> <?php endif; ?> </h4> <hr/> <?php endforeach; ?> 1 Link to comment Share on other sites More sharing options...
Yuki Posted July 31, 2012 Group: Members Topic Count: 7 Topics Per Day: 0.00 Content Count: 318 Reputation: 68 Joined: 11/13/11 Last Seen: October 29, 2017 Share Posted July 31, 2012 Thanks a bunch <3! Your post is very informative =D, really appreciate it! Link to comment Share on other sites More sharing options...
Recommended Posts