Sign-up - immediate access
5 posts by 2 authors in: Forums > CMS Builder: Plugins & Add-ons
Last Post: March 30, 2015 (RSS)
By Toledoh - March 23, 2015
Hi Guys,
I'm sure it's here somewhere but I can't find it.
How can I allow people to sign-up via user-signup.php with Name and Email, then have them logged in - ie, removing the email / password loop?
Tim (toledoh.com.au)
By Dave - March 25, 2015
Hi Tim,
The email/password loop is a key part of the security. If you give immediate access it would allow anyone to make up an email and gain instant access to the site (eg: spammers, etc).
What's the high level objective you're aiming for? Or have you seen this implemented in a way you like on another site?
Thanks!
interactivetools.com
By Toledoh - March 25, 2015
Hey Dave. It's just really an email capture process. A blog site gives away additional arricles to registered users. We are not that fussed if those are fake users.
Tim (toledoh.com.au)
By Dave - March 30, 2015
Hi Tim,
Trying calling this code in the header of the page after any error checking code but _before_ you output any HTML and passing it the new username and password:
loginCookie_set($username, getPasswordDigest($plaintextPassword));
Let me know if that works for you.
Thanks!
interactivetools.com