[wp-testers] More than one Dashboard Site possible?

Deanna Schneider deanna.schneider at gmail.com
Sat Apr 3 19:28:15 UTC 2010


I wrote this plugin to do that. Not yet tested with 3.0, though:

http://wordpress.org/extend/plugins/wpmu-default-user-role/


On Sat, Apr 3, 2010 at 1:34 PM, scribu <scribu at gmail.com> wrote:
> On Sat, Apr 3, 2010 at 8:44 PM, Tim Scharner <info at screenfluid.de> 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
> wp-testers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-testers
>


More information about the wp-testers mailing list