• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Limit account upgrade to certain usergroup

S

Syndol

Guest
#3
You could reverse the logic and hide the upgrade from all other user groups by removing it from the upgrade list in Model/UserUpgrade.php
 

Andy.N

Well-known member
#4
This sounds like a limit in xf upgrade. If i have an upgrade that allow members six months access and i want these members to extend their membership by one month upgrades.
These are paid upgrades do it does not make sense to do it manually
 

jonsidneyb

Well-known member
#6
You could reverse the logic and hide the upgrade from all other user groups by removing it from the upgrade list in Model/UserUpgrade.php
Lets say I have 7 different upgrades and I wanted 4 of them to be available to everyone and 3 only available to certain people. Would what you suggest work?