I was wondering if it’s possible (without too much hacking) to bring WordPress registration form to user front end, that is include it in one of page templates and display in par with looks and design of the whole website.
Another thing that I’d like to do is to modify the registration form itself (the standard WP one or the one mentioned above) and add another input field to it.
What I’d like to do is keep users completely from seeing the WP admin panel but still give them possibility to register and choose their own password, as well as require registering users to fill additional input fields and then run some checks before they can register.
If you know some WP functions that would let me to interfere with registration process or maybe a plugin that already does that – please let me know.
- Author had a File in an Envato Bundle
- Author was Featured
- Bought between 1 and 9 items
- Europe
- Exclusive Author
- Has been a member for 2-3 years
- Item was Featured
- Referred between 100 and 199 users
Beautiful, thanks. Looks like TF forum is my friend also. 
- Author had a File in an Envato Bundle
- Author was Featured
- Bought between 1 and 9 items
- Europe
- Exclusive Author
- Has been a member for 2-3 years
- Item was Featured
- Referred between 100 and 199 users
Hope it helps
I did not test it out
It will surely help, thanks. One thing that bothers me is if it’s possible to prevent users from registering if they haven’t provided a custom information that I require.
The thing is that even if I build my custom registration form, users will still be able to visit wp-login.php?action=register and register without providing the custom info.
Disable registration in WP-Admin, use wp_insert_user.
Thanks, didn’t know about the wp_inset_user function. This should do the trick. 
You can do quite everything with wordpress own functions, like the mentioned wp_insert_user or just simple version of it wp_create_user. You can make a form where the user can change his password or any other custom meta information, all of this on frontend. If you want to deny access to wordpress admin panel (or user panel in this case) 1) don’t put any links pointing to it 2) add an action to “admin_init” and determine whether the user is capable of access to the admin panel (eg. user_level is 10 = admin), otherwise redirect the user or just simply die() on him.
Or you could just… y’know:
http://codex.wordpress.org/Function_Reference/add_roleand give him no permissions.
Right, I think that disabling normal registration and creating custom registration form which uses wp_insert_user or wp_create_user will be the best option here. I will make use of Smagucz’s advice and do a capability check on admin pages, then redirect users without sufficient capabilities to a custom forms where he would be able to change his password, email etc.
Do you guys think that wp_insert_user or wp_create_user functions sanitize the input?
