Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
general-topic
Compatibility with Membership plugins
Avatar
dogsday
Member
Free Members
sp_UserOfflineSmall Offline
Jul 28, 2018 - 4:38 am

Hi there,
Do you have any experience of integrating Simple-Press with the MembersPress plugin (https://www.memberpress.com/)?

I’m running MemberPress on a couple of sites to manage membership access to content and was hoping to use SP as a forum option instead of bbpress,

A basic configuration would be, say, three membership levels - Bronze, Silver, Gold.
There would be access to (WP) content depending on membership, so, say,
Bronze = Copy only
Silver = Copy plus audio
Gold = Copy plus audio plus video

and also specific forums, so
Bronze = Bronze Forum only
Silver = Bronze plus Silver fora
Gold = Bronze, Silver and Gold fora.

I can simply create rules for content access within Memberpress for such a configuration but I can’t seem to get the appropriate rules to work with SP.
An example would be that a Bronze membership would allow access to the group http://mysite.com/forum/bronze.....ship-group but as this url doesn’t actually exist within WP environment (only http://mysite.com/forum/) I can’t create an access rule for it.

Here’s how it’s managed with bbPress.
https://memberpress.com/add-a-.....h-bbpress/

If integration with MemberPress is not possible, could such a configuraion be achieved with appropriate SP plugins or any other membership access plugins that you know of?

Thank for any insights that you can share

DD

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Jul 28, 2018 - 11:08 am

Afraid I am not familiar with that particular membership plugin... However, if it uses the standard wp hooks, and the user/user roles system, it should be compatible...

and the bronze forum url does actually exist in the wp environment, there just isnt a physical wp page for it... but the wp rewrite rules and canonical url for it all exist... it seems to assume wp pages are static which is a bad assumption...

but more to the point, if it uses wp users and roles, it should still be supportable...  when it creates a membership level, does it also create a wp role? so when a user is granted membership, does it take on the wp role?  if so, then you can simple map the wp role for the membership to the specific forum membership...  so when user gets membership in site membership, it would also automatically gain access to the forum membership and have access to the forum...

even if this membership plugin decided to forego following wp user standardization, it may still be possible if it uses standard wp user hooks or fires its own hooks on gaining membership..  if it uses the wp user creation and update process, hooks will be fired that tell simple press something has happened with a user...  or if it fires its own wp action/filter when a user gets membership, simple press could hook into this action/filter and take appropriate action to grant the user forum membership... this would require a very small plugin to watch for the hook and then take action...

Avatar
dogsday
Member
Free Members
sp_UserOfflineSmall Offline
Jul 29, 2018 - 3:50 am

Thanks for the comprehensive answer.

I don't know the answers to the specifics that you raise on user/user-roles and will revert them to MemberPress support.

On other installations that I have, the access to content is managed by a subscription being active and, then, the access rules granted by that subscription. I don't think that user-roles are created for different memberships, but I'll find out.

Thanks again for your help.

DD

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Jul 29, 2018 - 10:35 am

let us know what you find out or if you have any more questions..

Avatar
dogsday
Member
Free Members
sp_UserOfflineSmall Offline
Jul 31, 2018 - 3:56 am

This just came in from MemberPress...

 

Can you not then just use our User Role addon to grant your users the roles you want? That addon will automatically add and remove the user role of choice based on the status of the membership. Just note that this addon works by adding the role you set in addition to whatever your Default WP user role is (e.g. subscriber), so keep that in mind.

Anyways, you can learn more about that addon here: https://docs.memberpress.com/a.....user-roles

As to their question, we use the standard procedures for adding user roles that WordPress has. The exception tot his is the above addon.

Thanks,

 

So sounds like it's doable. I'm going to give it a go on a test setup.

Thanks

DD

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Jul 31, 2018 - 4:02 am

That sounds like what you need.
Please do let us know how it goes.

andy-signature.png
YELLOW
SWORDFISH
Avatar
dogsday
Member
Free Members
sp_UserOfflineSmall Offline
Aug 2, 2018 - 6:46 am

Hi again.

I managed to get a basic site configured with different Group and Forum access by Membership using MemberPress (MP). A bit fiddly with multiple user groups and memberships, but doable with a clear head.

I need to test further with expired memberships as the first one didn't clear when membership was canceled in MP (user still showing as member in AdminCP>Forum>UserGroups>ManageUserGroups). I can't see any reason why it shouldn't work, so have set up a couple of tests to check further.

I see that you've reopened Memberships, which is good news as SP is now my prefered solution for the project that I'm working on. Are you open for bespoke devt work too?

Thanks

DD

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Aug 2, 2018 - 11:34 am

A user/member will be deleted from the forum when the appropriate WP 'delete user' hook is actioned. If this is not being called by your membership plugin (as it should be) then that woiuld explain the problem.

The same applies to WP role changes if your SP user groups are mapped to WP roles. So again - if your membership plugin does not action the role change WP hook then the forum is unaware that anything has changed.

andy-signature.png
YELLOW
SWORDFISH
Avatar
dogsday
Member
Free Members
sp_UserOfflineSmall Offline
Aug 2, 2018 - 2:45 pm

Thank you for that.

I'll do some more testing and let you know the outcome.

DD

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Aug 2, 2018 - 3:34 pm

OK - We'll be here

andy-signature.png
YELLOW
SWORDFISH
Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Mr Papa: 19448
Ike: 2086
Brandon: 864
kvr28: 804
jim: 650
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 619
Members: 17362
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10127
Posts: 79625