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

Disable Specific User Upgrades for Non-Upgraded Users

Discussion in 'Styling and Customization Questions' started by Infuscu, Mar 13, 2012.

  1. Infuscu

    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?
    [​IMG]

    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? :)
     
  2. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    This requires an addon to extend this function:

    XenForo_Model_UserUpgrade::getUserUpgradesForPurchaseList

    That function retrieves the list of available user upgrades.
     

Share This Page