| |
| |
|
|
|
|
| |
|
| |
|
| :: |
| Author |
Message |
korb
Joined: 21 Aug 2008 Posts: 25
|
Posted: Mon Aug 25, 2008 11:24 pm Post subject: [BUG] User authentification failure for GYM and RSS |
|
|
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 |
|
|
| Back to top |
|
 |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 15242
|
Posted: Thu Aug 28, 2008 7:01 am Post subject: Re: [BUG] User authentification failure for GYM and RSS |
|
|
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.
++ |
_________________ Useful links :
SEO Forum || SEO Directory || SEO phpBB || SEO phpBB3 || Search
____________________
Liens Utiles :
Forum référencement || Annuaire référencement || Référencement phpBB || Référencement phpBB3 || Recherche |
|
| Back to top |
|
 |
korb
Joined: 21 Aug 2008 Posts: 25
|
Posted: Thu Aug 28, 2008 8:33 am Post subject: Great |
|
|
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 |
|
|
| Back to top |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 15242
|
Posted: Thu Aug 28, 2008 9:02 am Post subject: Re: [BUG] User authentification failure for GYM and RSS |
|
|
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
++ |
_________________ Useful links :
SEO Forum || SEO Directory || SEO phpBB || SEO phpBB3 || Search
____________________
Liens Utiles :
Forum référencement || Annuaire référencement || Référencement phpBB || Référencement phpBB3 || Recherche |
|
| Back to top |
|
 |
korb
Joined: 21 Aug 2008 Posts: 25
|
Posted: Thu Aug 28, 2008 3:23 pm Post subject: Great! |
|
|
Thanks again for reply, in the good topic
Danny |
|
|
| Back to top |
|
 |
|
|
| Navigation |
Similar Topics |
|
|
|
|
|
|
|
| |
|
|
|
|
| |
|
|
|
|
| |