[BUG] User authentification failure for GYM and RSS

The GYM Sitemaps & RSS module for phpBB. Sitemaps and RSS feeds for Google Yahoo! and MSN Live, support, add ons etc ...

Moderator: Moderators


[BUG] User authentification failure for GYM and RSS

Postby korb » Mon Aug 25, 2008 11:24 pm

Hi,

I finished translation for GYM&RSS addon, and I noticed the following:

I have a problem with GYM and RSS because the modules don't remember the logged in user and his language. In the right side of navbar I see Register link instead of logout link, but in board index I am logged in. This Register link is not working, it just redirects to board index.

So the issue here is that GYM and RSS don't know anything anout user status (logged in/logged out).

I hope someone to confirm this issue, while I fight with a malware virus in my computer that might cause this...

Otherwise I hope this issue to be fixed soon,
Danny
User avatar
korb
PR0
PR0
 
Posts: 54
Joined: Thu Aug 21, 2008 2:42 am

Advertisement

Postby dcz » Thu Aug 28, 2008 7:01 am

Well, it's not really the case. What happens is that xsl templates are not really dynamic, they are generated on the fly to be adapted to the installation settings (domain, paths) and languages, but they are then cached and do not change upon each call.

So there is no online / offline state in these. The links in header are for example staying the same in all cases.

So you cannot rely on the header to find out about the logged in state, try a private forum's feed for example, and you'll see that the mod is using auth, thus logged in state for real.

++
dcz
Administrateur - Site Admin
Administrateur - Site Admin
 
Posts: 17678
Joined: Fri Apr 28, 2006 9:03 pm

Great

Postby korb » Thu Aug 28, 2008 8:33 am

So in this case I should edit RSS template files (xsl and others) to remove that part of code.

My concern is about feeds available only for registered users that could be confused about the fact that in RSS feed page his auth status is mode login.

Danny
User avatar
korb
PR0
PR0
 
Posts: 54
Joined: Thu Aug 21, 2008 2:42 am

Postby dcz » Thu Aug 28, 2008 9:02 am

Well, there is a custom message for private feeds, telling that the feed is private, and according to wich user the authorisations where processed.
Admins even get the explain debug link in case debug is activated ;)

But yes, you can delete these links in the templates, we just though a register link would increase the probability one would actually register that's all ;)

++
dcz
Administrateur - Site Admin
Administrateur - Site Admin
 
Posts: 17678
Joined: Fri Apr 28, 2006 9:03 pm

Great!

Postby korb » Thu Aug 28, 2008 3:23 pm

Thanks again for reply, in the good topic :)
Danny
User avatar
korb
PR0
PR0
 
Posts: 54
Joined: Thu Aug 21, 2008 2:42 am


Return to GYM Sitemaps & RSS

Who is online

Users browsing this forum: No registered users and 4 guests