Disable Specific User Upgrades for Non-Upgraded Users

Infuscu

Member
Hello,

At the moment it is possible to disable certain user upgrades for people who has ALREADY upgraded, this is doable with the "Disable User Upgrades" function. What I'd like to do is disable certain user upgrades for people who has NEVER upgraded their account. As far as I know this isn't possible with the current options available.

To be more specific, if you look at the following screenshot which shows a user who hasn't upgraded. I would like to hide the last three upgrades for this user. Can anyone give me a hint to how I can achieve that?
1138e0fede2a5a04ee621918fd434a44.png


Thank you :)
Infuscu

PS. I know this is sort of hack for the functionaly I want and I'd like to improve it in the future but for now this is how I am gonna achieve the effect. Expect maybe if somebody has a different approach? :)
 
This requires an addon to extend this function:

XenForo_Model_UserUpgrade::getUserUpgradesForPurchaseList

That function retrieves the list of available user upgrades.
 
Top Bottom