Topic: email as username
Hi,
When new users try to register to punbb, how is that possible that tehy give only their email and then the first part of the email will be their username. (myname@gmail.com then username will be myname).
You are not logged in. Please login or register.
PunBB Forums → PunBB 1.2 troubleshooting → email as username
Hi,
When new users try to register to punbb, how is that possible that tehy give only their email and then the first part of the email will be their username. (myname@gmail.com then username will be myname).
Won't this become a problem if you have one user with the email myname@gmail.com and one with myname@hotmail.com for example?
hmm. not really! because all users of my forum are the students of a university, with a unique email address.
P.S: The problem is that the first part of email is unique and each student have 2 or 3 emails like:
myname@univ.edu.com
myname@hum.edu.com
Thata's why I need the first part as username. I use a code something like this:
substr($string, 0, strpos($string, "@"));
that gives me the first part of an email, but I got problem to use it in register.php
PunBB Forums → PunBB 1.2 troubleshooting → email as username
Powered by PunBB, supported by Informer Technologies, Inc.