The MU forums have moved to WordPress.org

WPMU - User registration signup , roles etc. (6 posts)

  1. ledahu
    Member
    Posted 14 years ago #

    Hi all,

    Im new to WPMU and hard working on it.

    Im working for now on registration problem :

    MU-Admin can let Blog's Owner add User :
    -> check box in option : ok
    -> Solution of different problem :
    ---> Make sure in MU-Admin -> Blogs -> Modify that "Users Can Register" field is really set to "1"
    ---> If you have "wmpu-signup-captcha" , edit wmpu-signup-captcha.php and modify last lines to : "

    if (!is_admin()) {
    
    add_action('init', 'signup_init');
    add_action('signup_extra_fields', 'signup_user_captcha_field');
    add_filter('wpmu_validate_user_signup', 'signup_user_captcha_filter');
    }

    Because user-new.php will say captcha is wrong without showing the field when Blog's Owner add manually a user , so this line of code disabled it when call come from admin.

    =>
    At this step , "register" link appear on each Blog's meta widget, and it's cool
    ************************************

    BUT

    The register link send to the MU-root signup !
    AND
    The new registration set the user to the MU-root blog and NOT THE SOURCE!

    So my question and call to help :
    - MyMU on MyDomain.com
    - Boby blog on Boby.MyDomain.com
    - Peter blog on Peter.MyDomain.com

    => Peter and Boby can add/invite manually user, contributor etc. from their admin panel : OK, cool
    => The users they invite are restricted to their blog : OK, cool

    => The registration link for visitor from Boby Blog or Peter Blog send to MyMu signup : Not cool but why not, if no other choice.

    => The vistor registration is registered at MyMu AND NOT automaticly restricted to the Source Blog : Not cool : problem

    In other words :
    Boby blog visitor registration must be restricted to Boby blog
    Peter blog visitor registration must be restricted to Peter blog

    How to ?

    (sorry for my english)

    PJ

  2. cafespain
    Member
    Posted 14 years ago #

    You might want to break that down a bit, because (probably due to a lack of coffee more than anything else) I didn't get any of it other than:

    The register link send to the MU-root signup !
    AND
    The new registration set the user to the MU-root blog and NOT THE SOURCE!

    Been discussed on the forum a few times, try a search.

  3. ledahu
    Member
    Posted 14 years ago #

    :)

    probably due to a lack of coffee more than anything else

    Yep... i know :)

    So im gonna search again

  4. andrea_r
    Moderator
    Posted 14 years ago #

    "=> The vistor registration is registered at MyMu AND NOT automaticly restricted to the Source Blog : Not cool : problem "

    Not really. They only have subscriber rights to the main site and nowhere else. (actually, they can comment on other blogs and be logged in, but they can't do anything else or get in the backend of any other blog)

    They have to be manually added to other blogs, so... if the other blog owners don't know they are there, they can't add them.

    maybe if you explain more by what you mean when you say "restrict".

  5. skozyk
    Member
    Posted 14 years ago #

    ledahu,

    I know exactly what you're talking about. There are quite a few of us that are looking for this functionality and hoping for a solution. I've been working on a plugin for this, but don't have a time table for it's completion. It accomplishes what we're trying to achieve, "per-blog" registrations, but I've found it to break other functions.

    If you find the solution let use know. Here are two other posts about the problem:

    http://mu.wordpress.org/forums/topic/12449?replies=12#post-76502
    http://mu.wordpress.org/forums/topic/9913?replies=17#post-76551

    Thanks.

  6. skozyk
    Member
    Posted 14 years ago #

    ledahu,

    Great solution for the Captcha problem by the way!

About this Topic