Login Tools - User Role

All WYSIWYG Web Builder support issues that are not covered in the forums below.
Forum rules
IMPORTANT NOTE!!

DO YOU HAVE A QUESTION OR PROBLEM AND WANT QUICK HELP?
THEN PLEASE SHARE A "DEMO" PROJECT.



PLEASE READ THE FORUM RULES BEFORE YOU POST:
http://www.wysiwygwebbuilder.com/forum/viewtopic.php?f=12&t=1901

MUST READ:
http://www.wysiwygwebbuilder.com/getting_started.html
WYSIWYG Web Builder FAQ
Post Reply
trevorm
 
 
Posts: 84
Joined: Sat Mar 14, 2020 3:43 pm

Login Tools - User Role

Post by trevorm »

Hi,

I cannot find anywhere in the notes or in the various setup dialogues of the LOGIN Tools where or how you assign User Roles to Users.

I understand Roles are always needed as part of the system verification process on login. However, in my published site, the User Role field of the Login Admin tool is not present in the New User function or in the Admin table view of existing users.

My published login system is working fine but I cannot see the User Role field in; Admin, Signup, New User or Edit User on the relevant published pages.

I note that the User database "Role" field is "NULL" for all users.

Pablo confirmed to me that the Protect Page tool setup dialogue must have the Users and Roles declared otherwise no one can login. However, I cannot understand how a role is assigned to a user or is this not relevant? If it is not relevant and not recorded in the database, why list allowed Users and Roles in the Protect Page tool instead of just declaring allowed Users?

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

Re: Login Tools - User Role

Post by Pablo »

User roles are optional.

You can add/edit user roles in the proprieties of the login admin object in the workspace.

You can assign roles to users in the (online) admin tool.
trevorm
 
 
Posts: 84
Joined: Sat Mar 14, 2020 3:43 pm

Re: Login Tools - User Role

Post by trevorm »

Hi Pablo,

I did not appreciate that user roles were optional. However as we have various areas of the site that only certain Users can access and which the Users vary from page to page, then user Roles offer that possibility of appropriate control.

However, I have look again and I can't see any reference to Roles in the online (published) Admin tool.

The only references I can see are in the workspace (Admin Tool dialogue box), which are:-
A) Behaviors - Users Roles
B) Text - Role

As I said the Role field has been added to the user database but I can't see how to populate it through the Login tools
User avatar
Pablo
 
Posts: 21712
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Login Tools - User Role

Post by Pablo »

Image
trevorm
 
 
Posts: 84
Joined: Sat Mar 14, 2020 3:43 pm

Re: Login Tools - User Role

Post by trevorm »

Sorry Pablo but I can assure you the Role field (nor the browse field) are not present in any of sign up. New User in admin or edit in Admin published pages.
User avatar
Pablo
 
Posts: 21712
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Login Tools - User Role

Post by Pablo »

Are you using the latest version of the software?
trevorm
 
 
Posts: 84
Joined: Sat Mar 14, 2020 3:43 pm

Re: Login Tools - User Role

Post by trevorm »

Yep - 15.4.0 - Mar 27th 2020 (Only just purchased it around that time) It says its the latest in check for updates
User avatar
Pablo
 
Posts: 21712
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Login Tools - User Role

Post by Pablo »

Is the 'Version' property set to '14'?
trevorm
 
 
Posts: 84
Joined: Sat Mar 14, 2020 3:43 pm

Re: Login Tools - User Role

Post by trevorm »

Where do I find that out?
trevorm
 
 
Posts: 84
Joined: Sat Mar 14, 2020 3:43 pm

Re: Login Tools - User Role

Post by trevorm »

Just found it it is set to 8
User avatar
Pablo
 
Posts: 21712
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Login Tools - User Role

Post by Pablo »

Please change to '14'. See also the help.
trevorm
 
 
Posts: 84
Joined: Sat Mar 14, 2020 3:43 pm

Re: Login Tools - User Role

Post by trevorm »

Ok
I have changed version to 14 and this prevents the log in forms displaying beyond the actual login.
I have read the help but I see nothing regarding version. I have complied with the other requirements as far as I can see.
Having changed version is it necessary to delete the pages from the page manager and start again?
User avatar
Pablo
 
Posts: 21712
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Login Tools - User Role

Post by Pablo »

You will have to update the database so it has all the required fields.
trevorm
 
 
Posts: 84
Joined: Sat Mar 14, 2020 3:43 pm

Re: Login Tools - User Role

Post by trevorm »

Role field etc are there! Will they be different if done in version 8?
User avatar
Pablo
 
Posts: 21712
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Login Tools - User Role

Post by Pablo »

Yes, the structure of versin 8 is different.
Please make sure all database fields exist.

If it still does not work then check the PHP logs on the server for errors.
trevorm
 
 
Posts: 84
Joined: Sat Mar 14, 2020 3:43 pm

Re: Login Tools - User Role

Post by trevorm »

Hi Pablo

I deleted the DB and remade and use the Make DB script to create the fields. The Admin is now working showing the Role field as well as all of he other fields. Thanks
The login page isn’t working now but hopefully I can sort that out.
Thanks for your help
Post Reply