Hi Andrea,
Thanks for that tip! I don't have any idea of BP, will download it and have a look.
On my site, once a user signs-up for a blog, the admin reviews his registration and then approves/denies it. I am looking at this plugin and also your tutorial. By the way Andrea, did I mention what an amazing resource wpmututorials.com is!! Thank you so much for putting up such step-by-step instructions for going about things, awesome read!
Well, in my case, after the admin approves the blog, the blog-signer gets automatically redirected to this extended-signup page depending upon his blog-type(startup-signup.php / member-signup.php) and HAS to fill in the additional details before blogging.
Right now, my form structure is something like follows (it's in my custom-theme sub-directory):
<?php
/**
Load the WordPress environment and template.
*/
require('../../../wp-blog-header.php') ;
/**
Define the d/b table constants
*/
....
....
/**
Pick up the blog-id of the user
*/
$blog_id = blah blah
if($action == 'add')
{
//capture the form data elements, fire the inserts, every inserted row contains '$blog_id' as the main reference key and then the other column data such as blog owner's name, profession, designation etc etc
}
?>
<form name=".." method=".." action=".." />
.......
.......
.......
My custom form
.......
.......
</form>
I feel, its a very raw kinda way of executing things, although it does work. I need to integrate this with the core seamlessly, maybe as a template, maybe as a plugin, just not sure how to go about it.
Many thanks,
Sib.