The subscription is currently set up so that when they purchase the Paid Subscription called X, their primary usergroup gets changed to X, so that they have the user title and color, and permissions associated with usergroup X. Usergroup why is set up so that they get everything associated with usergroup Y.
The issue is this, I'll attempt to explain it again.
When they purchase X, for say $5, they are changed into the primary usergroup of X. Now, if they purchase usergroup Y, for say $10, they are changed into the primary usergroup of Y.
The problem comes that they should still have the access rights to usergroup X as well, because they did pay for it. So, Y (since it is the most recent paid subscription for that user) should be set as the primary usergroup, and their old primary usergroup of X should be changed into an "additional usergroup" (secondary).
Do you follow? This isn't as much for forum access than it is for something else. The point here is that I need to have the subscription script check to see if they have a currently active subscription, and if they do, move that subscription usergroup into an additional usergroup, and set the primary usergroup to that of the newest subscription (the second one, Y).
|