Membership - Creating groups limited by Membership type?

Is there a way that I can add a list on the groups creation settings page that will allow the creator to limit the group to certain membership types only?

Right now you can select public, private, hidden & an admin can go into backend and limit group to certain type of membership, but doesn't look like a member who is allowed to create groups can go ahead and limit it themselves.

Any way to make this work?

While I'm at it how do you add the membership name to a members profile or members listing.

  • Mason
    • DEV MAN’s Sidekick

    Hiya JoseffB,

    I haven't seen anyone do something like this, but you'd have to hook into Membership's level function both for the display during group creation and put a check for those levels when someone tries to access the page.

    Check out membership/membershipincludes/classes/class.level.php and I'll ask a couple developers to drop in with more specific instruction.

    Thanks!

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.