Welcome

High quality MyBB plugins at your disposal

Hi, I am a passionate developer with modernity and simplicity in mind. MyBBoost is my mansion where you can download my plugins and themes, other than receiving support for them. Several free plugins are available as well as premium ones, all compatible with the latest MyBB releases. You can purchase and download items singularly or purchase a lifetime subscription including a combination of premium plugins and:

  • Priority support
  • Future plugins access
  • Total refund if not satisfied 1
1 Terms and conditions apply. For more informations, read the EULA.

demoting users after expired subscriptions

  • 1
  • 2
andrewjs18 Ultimate 4 Jan Edited
#1
it seems as though when bankpipe demotes a user after they failed to renew their subscription, rather than changing their primary user group to the newly demoted usergroup, it'll just change their secondary usergroup as the demoted user group and leave their primary user group as it was originally. this kind of defeats the purpose of demoting a user account.

also, it seems like bankpipe changes the 'display user group' option from 'use primary user group' to the actual user group the user was originally in.

ideally if a user was demoted, it'd change their primary user group to the demoted user group and have the display user group set as 'use primary user group' so it's not confusing.
Shade Administrator 5 Jan
#2
Got to check that as well, because as I designed it initially, it should reflect each subscription’s type of upgrade - meaning that if the user is upgraded by changing the primary usergroip, he will be demoted by changing the primary group as well. And the option change suggests me that maybe I screwed this up somehow. Will get back at you ASAP.
Shade Administrator 5 Jan
#4
I can confirm BankPipe changes the displaygroup option. But it also switches the user back to the original group according to how the subscription's option is set. There's no other way it could revert the display group other than changing the primary group to the same value. Mind to check again? By looking at the database dump you sent me the other day, the user should have been moved to the usergroup with gid "13". If it has another primary group, I'm quite confident something else might have changed it.
andrewjs18 Ultimate 6 Jan Edited
#5
I can confirm BankPipe changes the displaygroup option. But it also switches the user back to the original group according to how the subscription's option is set. There's no other way it could revert the display group other than changing the primary group to the same value. Mind to check again? By looking at the database dump you sent me the other day, the user should have been moved to the usergroup with gid "13". If it has another primary group, I'm quite confident something else might have changed it.
Shade (5 Jan)
here's my subscription:
[Image: 7bAJHR8.png]

the expected functionality is different than what's listed in the description, at least for the expiry usergroup.
personally I think it the same user group (primary) should be changed when someone buys a subscription and when it also expires. it shouldn't change the 'display user group' option at all, I don't think.
Shade Administrator 6 Jan
#6
Indeed, this is the expected behavior and it should already work like this (except for the display group which is also changed when the primary is changed).
andrewjs18 Ultimate 6 Jan
#7
Indeed, this is the expected behavior and it should already work like this (except for the display group which is also changed when the primary is changed).
Shade (6 Jan)
why is the display group changed though? why not just keep it set to the mybb default of "use primary user group"?
Shade Administrator 6 Jan
#8
The problem is that the display option may be changed by the user himself, so there would be a mismatch if it's set to – let's say – the Merchant group, and then BankPipe changes the primary group to Ex Merchants. I can probably edit it in a way that it changes the option just when it's different from "Use primary group" though.
andrewjs18 Ultimate 6 Jan
#9
The problem is that the display option may be changed by the user himself, so there would be a mismatch if it's set to – let's say – the Merchant group, and then BankPipe changes the primary group to Ex Merchants. I can probably edit it in a way that it changes the option just when it's different from "Use primary group" though.
Shade (6 Jan)
mybb allows users to change their display groups on their own?

it might be best to add a yes/no setting so that an admin can decide whether it wants to allow bankpipe to alter which display user group is displayed. I know on my site, if it's even possible (I'm not seeing it as an option in my user cp on the mybb community forums), I do not allow anyone to modify their display group without admin interaction.
Shade Administrator 6 Jan
#10
Yes, as long as you can access the usergroup manager in the UCP, you can change the display group as an user.
  • 2 participants