Page 6 of 7

Re: [RC] Easy RSS Atom mod for phpBB3

Posted: Wed Feb 11, 2009 8:21 am
by jeremyotten
Does this mod support HTTP authentication so you can read none public RSS feeds

Re: [RC] Easy RSS Atom mod for phpBB3

Posted: Wed Feb 11, 2009 1:39 pm
by polov
This mod uses phpBB authentication - access rules to the rss feeds are checked against the phpBB forum rights.

Re: [RC] Easy RSS Atom mod for phpBB3

Posted: Fri Feb 13, 2009 5:24 pm
by jeremyotten
I understand but whill it work with http authentication and a desktop reader like for example newsgator?

Re: [RC] Easy RSS Atom mod for phpBB3

Posted: Fri Feb 13, 2009 7:41 pm
by polov
It will work with any rss reader.

Re: [RC] Easy RSS Atom mod for phpBB3

Posted: Fri Feb 13, 2009 8:56 pm
by Necromancyr
Hrm...actually his question is how do you pass the information for the login to PHP so that it grabs the correct posts. In a non-public forum it shows nothing if not logged in - I'm assuming it uses cookie information to grab the listings.

Basically...is there a way to call Phpbb that logs you in or authenticates?

So, http://name:Pass:forums.com/rss.php

Re: [RC] Easy RSS Atom mod for phpBB3

Posted: Fri Feb 13, 2009 9:27 pm
by polov
I personaly use browser as rss reader (Opera), haven't touch the problem with authentication yet (in rss.php yet). But if somebody will need it, I can spend a couple of time on it...

Re: [RC] Easy RSS Atom mod for phpBB3

Posted: Sat Feb 14, 2009 6:13 pm
by Necromancyr
I think for private forums it's basically a necessity...I was looking over the coding and am not totally sure how you would do it securely...possibly pass the username and password as a argument but that would really be insecure...

Re: [RC] Easy RSS Atom mod for phpBB3

Posted: Sat Feb 14, 2009 6:41 pm
by polov
I think there is no way to do it different way than put it inside URL.

Re: [RC] Easy RSS Atom mod for phpBB3

Posted: Mon Feb 23, 2009 3:13 pm
by berthaboy
Could you use $_SERVER['PHP_AUTH_USER'] and $_SERVER['PHP_AUTH_PW'] to grab http auth credentials (presented by many feed readers) and use these within the script to log the user on?

I've got the problem at the moment that most of my users use RSS readers such as Feedreader - that can't cope with phpBB3's cookie-based authentication (nor should it have to). However, it can deliver http auth credentials that your script could prompt for (send a WWW-Authenticate: Basic header first), then intercept and use to log the user on in order to generate the RSS.

I'm afraid I don't have the expertise to do this (I've just tried, and I'm getting pretty hopelessly lost), but it would be great if someone else out there could help!

Re: [RC] Easy RSS Atom mod for phpBB3

Posted: Tue Feb 24, 2009 7:24 pm
by Necromancyr
Should be fairly straightforward I would think to pass them to the site...but I think it would still need to be done plaint text and cause that security issue.

Re: [RC] Easy RSS Atom mod for phpBB3

Posted: Tue Feb 24, 2009 7:40 pm
by berthaboy
Anyone using http auth on a non-https server should be well aware that the "security" is little more than a veil to a dedicated snooper, but the point is that RSS readers on the whole can't use cookie-based authentication, which severely limits the usefulness of this mod on boards that have user permissions for different forums - if you're forced to do RSS through your browser then you may as well just click on "View latest posts"...

I've tried doing something like (can't remember the exact syntax at the moment):

Code: Select all

$auth->login($_SERVER['PHP_AUTH_USER'], $_SERVER['PHP_AUTH_PW'], false, 0, 0);
I'd be glad if someone might have the time and expertise to get this working.

Re: [RC] Easy RSS Atom mod for phpBB3

Posted: Mon Mar 30, 2009 3:50 pm
by Pouzy
When I launch the rss page, my mysql charge explodes, and the site freeze, I have to reboot the mysql server...

Did anyone ever faced that ?

Thanks !

Re: [RC] Easy RSS Atom mod for phpBB3

Posted: Sat May 02, 2009 2:10 am
by sudanese online
Since Last Night Rss.php is not working anymore

Re: [RC] Easy RSS Atom mod for phpBB3

Posted: Sat May 02, 2009 3:27 pm
by polov
sudanese online wrote:Since Last Night Rss.php is not working anymore
It means blank page? Error message displayed?....

Re: [RC] Easy RSS Atom mod for phpBB3

Posted: Sat May 09, 2009 8:23 am
by sudanese online
polov wrote: It means blank page? Error message displayed?....

Error message displayed
Internet Explorer cannot display this feed

This feed contains code errors.
http://www.sudaneseonline.org/forum/rss.php