I have tried to redirect user to a specific page after login according to their assigned user role eg. [Admin] is not working.
I am using MySQL database.
Please help.
user redirect with assigned role is not working
Forum rules
PLEASE READ THE FORUM RULES BEFORE YOU POST:
viewtopic.php?f=12&t=1901
MUST READ:
http://www.wysiwygwebbuilder.com/login_basics.html
http://www.wysiwygwebbuilder.com/login_tools.html
TIP:
A lot of information about the login tools can be found in the help/manual.
Also checkout the demo template that is include with the software.
PLEASE READ THE FORUM RULES BEFORE YOU POST:
viewtopic.php?f=12&t=1901
MUST READ:
http://www.wysiwygwebbuilder.com/login_basics.html
http://www.wysiwygwebbuilder.com/login_tools.html
TIP:
A lot of information about the login tools can be found in the help/manual.
Also checkout the demo template that is include with the software.
-
-
- Posts: 3
- Joined: Fri Oct 14, 2022 3:58 am
Re: user redirect with assigned role is not working
To be able to help you, I need to know your exact configuration.
The software has thousands of options and millions of possible combinations, so you will need to be more specific.
The software has thousands of options and millions of possible combinations, so you will need to be more specific.
-
-
- Posts: 3
- Joined: Fri Oct 14, 2022 3:58 am
Re: user redirect with assigned role is not working
I have created a destination page of login eg. redirect_user.php
In this page I have inserted user redirect and assigned redirection according to the user role.
eg. [member] to x-page
[admin] to y-page
[guest] to z-page and so on.
For your information, I have also preassigned each user role through admin page.
But, when user are logged in they reach at redirect_user.php, but users are not redirected to x, y, or z-pages. It seems that user redirect not working with assigned user role.
Please help.
In this page I have inserted user redirect and assigned redirection according to the user role.
eg. [member] to x-page
[admin] to y-page
[guest] to z-page and so on.
For your information, I have also preassigned each user role through admin page.
But, when user are logged in they reach at redirect_user.php, but users are not redirected to x, y, or z-pages. It seems that user redirect not working with assigned user role.
Please help.
Re: user redirect with assigned role is not working
There are no know issues with this functionality, otherwise it would have already been fixed.
I have been used this myself several times without any issues. So, this is most likely a configuration issue.
Do you have a demo project?
What does the database look like?
For further details about how to share a project file, please see this FAQ:
https://www.wysiwygwebbuilder.com/forum ... 10&t=82134
I have been used this myself several times without any issues. So, this is most likely a configuration issue.
Do you have a demo project?
What does the database look like?
For further details about how to share a project file, please see this FAQ:
https://www.wysiwygwebbuilder.com/forum ... 10&t=82134