danielfelice
Member
Posted 15 years ago #
Just wondering if anyone knows of a plugin/hack that shows the partial signupform on the mainpage and then when the user fills out the details it redirects to the normal wp-signup page but carries over the values entered in the previous page.
All I want is username and e-mail address and then the user can set rest on the proper form.
Proably something similar to facebook's main page if that helps visualise what i am talking about!
Cheers!
Dan
Not sure if this works but please give it a try:
http://wpmudevorg.wordpress.com/project/login-form-on-my-home-page-
You may want to search the forums as well as other folks have covered this I believe with different solutions.
danielfelice
Member
Posted 15 years ago #
thanks
that plugin adds a login form but not the signup form
i had a look around the forums but havent seen anything
I think this is the start of the form you want;
<form name="loginform" id="loginform" action="<?php echo get_settings('siteurl'); ?>/wp-register.php" method="post">
I'm no expert so can't finish it as it a two sptep process isn't it.
Well the function call that displays the signup form is signup_user:
http://trac.mu.wordpress.org/browser/trunk/wp-signup.php#L222
I haven't tried that but I'd try calling that function to see if it'll display. If it does, it should call the next page as that's what it's supposed to do.