Home › Forums › Community Forum › Creating user groups (member level subsets)
Tagged: bbPress, forums, groups, members, permissions, Roles, subsets, user role editor
This topic contains 18 replies, has 4 voices. Last updated by Cristián Lávaque 3 years, 7 months ago.
Topic Author | Topic |
---|---|
Posted: Monday Apr 29th, 2013 at 4:12 pm #48665 | |
|
|
I’m using the latest WP version and bbPress 2.3.1 with s2Member Pro. bbPress seems like it will work for our veterinary organization’s forums. The only thing missing is the ability to add a group of users to a forum… For most forums, we have them restricted based on s2Member level and this is working fine. But for a couple of forums, we need to restrict them based on a smaller group of members, not an entire s2Member level. For example, we have a Board of Directors s2Member level, and a bbPress forum for this. But in the forum, we only want to include a subset of the BOD members, not *all* of them. Is there a way to create a group that’s not all-inclusive of an entire role? |
List Of Topic Replies
Author | Replies |
---|---|
Author | Replies |
Posted: Tuesday Apr 30th, 2013 at 8:23 pm #48843 | |
![]() |
|
s2Member doesn’t have any way to do this natively, but I believe BuddyPress supports groups and forums for these groups. The only other way I can see you setting this up could be to edit the bbPress templates for your theme, and using the Advanced PHP Conditionals that s2Member gives you to protect specific forums. See: Dashboard -› s2Member® -› API / Scripting -› Advanced PHP Conditionals |
|
Posted: Tuesday Apr 30th, 2013 at 9:04 pm #48858 | |
|
|
I can *only* use the forum component of BuddyPress, is that correct? And if I create groups of certain people, will I be able to also use the s2Member roles to restrict access to forums, as well as my new groups? I’m assuming it works pretty much the same way as plain bbPress only with the group ability added… |
|
Posted: Tuesday Apr 30th, 2013 at 9:06 pm #48860 | |
![]() |
|
You can disable a lot of features of BuddyPress, but some will be available no matter what. I believe the main things are the registration page at /wp-login.php?action=register will become /register/ and integrate with your theme, and your members will be given a public profile. It’s not a perfect solution but if you’re looking for some of the solutions that BuddyPress offers that’s the quickest way to get what you need. |
|
Posted: Tuesday Apr 30th, 2013 at 9:44 pm #48865 | |
|
|
My client’s not allowing any front-end registration anyway, so that should be okay… |
|
Posted: Wednesday May 1st, 2013 at 3:01 pm #48939 | |
|
|
Okay – I spoke with my client again and now we’re back to restricting forums by user level, which is great. However, we need to restrict one forum to *only* one s2Member user level – not “this user level AND any above it.” Is there a way to do this with s2Member restrictions? Like maybe with a category or URI? I saw this plugin: http://wordpress.org/extend/plugins/forum-restrict/ But people say it’s not working currently. |
|
Posted: Wednesday May 1st, 2013 at 8:29 pm #48954 | |
|
|
This article may help you with that: Knowledge Base » Levels without incremental access |
|
Posted: Wednesday May 1st, 2013 at 10:09 pm #48973 | |
|
|
Thanks for the link – I’ll read carefully. Because I’m using this to manage access level for a forum, would I be better off using custom capabilities since I can enter them in a field in the bbPress forum editing page? If I used conditionals, I don’t understand how I’d implement it… |
|
Posted: Wednesday May 1st, 2013 at 10:23 pm #48974 | |
|
|
Well, if you want to remove the incremental access and you don’t mind it being that way in the whole website, then removing the capabilities from the roles would be the way. |
|
Posted: Wednesday May 1st, 2013 at 11:23 pm #48980 | |
|
|
Hmm – now that I think about it, I only need this protection on 2 forums, the third one every logged in user can see. But two will see only themselves and the open one. So – level 1 is Members, everyone sees the Members forum. Level 3 is Board of Directors, they can see Members and Board of Directors forums. Level 2 is House of Delegates, they can see Members and House of Delegates forums. So it’s not so much incremental, as locking a forum so that only 1 level can see it, but that level can also see the basic Members forum for all users. Does that make sense? |
|
Posted: Thursday May 2nd, 2013 at 6:28 pm #49050 | |
|
|
Sort of. So you want one forum protected at Level 0 for everyone logged in, another for Level 1 users only, and another for Level 2 users only? Now, you’ll still need to do something to the topic permalinks so they include the board’s slug in them, or it won’t be possible to use the URI restriction to protect all topics in a forum. Please see the documentation for what s2Member can do with bbPress. [hilite path]Dashboard -› s2Member® -› Other Integrations -› bbPress®[/hilite]
|
|
Posted: Thursday May 2nd, 2013 at 6:35 pm #49051 | |
|
|
“Sort of. So you want one forum protected at Level 0 for everyone logged in, another for Level 1 users only, and another for Level 2 users only?” ——— That’s correct. I’m waiting to see if the client is happy with bbPress’ capabilities then will go into this more thoroughly. I just wanted to make sure it CAN be done. |
|
Posted: Friday May 3rd, 2013 at 2:38 am #49091 | |
|
|
Okay. Check the documentation I pointed you to then. And for the role capabilities, editing the [hilite mono]s2member_level2[/hilite] role and remove the [hilite mono]access_s2member_level1[/hilite] capability may be all you need. Remember to lock the roles after you edit so they’re not changed back to default after an s2Member update. Knowledge Base » Locking s2Member Roles/Capabilities |
|
Posted: Friday May 10th, 2013 at 3:50 pm #49707 | |
|
|
Okay – I’m in the User Role Editor plugin now. I want to do this: -edit the s2member_level3 role to remove access_s2member_level2 capability However there are no s2member_level# capabilities listed in User Role Editor at all, nothing to do with s2member except where you choose the role in the select box. Where do I find these capabilities to edit? ————————— And this will fix it so that in bbPress, Level 3 members will no longer be able to see Level 2 forums? That’s what I need. I watched the videos on custom capabilities but I don’t think that will work in this case. If I’m wrong, please advise. |
|
Posted: Friday May 10th, 2013 at 4:00 pm #49708 | |
|
|
Ah – I see now – I got rid of User Role Editor and installed Capability Manager Enhanced. Now I can load s2member_level3 and I see a big array of capabilities – but all the checkboxes are empty. I see access_s2member_level2, an empty checkbox. How do I now remove access_s2member_level2 from s2member_level3’s capabilities? Shouldn’t something be checked by default for Level 3? Just to be clear – if I load any of the s2Member roles, ALL the checkboxes are empty. If I load a default WP role, some boxes are checked. |
|
Posted: Sunday May 12th, 2013 at 3:23 am #49767 | |
|
|
I don’t know, I’m not familiar with Capability Manager Enhanced, but it’s odd that the boxes to be unchecked, since it’d seem to mean that the role doesn’t have capabilities… You can try resetting the roles/capabilities. [hilite path]Dashboard -› s2Member® -› General Options -› Membership Levels/Labels[/hilite] |
|
Posted: Sunday May 26th, 2013 at 7:23 pm #50678 | |
|
|
i’ve been mucking about w this issue as well, restrict forum AND child topics/replies access by user role there is a new plugin in development that works with wordpress members plugin to accomplish this, and it seems to work fine alongside s2member & URE in my testing as well http://www.tehnik-design.com/tehnik-bbpress-forum-permissions/ http://wordpress.org/plugins/members/ http://wordpress.org/support/topic/members-and-bbpress sam |
|
Posted: Wednesday May 29th, 2013 at 11:27 am #50843 | |
|
|
When I logged back in and looked at Capability Manager Enhanced again, boxes were ticked and just unticking the capability for s2Member Level 2 (while adjusting Level 3’s capabilities) worked perfectly. Forums are now restricted the way we wanted. |
|
Posted: Thursday May 30th, 2013 at 2:12 am #50912 | |
|
|
Great! Thanks for the update, Debbie. I’m glad you sorted it out. Thanks for the info, Sam. |
This topic is closed to new replies. Topics with no replies for 2 weeks are closed automatically.