On Sat, Apr 3, 2010 at 8:44 PM, Tim Scharner <[email protected]> wrote:

> For example. I have my main blog example.com and two subblogs
> test1.example.com and test2.com.  New users can write automatically on
> both subblogs?
>

Not automatically. You have to assign them a role for each blog.

Here's a little script I use to automate this:

function setup_users($blog_id) {
        $user_ids = array(2, 31, ...  );

        foreach ( $user_ids as $user_id )
            add_user_to_blog($blog_id, $user_id, 'edit');
}
add_action('wpmu_new_blog', 'setup_users'));

It's very basic, but I'm sure you get the gist of it.


-- 
http://scribu.net
_______________________________________________
wp-testers mailing list
[email protected]
http://lists.automattic.com/mailman/listinfo/wp-testers

Reply via email to