Frontendusers returnlast issue

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
nervino
Power Poster
Power Poster
Posts: 448
Joined: Sun Dec 28, 2008 12:15 pm
Location: Roma, Italy

Frontendusers returnlast issue

Post by nervino »

Hello, I'm using the FrontEndUsers's returnlast parameter inside an EventsManager module template:

Code: Select all

<div id="formlogin">
{FrontEndUsers form='login' nocaptcha='1' returnlast='1'}
</div>
All works fine after a succesful login: it redirects to previous detail event (es.: http://www.example.com/events/1/42/test/)
BUT
the redirect doesn't work if FEU has to display any error (missing user, login failed etc.): it only redirects to the cmsms page that contains the FEU tag (NOT to the event's detail url).

Can Anybody suggest me a fix?

Thanks

====================
CMSMS 1.11.10
FrontEndUsers 1.23.5
nervino
Power Poster
Power Poster
Posts: 448
Joined: Sun Dec 28, 2008 12:15 pm
Location: Roma, Italy

Re: Frontendusers returnlast issue

Post by nervino »

I solved modifying a FEU core file as I think this is a bug:

Deleted
Last edited by Jo Morg on Sat Jul 26, 2014 2:41 pm, edited 1 time in total.
Reason: Sorry, that code is considered a hack according to forum rules.
User avatar
Jo Morg
Dev Team Member
Dev Team Member
Posts: 1921
Joined: Mon Jan 29, 2007 4:47 pm

Re: Frontendusers returnlast issue

Post by Jo Morg »

If you believe it is a bug, please file a bug report, and include the proposed solution.
"There are 10 types of people in this world, those who understand binary... and those who don't."
* by the way: English is NOT my native language (sorry for any mistakes...).
Code of Condut | CMSMS Docs | Help Support CMSMS
My developer Page on the Forge
GeekMoot 2015 in Ghent, Belgium: I was there!
GeekMoot 2016 in Leicester, UK: I was there!
DevMoot 2023 in Cynwyd, Wales: I was there!
nervino
Power Poster
Power Poster
Posts: 448
Joined: Sun Dec 28, 2008 12:15 pm
Location: Roma, Italy

Re: Frontendusers returnlast issue

Post by nervino »

Just done ;)
User avatar
Jo Morg
Dev Team Member
Dev Team Member
Posts: 1921
Joined: Mon Jan 29, 2007 4:47 pm

Re: Frontendusers returnlast issue

Post by Jo Morg »

Thank you! That is the preferred procedure. :)
"There are 10 types of people in this world, those who understand binary... and those who don't."
* by the way: English is NOT my native language (sorry for any mistakes...).
Code of Condut | CMSMS Docs | Help Support CMSMS
My developer Page on the Forge
GeekMoot 2015 in Ghent, Belgium: I was there!
GeekMoot 2016 in Leicester, UK: I was there!
DevMoot 2023 in Cynwyd, Wales: I was there!
Post Reply

Return to “Modules/Add-Ons”