simple RSS mod for phpBB3

All new MODs released in our MOD Database will be announced in here. All support for released MODs needs to take place in the Customisations Database.
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

NOTICE: This forum is only for the announcement of new releases and/or updates of MODs. Any MOD support should be obtained through the Customisations Database in the support area designated for each MOD.

A direct link to support for each MOD is in the first post of the respective topic.
LaetusAtheos
Registered User
Posts: 58
Joined: Tue May 23, 2006 11:31 am

Re: simple RSS mod for phpBB3

Post by LaetusAtheos »

Vampire1812 wrote:I got it working. The problem was the cut and paste space that I missed. Sorry.
Do you mind pointing out where the cut and paste text has a space? I have the same problem you had.
Wolfseye
Registered User
Posts: 14
Joined: Sun Aug 03, 2008 4:51 pm

Re: simple RSS mod for phpBB3

Post by Wolfseye »

I just installed that Mod and edited the overall_header.html like it was posted on page 2 about the Subsilver2 template, i am using a Template called Starcraft which seems to be based on the Subsilver2 theme. Problem is, its not showing up anywhere. Cleared my cache and all, but i dont see it.

Where is that to show up actually ? I don´t think i did something wrong, it just doesnt show up. :(
id404
Registered User
Posts: 4
Joined: Mon Nov 03, 2008 3:04 pm

Re: simple RSS mod for phpBB3

Post by id404 »

IGNORE THIS POST.
problem kind of solved. :mrgreen:
sLm4ever
Registered User
Posts: 3
Joined: Wed Jul 02, 2008 10:16 am

Re: simple RSS mod for phpBB3

Post by sLm4ever »

worked very well :) ... thank you very much :)
I also edited the overall header to display the rss icon on the URL bar :)
Flash_oS
Registered User
Posts: 4
Joined: Wed Jul 24, 2002 2:21 am

Re: simple RSS mod for phpBB3

Post by Flash_oS »

How to install this mod? There is no explanation.
LaetusAtheos
Registered User
Posts: 58
Joined: Tue May 23, 2006 11:31 am

Re: simple RSS mod for phpBB3

Post by LaetusAtheos »

I have the actual rss feed working (well, have had it working since I installed the mod a few weeks ago). I still haven't had the time to find the white space, but am not worried about it.
Flash_oS wrote:How to install this mod? There is no explanation.
Well, there is an explanation; you just need to know where to find it ;)

See http://www.phpbb.com/community/viewtopi ... 9&t=724145.

Basically, just follow the instructions in the xml install file.
gamalbb
Registered User
Posts: 5
Joined: Tue May 22, 2007 2:24 pm

Re: simple RSS mod for phpBB3

Post by gamalbb »

what about using this mod with 3.0.3 ??
soulpatch
Registered User
Posts: 18
Joined: Sun Nov 20, 2005 10:21 am

Re: simple RSS mod for phpBB3

Post by soulpatch »

I installed this mod with 3.0.4 and when I get to the last part where you add it in the ACP, i don't see it in the drop down menu. When I go to the home page of my forums, I get this:
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3763: Undefined index: rss_enable
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3764: Undefined index: rss_overall_forums
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3765: Undefined index: rss_overall_threads
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3766: Undefined index: rss_overall_posts
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3767: Undefined index: rss_egosearch
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3768: Undefined index: rss_forum
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3769: Undefined index: rss_thread
Is anyone else getting this? Please help.
soulpatch
Registered User
Posts: 18
Joined: Sun Nov 20, 2005 10:21 am

Re: simple RSS mod for phpBB3

Post by soulpatch »

soulpatch wrote:I installed this mod with 3.0.4 and when I get to the last part where you add it in the ACP, i don't see it in the drop down menu. When I go to the home page of my forums, I get this:
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3763: Undefined index: rss_enable
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3764: Undefined index: rss_overall_forums
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3765: Undefined index: rss_overall_threads
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3766: Undefined index: rss_overall_posts
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3767: Undefined index: rss_egosearch
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3768: Undefined index: rss_forum
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3769: Undefined index: rss_thread
Is anyone else getting this? Please help.
Minor update here, I purged the cache and the above PHP Notices disappeared but I am still having trouble with this part:
A.1) Navigate to "System" tab.
A.2) Under "Module management" click on "Administration Control Panel".
A.3) Click on "System".
A.4) Clik on "General tasks".
A.5) in "add module" select "RSS" and click on "add module", them click on "yes".
A.6) Afert refresh screen click RSS "enable".
A.7) Afert refresh screen click again in "System" tab.
A.8) Now you will able to see "RSS" down the "General tasks" in left menu.
A.9) Click on "RSS" and set to your liking.
Once I get to Step A.4, I don't see RSS under "Add Module". Please help.
microfud
Registered User
Posts: 34
Joined: Wed Dec 17, 2008 6:45 pm

Re: simple RSS mod for phpBB3

Post by microfud »

To follow up on a previous request, is there no way to limit the description field to say the first paragraph?

I have a friend who is a programmer who wrote a program in ruby to create rss feeds. He says it was simply doing something like this (in ruby):

def firstParagraph; @body.split(/<p>/).first[0...max_length]; end

I would really like to use this mod. But I don't want to offer the full content of my forums here. I think the incentive to steal the content (by another site) is just too great.
Jolrael
Registered User
Posts: 6
Joined: Wed Jul 13, 2005 11:33 am

Re: simple RSS mod for phpBB3

Post by Jolrael »

Nice mod! Thanks for the effort! :-)

I have 1 feature request though; the URL in the RSS feed point to the topic and the specified post using an anchor (#<postID>). However, this does not work when the topic consists of multiple pages. Might be an idea to let the script find out the amount of posts per page, the amount of posts, and then calculate which start GET variable to use ;-)

Other than that, the mods works really well and does exactly what we were looking for :-D
User avatar
irdem
Registered User
Posts: 177
Joined: Sat Oct 13, 2007 10:31 pm

Re: simple RSS mod for phpBB3

Post by irdem »

Jolrael
Registered User
Posts: 6
Joined: Wed Jul 13, 2005 11:33 am

Re: simple RSS mod for phpBB3

Post by Jolrael »

irdem wrote:Hi Jolrael,
did you see this? : http://www.phpbb.com/community/viewtopi ... 0#p7411695
Hey irdem! I actually read through all posts to see if my problem wasn't already posted there. I guess I really need to consider getting me some glasses :P

I implemented your fix and it indeed fixed my problem! :-) Thank you very much!
Antheii
Registered User
Posts: 30
Joined: Tue Jun 07, 2005 10:11 am
Location: Netherlands

Re: simple RSS mod for phpBB3

Post by Antheii »

Hi,
irdem wrote:hello,
for the link of last post, i made a small change in line:

Code: Select all

 	   $post_link    = $board_url."/viewtopic.".$phpEx."?f=".$forumid."&t=".$topicid."#p".$row['topic_last_post_id'];

replaced with:

Code: Select all

              	   $post_link    = $board_url."/viewtopic.".$phpEx."?f=".$forumid."&t=".$topicid."&p=".$row['topic_last_post_id']."#p".$row['topic_last_post_id'];
Don't think the forum and topic ID's are needed, I replaced it with

Code: Select all

$post_link    = $board_url."/viewtopic.".$phpEx."?p=".$row['topic_last_post_id']."#p".$row['topic_last_post_id'];
And this works fine ;)

microfud wrote:To follow up on a previous request, is there no way to limit the description field to say the first paragraph?
Would like this feature too, but for the time being I did it like

Replace

Code: Select all

                   $description  = $user->lang['POST_BY_AUTHOR']." ".$row['topic_last_poster_name']." (".$user->lang['POSTED']." ".$user->format_date($row['post_time']).")<br/>".$row['post_text']."<br /><br /><a href=\"".$topic_link."\">".$user->lang['RSS_READ_TOPIC']."</a><hr />";
With

Code: Select all

                   $description  = $user->lang['POST_BY_AUTHOR']." ".$row['topic_last_poster_name']." (".$user->lang['POSTED']." ".$user->format_date($row['post_time']).")<br/>".substr($row['post_text'],0,200)."<br /><br /><a href=\"".$topic_link."\">".$user->lang['RSS_READ_TOPIC']."</a><hr />";
Of course you can play with the length of 200 characters a bit if you like.
Disadvantage of this solution is that it may cut words or links in half :?

Regards,

Hans
theduffman
Registered User
Posts: 4
Joined: Thu Sep 25, 2008 12:45 am

Re: simple RSS mod for phpBB3

Post by theduffman »

I've installed this mod. I've put the link in the rightside link list in overall_header as instructed, but it mucks that link list up. Whenever I refresh, the rightside linklist dissapears. I can then make the rightside linklist reappear by pressing that font-size button.

I'm on phpbb 3.0.4 by the way. There must be some way to stop this from happening. Can anyone offer help?

Return to “[3.0.x] MOD Database Releases”