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

[Profile Cover] Usergoup permission: Display Profile Cover

Discussion in 'Add-Ons Suggestions' started by alfa1, Jun 20, 2016.

  1. alfa1

    alfa1 Active Member

    Messages:
    453
    Likes Received:
    181
    Trophy Points:
    43
    A very important function for me is a usergroup permission 'Display Profile Cover'
    This permission will only allow specific usergroups to display a profile cover. So we can use account upgrades to give our paying members a profile cover.
    If the account upgrade ends, the profile cover will no longer display.

    Please add this.
     
  2. alfa1

    alfa1 Active Member

    Messages:
    453
    Likes Received:
    181
    Trophy Points:
    43
    Will this work?

    <xen:if is="{xen:helper ismemberof, $user, x}">template content</xen:if>
    Where can I put it?
     
    Last edited: Jun 21, 2016
  3. Nobita

    Nobita Staff Member Tech Support

    Messages:
    3,098
    Likes Received:
    1,170
    Trophy Points:
    113
    I think this is ready to use. If you did not have this permission: Upload cover then no cover display on your profile.
     
  4. alfa1

    alfa1 Active Member

    Messages:
    453
    Likes Received:
    181
    Trophy Points:
    43
    But when the account upgrade expires the cover needs to disappear. I want to offer the cover as an account upgrade function.
     
  5. Nobita

    Nobita Staff Member Tech Support

    Messages:
    3,098
    Likes Received:
    1,170
    Trophy Points:
    113
    Of course. Expires then remove secondary groups. Make sure the target groups did not have permission to display cover.
     
    alfa1 likes this.
  6. alfa1

    alfa1 Active Member

    Messages:
    453
    Likes Received:
    181
    Trophy Points:
    43
    Oh wow. That's great Nobita. I will buy this. :)
     
    Nobita likes this.
  7. alfa1

    alfa1 Active Member

    Messages:
    453
    Likes Received:
    181
    Trophy Points:
    43
    Bought it. It works nicely! :)
     
    Nobita likes this.