user redirect with assigned role is not working

Issues related to the Login tools of WYSIWYG Web Builder.
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.
Post Reply
hussainbsi
 
 
Posts: 3
Joined: Fri Oct 14, 2022 3:58 am

user redirect with assigned role is not working

Post by hussainbsi »

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 avatar
Pablo
 
Posts: 23432
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: user redirect with assigned role is not working

Post by Pablo »

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.
hussainbsi
 
 
Posts: 3
Joined: Fri Oct 14, 2022 3:58 am

Re: user redirect with assigned role is not working

Post by hussainbsi »

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.
User avatar
Pablo
 
Posts: 23432
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: user redirect with assigned role is not working

Post by Pablo »

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
Post Reply