Page 1 of 1

FEU module help with redirection

Posted: Tue Aug 23, 2016 8:47 pm
by Schaboo
Hi

I have problem with FEU settings and I hope for some help.
Website is running:
CMSMS 2.1.5
FrontEndUsers 2.0.7

I'm trying to set up redirection to {$username} using FEU settings page but none of the options:
PageID/Alias to jump to after login *:
PageID/Alias to jump to after code verification *:
accept smarty tag: {$username} but when I use just a static page for
PageID/Alias to jump to after logout *:
it just works!

I'm not sure if there is a fix for it yet but if it is please help.
If there is not I have thought about workaround:
Is there a way to modify a page after login to remove:
"change settings" button and replace it with a link with tag: {$username} for users to click on the link to go to their personal page.

Thanks in advance.
T

Re: FEU module help with redirection

Posted: Tue Aug 23, 2016 8:55 pm
by calguy1000
I just tested this (today) and it works. I think the devil is in the details.

I think the problem you're having is the setting 'Email address is username'. Email addresses MUST have an @ and a . and may contain other characters like - etc. Where aliases cannot.

Here's what I did:
a: in the FEU settings, 'built-in-authentication' tab I turned OFF 'Email address is Username' and put {$username} into the 'PageID/Alias to jump to after login'
b: Created a new page and explicitly set the alias to calguy1000
c: Created a new user in FEU with the username calguy1000
d: On the frontend of the website, logged in as calguy1000. It worked fine.

Re: FEU module help with redirection

Posted: Tue Aug 23, 2016 9:41 pm
by Schaboo
calguy1000 you've just made my day!!!!

It works thank you very much :D

Can you please let ma know how to disable "change settings" button?

Thanks
T

Re: FEU module help with redirection

Posted: Tue Aug 23, 2016 10:47 pm
by calguy1000
Can you please let ma know how to disable "change settings" button?
Take the appropriate code out of the 'logout form' template.

Re: FEU module help with redirection

Posted: Wed Sep 07, 2016 7:52 pm
by Schaboo
Thanks CalGuy1000

It has worked again.
One more thing. My template has link to login page.

nad User personal page ideally should have that button with logout option. Unfortunately I can't find how "Sign out" this is generated,
Can you please help?

T

Re: FEU module help with redirection

Posted: Wed Sep 07, 2016 8:04 pm
by Rolf
Schaboo wrote:nad User personal page ideally should have that button with logout option. Unfortunately I can't find how "Sign out" this is generated
this feature should be available in the latest version of FEU as a page content type