Add Group to All Sites on Multi-Site

I’m using Gravity Forms for User Registration & assign Group on the main site of a multisite.

I’m using “Multisite User Management” to add the new user to all the sites.

How can I make the Group be assigned across the entire network instead of just 1 site?

5 Responses to Add Group to All Sites on Multi-Site

  1. George January 8, 2016 at 12:38 pm #

    Hi Bo,

    I apologize for the delayed response, but this required some custom development.

    You can get the snippet here and paste it in your main’s blog functions.php file in your theme.

    With the snippet, when a group/capability is added to the main blog, these are added to the other blogs as well. Also, when you add a capability to a group, the capability is added to the respective groups on the other blogs as well.

    I would suggest you to check the option to delete all data on deactivation of groups plugin and reinstall it.

    Kind regards,
    George

  2. Bo January 4, 2016 at 5:05 pm #

    Thanks Kento!

    At this point, I’m just going to have a button to “add to group” protected by the membership on each site with the [groups_join group="X"] shortcode.

    Is there any easy way to redirect to a url upon joining? It would be idea if it would be like [groups_join group="Planner" submit_text="Get Started" url="http://domain.com/welcome" ]

    In the case of the multi-site and future development:
    I would want something like (if “planner” group added on main site then add them as “planner” on all other sites / or selected sites). It would be conditional logic, but at least in my case only stem / start from the main site.

  3. Bo December 30, 2015 at 3:51 pm #

    Can you provide any guidance on how I could have this developed?

    I’m using WPMU’s Membership 2 Pro & Multisite User Management which do the network wide memberships & users, but really wanted to use Groups for a major piece of what I’m doing.

    • Kento January 4, 2016 at 1:56 pm #

      Hi Bo,

      The problem I see here is that it’s not as simple as adding a group to all sites in a multisite deployment, you also need to have the users related to their groups on each subsite, have the capabilities related, access restrictions, the checks around all that etc. Here’s a similar request Multisite – Groups across all pages and in fact we’re looking at ways to do this at current.

      If you’d like to provide details on which aspects you need to have shared on your multisite deployment, I’d be happy to take them into account, too.

      Cheers

  4. George December 30, 2015 at 2:49 pm #

    Hi Bo,

    Sorry this feature is not supported by Groups.
    Each group must be configured individually for each blog on a multisite.

    Kind regards,
    George

We use cookies to optimize your experience on our site and assume you're OK with that if you stay.
OK, hide this message.

Affiliates · Contact · Jobs · Terms & Conditions · Privacy Policy · Documentation · Downloads · Useful Plugins · My Account

Share