Limit account upgrade to certain usergroup

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
 
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
 
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?
 
Top Bottom