Combine SignUp/Login process
2 posts by 2 authors in: Forums > CMS Builder: Plugins & Add-ons
Last Post: February 14, 2011 (RSS)
Hello,
We've made some small edits to the membership plug-in to allow users to chose their password at sign-up.
However, the only thing I'm having trouble figuring out is how to *not* require the user to enter that same information immediately afterward to login.
Ideally, the new user would just be redirected to the member-only page and see their confirmation message there.
Any suggestions would be greatly appreciated.
Thanks
Dennis
We've made some small edits to the membership plug-in to allow users to chose their password at sign-up.
However, the only thing I'm having trouble figuring out is how to *not* require the user to enter that same information immediately afterward to login.
Ideally, the new user would just be redirected to the member-only page and see their confirmation message there.
Any suggestions would be greatly appreciated.
Thanks
Dennis
Re: [dennisoneil] Combine SignUp/Login process
By Jason - February 14, 2011
Hi Dennis,
You can directly call the plugin's login function. What you have to do is make sure $_REQUEST['username'] and $_REQUEST['password'] have values.
After that, once you've created the use account, you can call the function like this:
Hope this helps
You can directly call the plugin's login function. What you have to do is make sure $_REQUEST['username'] and $_REQUEST['password'] have values.
After that, once you've created the use account, you can call the function like this:
_websiteLogin_login();
Hope this helps
---------------------------------------------------
Jason Sauchuk - Project Manager
interactivetools.com
Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/
Jason Sauchuk - Project Manager
interactivetools.com
Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/