Hi everyone,
I was trying to reduce the registration form to just email adress and password fields but didn't know how to make changes.If anyone can guide me to right direction that will be great. is there already a plugin that allows to change the registration page?
Thank You
neupas
info@elgg.org
Security issues should be reported to security@elgg.org!
©2014 the Elgg Foundation
Elgg is a registered trademark of Thematic Networks.
Cover image by Raül Utrera is used under Creative Commons license.
Icons by Flaticon and FontAwesome.
hui. best practice piece of code... thanks @Matt and @Ismayil for sharing this one.
Yes of course, thanks IK!
:)
@Team Webgalll I did override the form and action. made changes to start.php according to your instruction. I am still getting the error, "Your registration was unsuccessful because of unknown error". i can have the file with the same name as in the core right, for example register.php?
@iionly Rightnow i am giving username to make it work, but eventually i would like to remove it.I would check the twitter plugin too.
Thanks
@Matt, should we wrap it up as a tutorial?
@neupas : If you are on elgg 1.8 series the best is to use the code Matt and Ik suggested. The one we posted is for 1.7 series.
@IK - Might as well, this is a *perfect* example of both overwriting a view and extending an action
doing good fellas ;-) i bin watchin quietly..
Guys: You rules. Period.
Thanks a lot for this wonderful tutorial.
@Ismayil and Matt, I made all the recommended changes and tried to register a user.I am getting error,"sorry your username contains character that is invalid". so i used $username=microtime(get_as_float)but still getting the same error. i tried to change the column type for username to float but no success.
Should i completely drop the column and start from scratch?
Regards
neupas
Right, you need a string without spaces... so, do something like str_replace(' ', '', $username); or just use time() that should be unique enough :)
- Previous
- 1
- 2
- 3
- 4
- 5
- Next
You must log in to post replies.