Login: Directing a user to a specific web page

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
Aris
 
 
Posts: 202
Joined: Wed Aug 28, 2013 9:28 am

Login: Directing a user to a specific web page

Post by Aris »

Hi.

In the normal mode, after login, all the users are directed to web page (for example "services").

This is my question:
But I would wish to direct a specific user (only him) to a specific web page (for example "special services").
This user has created an account with Signup: He has Full name, Username, password, and email.

Can you help me?
User avatar
Pablo
 
Posts: 21573
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Login: Directing a user to a specific web page

Post by Pablo »

This can be done with the 'User Redirect' object.
Aris
 
 
Posts: 202
Joined: Wed Aug 28, 2013 9:28 am

Re: Login: Directing a user to a specific web page

Post by Aris »

Tell to me please: Where I must locate the User Redirect object?
User avatar
BaconFries
 
 
Posts: 5325
Joined: Thu Aug 16, 2007 7:32 pm

Re: Login: Directing a user to a specific web page

Post by BaconFries »

It is located in the Login tools -> User Redirect
Aris
 
 
Posts: 202
Joined: Wed Aug 28, 2013 9:28 am

Re: Login: Directing a user to a specific web page

Post by Aris »

I was not clear...

Where I must locate this object? On the page itself where the user can be redirected or in another page?

Thank you.
User avatar
Pablo
 
Posts: 21573
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Login: Directing a user to a specific web page

Post by Pablo »

It should be placed on the page where the user normally goes after logging in.
Aris
 
 
Posts: 202
Joined: Wed Aug 28, 2013 9:28 am

Re: Login: Directing a user to a specific web page

Post by Aris »

Thank you Pablo.

You are so helpful!
User avatar
Dragos
 
 
Posts: 214
Joined: Tue Sep 04, 2018 7:08 am

Re: Login: Directing a user to a specific web page

Post by Dragos »

Hi...I tried the new login system and encountered the following problem with redirecting a category of users (administrators). I tried to use both [admin], [administrator], [Admin] and [Administrator] but the redirect to the desired page did not work. But when I wrote without parentheses (brakets), the administrator redirected me, which means that it doesn't work for user groups. I mention that during the test my account was administrator, activated and complete with all data: email, etc ...
User avatar
Pablo
 
Posts: 21573
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Login: Directing a user to a specific web page

Post by Pablo »

If you need help with this then please share a demo project so I can see all your settings.

Related FAQ:
viewtopic.php?f=10&t=82134
User avatar
Dragos
 
 
Posts: 214
Joined: Tue Sep 04, 2018 7:08 am

Re: Login: Directing a user to a specific web page

Post by Dragos »

User avatar
Pablo
 
Posts: 21573
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Login: Directing a user to a specific web page

Post by Pablo »

I'm sorry, but I am confused by all the pages. Where do I start?

Can you please simplify your project so it's immediately clear what you are trying to do?
See also the FAQ:
viewtopic.php?f=10&t=82134

Note that user roles are case sensitive
Also 'protected page' and 'user redirect' should not be on the same page.
'user redirect' is an alternative for 'protected page'. See also the help.
User avatar
Dragos
 
 
Posts: 214
Joined: Tue Sep 04, 2018 7:08 am

Re: Login: Directing a user to a specific web page

Post by Dragos »

It's not the whole project but just a simplified part as much as I could in a short time ... I presented only the operating system and 2 protected pages (movies and music). After logging in to login_signup from the first page (index) it sends you either in login ok or in login error as the case may be ... from login ok it must redirect you if you are in the admin group to the "admins" page and if you are a user to the page users .. there each group will have different options (links) and in the case of movies and music to have access or not.
User avatar
Pablo
 
Posts: 21573
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Login: Directing a user to a specific web page

Post by Pablo »

Did you try my suggestions?

If you need further assistance then please simplify the project, remove everything from the project that is not relevant to your question.
User avatar
Dragos
 
 
Posts: 214
Joined: Tue Sep 04, 2018 7:08 am

Re: Login: Directing a user to a specific web page

Post by Dragos »

Ok... important for me îs just login ok Page to redirect users to users Page and administrators to admis Page,...can delete everithing and jeep just that 3 files
User avatar
Pablo
 
Posts: 21573
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Login: Directing a user to a specific web page

Post by Pablo »

Did you try my suggestions?
user roles are case sensitive
Also 'protected page' and 'user redirect' should not be on the same page.
'user redirect' is an alternative for 'protected page'. See also the help.
User avatar
Dragos
 
 
Posts: 214
Joined: Tue Sep 04, 2018 7:08 am

Re: Login: Directing a user to a specific web page

Post by Dragos »

Yes.....will try....just i respunded your post..thx...
User avatar
Dragos
 
 
Posts: 214
Joined: Tue Sep 04, 2018 7:08 am

Re: Login: Directing a user to a specific web page

Post by Dragos »

I try...work with administrator to redirect just admin(user), but not work with the [admin] or [administrator] group.
i dont understand....why
User avatar
Pablo
 
Posts: 21573
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Login: Directing a user to a specific web page

Post by Pablo »

Did you fix the casing of the user roles?
User avatar
Dragos
 
 
Posts: 214
Joined: Tue Sep 04, 2018 7:08 am

Re: Login: Directing a user to a specific web page

Post by Dragos »

No. I dont understand what i mean. Not work for group role. Just for specified name of users and admins...
User avatar
Dragos
 
 
Posts: 214
Joined: Tue Sep 04, 2018 7:08 am

Re: Login: Directing a user to a specific web page

Post by Dragos »

Lady version (16) work perfect
User avatar
Pablo
 
Posts: 21573
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Login: Directing a user to a specific web page

Post by Pablo »

I meant that you will need to make sure that the upper/lowercase of the user roles must be correct
For example, 'administrator' must be 'Administrator'
User avatar
Dragos
 
 
Posts: 214
Joined: Tue Sep 04, 2018 7:08 am

Re: Login: Directing a user to a specific web page

Post by Dragos »

Dragos wrote: Thu Oct 07, 2021 2:51 pm Hi...I tried the new login system and encountered the following problem with redirecting a category of users (administrators). I tried to use both [admin], [administrator], [Admin] and [Administrator] but the redirect to the desired page did not work. But when I wrote without parentheses (brakets), the administrator redirected me, which means that it doesn't work for user groups. I mention that during the test my account was administrator, activated and complete with all data: email, etc ...
That i say ....
User avatar
Pablo
 
Posts: 21573
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Login: Directing a user to a specific web page

Post by Pablo »

In the project you have shared, the casing is not correct, so that will not work.
User avatar
Dragos
 
 
Posts: 214
Joined: Tue Sep 04, 2018 7:08 am

Re: Login: Directing a user to a specific web page

Post by Dragos »

FInaly.....work...after delete all project content in the web folder and publish again....thx..
Aris
 
 
Posts: 202
Joined: Wed Aug 28, 2013 9:28 am

Re: Login: Directing a user to a specific web page

Post by Aris »

Thank you.
Post Reply