Login name

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
arkhays
 
 
Posts: 7
Joined: Thu Apr 09, 2020 4:15 am

Login name

Post by arkhays »

Good Day! i have a problem about login name tool. i want to show the email instead. but username, fullname and avatar are the only one that i can select. Is this possible that i want to show the email field instead?.

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

Re: Login name

Post by Pablo »

There is currently no option to display the email address, this information is not store din the session data.
lummis
 
 
Posts: 211
Joined: Sun Apr 24, 2011 9:18 am
Location: UK

Re: Login name

Post by lummis »

I am not quite sure what you are trying to do but if you want users to login using their email address rather than a username, that is possible.

You will need to record the email address as the username and then in the Login object under Username Label change to Email Address as a reminder to the user when they Login. If you are using the Signup object to get users to register then again you will need to change the Username Label to E-mail, although this does mean that you will have the E-mail appearing twice on the signup form.
luputu
 
 
Posts: 36
Joined: Sun Feb 17, 2019 4:44 am

Re: Login name

Post by luputu »

Pablo wrote: Sat May 23, 2020 10:28 am There is currently no option to display the email address, this information is not store din the session data.
I want to show the username on form automatically when user filling form or submitting form and recorded on mysql database. how can I do that ?
till now I just can show the username on from but not recorded to mysql database.
User avatar
Pablo
 
Posts: 21575
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Login name

Post by Pablo »

Do you mean the username from the login tools?

Code: Select all

<?php echo $_SESSION['username']; ?>
lummis
 
 
Posts: 211
Joined: Sun Apr 24, 2011 9:18 am
Location: UK

Re: Login name

Post by lummis »

Just to clarify what Pablo has said, this needs to be placed as the Initial Value in an Editbox on your Form.
luputu
 
 
Posts: 36
Joined: Sun Feb 17, 2019 4:44 am

Re: Login name

Post by luputu »

thanks Pablo, and to show email from login name?
luputu
 
 
Posts: 36
Joined: Sun Feb 17, 2019 4:44 am

Re: Login name

Post by luputu »

lummis wrote: Mon Dec 20, 2021 12:51 pm Just to clarify what Pablo has said, this needs to be placed as the Initial Value in an Editbox on your Form.
Thanks Lummis, how to show email from login name?
lummis
 
 
Posts: 211
Joined: Sun Apr 24, 2011 9:18 am
Location: UK

Re: Login name

Post by lummis »

Exactly the same but use 'email' in place of 'username'
luputu
 
 
Posts: 36
Joined: Sun Feb 17, 2019 4:44 am

Re: Login name

Post by luputu »

lummis wrote: Wed Dec 22, 2021 7:44 am Exactly the same but use 'email' in place of 'username'
it doesn't work i've tried with <?php echo $_SESSION['email']; ?>
User avatar
Pablo
 
Posts: 21575
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Login name

Post by Pablo »

There is currently no option to display the email address, this information is not store din the session data.
lummis
 
 
Posts: 211
Joined: Sun Apr 24, 2011 9:18 am
Location: UK

Re: Login name

Post by lummis »

Apologies luputu, I thought that it was stored. :oops:
Post Reply