× R0.23 No Longer Supported

Joomdlehooks auto redirect bug and log out sync

15 years 1 week ago
Antonio Durán
Posts: 7815
More
Joomdlehooks auto redirect bug and log out sync #11
Fixed for 0.24

Please Log in or Create an account to join the conversation.

15 years 1 week ago
red
Posts: 38
More
Topic Author
Joomdlehooks auto redirect bug and log out sync #12
redirect works now? how about "remember me"?

Please Log in or Create an account to join the conversation.

15 years 1 week ago
Antonio Durán
Posts: 7815
More
Joomdlehooks auto redirect bug and log out sync #13
Hi. Thanks for the feedback, I didn't know remember me was not working :)

I have make it to work now, but I had to replicte some Joomla code, because of how all this works:
- joomdlehooks plugin keeps on doing redirection, I could not came up with a solution to this yet.
- It fixes redirect by taking note of the return URL provided by the login module, and redirecting the user back there after authenticating in Moodle
- Remember me code is executed after the user plugins. So, as the plugin redirects, it does not get there. I just copied +-10 lines of code into the plugin to handle the case. The added benefit is that now the remember me function also logs you in Moodle.

I will have a package ready by next week. It would be cool if you could do some testing before release :)

Please Log in or Create an account to join the conversation.

14 years 11 months ago
Alexandre
Posts: 39
More
Joomdlehooks auto redirect bug and log out sync #14
Someone have the solutions to this situation?

Please Log in or Create an account to join the conversation.

14 years 11 months ago
Antonio Durán
Posts: 7815
More
Joomdlehooks auto redirect bug and log out sync #15
R0.24 is coming out this week, and this is already fixed.

Please Log in or Create an account to join the conversation.