Hooking into Specific forums for Access Rights
Hello bbPress experts,
I have searched through the forums to find some means of restricting user access to content and it looks like some of the solutions revolve around a Membership plugin that exists.
The issue with that is several things, we’re not using User Roles. We’re trying to integrate with the MemberMouse premium plugin and users created via MemberMouse are not assigned roles in wordpress. This makes it useless to restrict access via User Roles. We’re also developing it on Thesis which seems to have a plethora of issues with bbPress regardless (so we have setup the compatibility plugin).
However, MemberMouse does have user levels and tags to call them via wordpress functions. We can restrict other types of content with means like
is_user_logged_in() && mm_isMembershipLevel(2)
So we were looking for a means to hook into the forums to create conditional statements like this.
For the time being we are hooking in the meta box and assigning an ID whether its public or restricted. Unfortunately we couldn’t find any solution letting us hook into the meta box and create restricts using traditional methods like described.
- You must be logged in to reply to this topic.