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
Aug 3, 2018 - 4:04 am

Thanks

I've needed to revert to to MP for clarification as something is not right. Here's what happens at the MP end.

When a subscription is purchased, an additional user role and a subscription status is added to the user. SP picks up this user role from the mapping and assigns the correct forum access based on rules. Great.

At the end of a subscription period, MP changes the status from 'Active' to 'Inactive' but leaves the user role alone. SP therefore sees no change and leaves user access as is, even though the user subscription has expired.

Until I hear back from MP, I don't know if retaining the additional user role as a bug or a feature and how they would suggest dealing with it (I'm sure that if there's a hook for status, a few lines of code, somewhere, could sort it?).

Cheers for now

DD

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

Agreed. The WP role should also be removed from that user

andy-signature.png
YELLOW
SWORDFISH
Avatar
dogsday
Member
Free Members
sp_UserOfflineSmall Offline
Aug 7, 2018 - 7:16 am

Hi.

I'm making some progress with MP tech support and understand better how the additional user roles are managed withing subscriptions

So I have now set up and run a set of subscriptions against users, whose additional user roles are removed when the subscription expires (See attached screenshot of sample users showing just a single user roles).

Now, when I login as a user with an expired subscription, DogsBronze,I am still getting access to the Bronze forum within SP (DogsBronze use role is mapped to Dogs Bronze forum), Interestingly, when I navigate to SP UserGroups, the test users DogsBronze and DogsSilver are still showing as active for the relevant user group (other screenshot).

I think that I must have a setting/option missing/incorrect within SP that automatically updates the user-usergroup mapping. Or something equally else dull that I have done.  Please can you point me where to look?

Thanks very much

DD

UserGroups-2018-08-07-at-11.59.31.jpgImage EnlargerUserRoles-2018-08-07-at-11.58.44.jpgImage Enlarger

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Aug 7, 2018 - 12:35 pm

A bit confused by the question... Are you saying that users remain in an SP UserGroup when they should be removed from it? If so are you allowing users to belong to more than a single UserGroup? And if so and that is wrong then take a look at the forum admin > User Groups > Map Users to User Groups where at the top you can check the option 'Users are limited to single usergroup membership'.

You can also re-map the users here to ensure things are set correctly according to all the rules you have set up.

And if I am missing the point then I will, perhaps, need a little more detail to fully understand the issue...

andy-signature.png
YELLOW
SWORDFISH
Avatar
dogsday
Member
Free Members
sp_UserOfflineSmall Offline
Aug 7, 2018 - 3:37 pm

Hi YS,

in answer to your first question... "Are you saying that users remain in an SP UserGroup when they should be removed from it?" I think the answer is yes.

I have the users/usergroup map set up as per the attached screenshot, with only a single usergroup permitted, which I think is the required setting.

Then, as per previous post, a user who no longer has the additional use role bronzeuser (for example) still has access to the usergroup Bronze Member (Forum 'home' page also attached).

Hope that makes some sense for you.

Thanks

DD

Usergroupmap-08-07-at-20.26.29.pngImage EnlargerForumAccess-BronzeMember2018-08-07-at-20.32.59.pngImage Enlarger

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

If the settings have been changed after data has been created then you really ought to run the mapping task at the bottom of that admin screen which will rebuild the mapping based on the current roles to user group relationships. That will ensure things are correct and will soon show up if there remains a problem.

andy-signature.png
YELLOW
SWORDFISH
Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Aug 7, 2018 - 3:42 pm

If the settings have been changed after data has been created then you really ought to run the mapping task at the bottom of that admin screen which will rebuild the mapping based on the current roles to user group relationships. That will ensure things are correct and will soon show up if there remains a problem.

andy-signature.png
YELLOW
SWORDFISH
Avatar
dogsday
Member
Free Members
sp_UserOfflineSmall Offline
Aug 7, 2018 - 3:51 pm

OK

but before I do that, what I'm trying to understand is: When there is a change to a user's additional user role within MP/WP (which there will be If/When their subscription expires, which will remove additional roles) Will SP automatically update their forum access based on mapping OR do I have to do this manually?

DD

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Aug 7, 2018 - 4:24 pm

IF the plugin you are using abides by the WP rules, protocols and APIs then the answer is yes. Now most plugins do - but we still come across the odd one very now and then that does not.

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

Hi,

ok so MP runs a daily cron job which clears out additional user roles from expired subscriptions. This explains why I was seeing a delay in the updating of user role profiles.

So now I still have users with no additional user role but who still have forum access based on the user role > user group mapping (I've not yet run the manual mapping refresh in SP).

MP say that they conform to WP rules etc and I have found their application to be robust and reliable on live sites, so I feel a but stuck between two places to turn to get this resolved.

Any suggestions gratefully received.

Thanks

DD

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: 649
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 616
Members: 17344
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10117
Posts: 79600