Login Tools - Add New User?
Posted: Thu Sep 28, 2023 1:27 pm
I am brand new to using WYSIWYG Web Builder and just recently purchased it and I am running the most recent version.18.4.0
I have a development server running Windows Server 2022 and have installed mySQL Version 8.1 and installed PHP version 8.2.10 also the most recent version.
I believe all is installed correctly as I can bring up a phpinfo.php page to show all the settings.
I added a user in mySQL called appusers with a password.
I created a Users table as per the sql-script found in Login Tools
CREATE TABLE `USERS` (
`id` int(10) NOT NULL auto_increment,
`username` varchar(50) NOT NULL,
`fullname` varchar(75) NOT NULL,
`password` varchar(50) NOT NULL,
`email` varchar(75) NOT NULL,
`active` int(1) NOT NULL,
`code` varchar(75),
`role` varchar(50),
`avatar` varchar(50),
PRIMARY KEY (`id`));
All this worked so far.
I know my setting are all good for mySQL and PHP because I installed PHPmyAdmin console and I can login with my appusers account and add records into the Users table.
I have gone through the Login Tools now 4 times this week and still have the following issues . . .
1. When I try to add a new user in the full name input for the "Sign up for a new account" Login Tools form, if I enter in John Doe for the full name I get a message back: "Fullname is not valid, please check and try again!"
However, if I enter in JohnDoe with no spaces in the entry all works find and the record is added into the mySQL User table.
So my question is: If you enter in someone's full name should you not be able to enter it in with spaces for the full name?
If the Login Tools are setup to only allow a full name with no spaces, how do you allow spaces in the user's full name?
2. My second issue is if I am using the Login Tools "Log in" form and enter in an invalid user id or password I am redirecting to another webpage in my project that simply says "Invalid User or Password Entered" and on this page I have 2 buttons: One to Try Again and one to Cancel with links in them to return to the Log in form or simply return back to my Index.html page.
I see that regardless of the web form I try to call if the user enters in incorrect login credentials going to my page saying Login Failed with the Try Again or Cancel buttons, when clicked the Login Tools take me always to the "Create a new user" Login Tools page.
Is this they way things work in Login Tools?
Like I said I am very new to WYSIWYG Web Builder so sorry if my questions seem things I should know!
Thanks for your time in advance for anyone that can share some insight into the Login Tools questions I posted here.
Pete,
I have a development server running Windows Server 2022 and have installed mySQL Version 8.1 and installed PHP version 8.2.10 also the most recent version.
I believe all is installed correctly as I can bring up a phpinfo.php page to show all the settings.
I added a user in mySQL called appusers with a password.
I created a Users table as per the sql-script found in Login Tools
CREATE TABLE `USERS` (
`id` int(10) NOT NULL auto_increment,
`username` varchar(50) NOT NULL,
`fullname` varchar(75) NOT NULL,
`password` varchar(50) NOT NULL,
`email` varchar(75) NOT NULL,
`active` int(1) NOT NULL,
`code` varchar(75),
`role` varchar(50),
`avatar` varchar(50),
PRIMARY KEY (`id`));
All this worked so far.
I know my setting are all good for mySQL and PHP because I installed PHPmyAdmin console and I can login with my appusers account and add records into the Users table.
I have gone through the Login Tools now 4 times this week and still have the following issues . . .
1. When I try to add a new user in the full name input for the "Sign up for a new account" Login Tools form, if I enter in John Doe for the full name I get a message back: "Fullname is not valid, please check and try again!"
However, if I enter in JohnDoe with no spaces in the entry all works find and the record is added into the mySQL User table.
So my question is: If you enter in someone's full name should you not be able to enter it in with spaces for the full name?
If the Login Tools are setup to only allow a full name with no spaces, how do you allow spaces in the user's full name?
2. My second issue is if I am using the Login Tools "Log in" form and enter in an invalid user id or password I am redirecting to another webpage in my project that simply says "Invalid User or Password Entered" and on this page I have 2 buttons: One to Try Again and one to Cancel with links in them to return to the Log in form or simply return back to my Index.html page.
I see that regardless of the web form I try to call if the user enters in incorrect login credentials going to my page saying Login Failed with the Try Again or Cancel buttons, when clicked the Login Tools take me always to the "Create a new user" Login Tools page.
Is this they way things work in Login Tools?
Like I said I am very new to WYSIWYG Web Builder so sorry if my questions seem things I should know!
Thanks for your time in advance for anyone that can share some insight into the Login Tools questions I posted here.
Pete,