• Is there a checkbox somewhere to allow comments on blogs, with the condition that they register only for that blog?

    IE i don’t wish to share user registration across every subdomain, just for any given site. Separate registration should be required per site.

    Is this possible? If so, which settings or plugins allow it?

Viewing 15 replies - 1 through 15 (of 15 total)
  • nope, no settings. It works like wordpress.com – register for the whole network.

    Users do NOT have to sign up for one particular blogs to use the “must be logged in to comment”. The cookies leave crumbs. ??

    unless you;re domain mapping, then all that gets thrown out the window.

    If you want a “members only discussion option”, I figure a plugin or theme edits is the only option.

    Comments are open to registered users of the Network because the comment form checks only for the existence of a $user_ID. To restrict commenting to only members of the specific blog needs a plugin or edits to the theme files(ie comments.php). The solution will require changing checks for !$user_ID to !is_user_member_of_blog( $user_ID ).

    Becoming a member(subscriber) of a particular blog after signup to the network can be done in a roundabout way through the backend or a frontend widget:
    https://www.ads-software.com/extend/plugins/add-users-sidebar-widget/

    Will up this one since that is an essential feature that i dont understand how WP cannot allow that in a multisite environnement.

    The mentioned plugin is EXACTLY what we, multisites owner, need. Unfortunatly its”forgotten” by his author and not updated.

    A “subscribtion request function” for an already member on the network, AND the per site registration should be in the wp core !!!!

    That is just basic…

    i dont understand how WP cannot allow that in a multisite environnement.

    Again, if you look at how wordpress.com operates, then it all makes complete sense.

    This is what you’re using.

    I know, but this is not a real ‘multisite’….

    There is no problem with the global registration. Just need a little function that allow any user to ask for subscription ronleon THIS site.

    Anf this is essentail for newsletters, notificains by mail, forums etc and so many functions that need to use the BLOG subscribers and not the network one.

    I already have the “per site registration plugin”. Just we need the “ask for role on this site”.

    And, sorry but wp.com manage as they want ?? i am not wp.com (yet ^^)

    get_users_of_blog ??

    hi hi i know that ??

    but they first must be subscribers at least on the blog, that is the problematic…

    manually insert them is not an option….

    unfortunatly the plugin mentionned above does that but is forgotten by its author and not updated… iss i told ??

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    You get automatically added to a site (as a subscriber) by commenting.

    The add users sidebar should still work. Are you having an error?

    not tested yet, since mentioned for “2.7”, and saw the code calls for deprecated functions (capabilities, and other files that does not exist anymore) will test anyway.

    thanks for the tips about commenting. did not noticed that. Interesting ??

    BUt the facti is I use domain mapping AND multidomain plugins. will have a try to this plugin anyway nad will report here ??

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    Lotta people use domain mapping and such ?? Same idea, same idea.

    Try the plugin. Should still be working.

    Works fine Thanks !!!

    This is IT ! THE ONE I needed !

    May I ask a tip ?

    How to add a condition in it to recognize the “admin” status ? Since the widget shows the “add me ” button for admins and if admin clic… his role is changed !

    Tried adding && is_admin() line 73 !

    if (isset($userdata->$blog_id_info)) echo '<p>Bienvenue '. $userdata->$display_name .'.</p>'; //message to display if user is already registered
    	elseif (!is_user_logged_in()) echo "<p>Pour souscrire &agrave; ce site, merci de vous connecter !</p>"; //message to display if user is not logged in
    	elseif ((is_user_logged_in())&&(!isset($userdata->$blog_id_info)) && !$userAdded ){

    but unsuccessfully.

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    Hmm. I’d probably do it this way – If the user is NOT an admin, then show it all…

    I haven’t tested this at all, mind you ??

    if ((isset($userdata->$blog_id_info))&&(!is_admin())) echo '<p>Bienvenue '. $userdata->$display_name .'.</p>'; //message to display if user is already registered

    mmm

    nope. but oh… idea… the user tested is admin AND super admin.

    will test now with a simple admin

    and…. mmm nope… still the same. There must be something else. well, will try to analyse that more precisely.

    Thanks anyway ??

    is_admin() tests wether you are in the dashboard.

    current_user_can() will test if a user has a role or capability.

    current_user_can('administrator')

    mmmm understood.

    so current_user_can( $activate_plugins ) or ( ‘aministrator’ ) for example should work ?

    testing it… thanks !

    EDIT :

    works fine with OR condition (|| (current_user_can(‘administrator’))) on line 71.

    Ok now !

    Thanks guys ??

Viewing 15 replies - 1 through 15 (of 15 total)
  • The topic ‘user registration per blog’ is closed to new replies.