• Resolved Dot 07

    (@dot07)


    Excellent plugin.
    I just have a question or two. Are you planning on providing an option to assign (via admin) specific role to a specific group?

    I have everything set up and it is great. I don’t need to have new members choose which group they want to be in. I have the option to select the role upon registration (with my plugin).

    What I would like is to simply have the option in your plugin to assign an existing (custom or default) role to a group and have that option for each group I create, and not have to manually add users to the group as it seems to be now.

    I just need that one connection between role and group.

    Is this option in the future of this plugin. I could use it yesterday. ??

    https://www.ads-software.com/plugins/bbp-private-groups/

Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Author Robin W

    (@robin-w)

    good question !

    The issue is producing a way to do this that fits the many different implementations of how people are using this plugin.

    What I am thinking might work is to produce a page that shows ‘new’ users – ie those that have registered since the last time, probably as a filter within the dashboard>settings>privte groups>user management.

    That way you can quickly assign a group (or indeed not) to those that have registered since you last looked.

    The problem with having some form of default group is that any sort of automatic registration means that someone can register and immediately have access to what is inherently a private group.

    What I would like is to simply have the option in your plugin to assign an existing (custom or default) role to a group and have that option for each group I create, and not have to manually add users to the group as it seems to be now.

    Please do come back and explain further how you would want it to work, ie give me a process – user does this, you get email, you do that etc. etc. as your thinking will help me.

    Thread Starter Dot 07

    (@dot07)

    Hi @robin W,

    Thanks for your quick reply.

    With most membership plugins, access to various features of a website are determined by either role or membeship level or plan. And with those that use membeship level or plan, many of them are able to assign a role to the level or plan. Everyone in a given membership has equal access. If one has access to private areas, everyone in the membership level or plan has access to those private areas.

    If you were to add an option in the admin area (let’s say where you allow creation of groups) to assign a role to the created group, you would streamline what will otherwise be a prohibitive amount of work on a popular site.

    I’m not talking about a WP site where just a default role is given where admin has to go in and manually change roles. I’m talking about the many sites that run memberships.

    Just that one option for each group would turn a potential nightmare (for a busy admin) into a pleasant, easy solution for providing access to private forums to a group of members who already have access to what otherwise is considered private areas of the rest of the site.

    I’m not talking about changing your plugin to do anything by default. I’m talking about allowing admin the “option” to use what they already have set up, to access forums in the same way they do everything else, when running a membership plugin. That one option would add integration to membership plugins by using the role assignment where there currently is no integration.

    I hope that didn’t muddy the water too much.. ??

    Plugin Author Robin W

    (@robin-w)

    no, that was very helpful.

    So

    1. users use the membership plugin to pay/join.
    2. The plugin assigns that user to a custom role in place of the normal wordpress role.

    You would like an option within private groups to automatically assign all users
    with a custom role of a to a private group of x
    with a custom role of b to a private group of y
    etc.

    Is that in essence it?

    Thread Starter Dot 07

    (@dot07)

    Yes, that would be pretty much it. With the exception of in your item 2. where you say “in place of the normal WordPress role.” it could be that the membership plugin uses a normal WordPress role, or it could be a custom role. So, any existing role, default WP or custom.

    Other than that, yes. I believe that is it.
    So, when someone signs up for where a role is assigned to the user and that role is assigned to a group, they are made a member of that group as well. No more admin intervention (in those cases).

    Plugin Author Robin W

    (@robin-w)

    ok, I’ll have a think

    I appreciate that you’d like it yesterday, but I need to hook it to registration, and I’ll need to research what to do.

    Also I’m building a site at the moment for a client, so that takes priority – sorry that’s life ??

    Thread Starter Dot 07

    (@dot07)

    I would like everything yesterday. That way I could complain that nobody told me about it. lol long day..

    I didn’t think to accomplish this end of it registration would have to be hooked into. Now I have to look that up.

    Sure, I understand.. eating and paying bills.. goes along with providing free plugins and themes.. sometimes free has to wait a little.

    Have fun ?? And thanks

    Plugin Author Robin W

    (@robin-w)

    Ok I think I have now got what you want working, I’ve just finished it.

    I am away this weekend and need to tidy up and publish, but hopefully you’ll have a solution early next week !

    Plugin Author Robin W

    (@robin-w)

    ok, now finished, please try it and let me know if it is useful, or what needs changing !

    https://www.rewweb.co.uk/bbp-private-groups/

    Plugin Author Robin W

    (@robin-w)

    marking as resolved !

    Plugin Author Robin W

    (@robin-w)

    marking as resolved !

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Assign Role to Group’ is closed to new replies.