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

User Upgrades

Discussion in 'XenForo Pre-Sales Questions' started by chillybean, Sep 23, 2011.

  1. chillybean

    chillybean New Member

    I know you can create a paid user upgrade and provide your paypal account email, but I'm a bit puzzled by how this works, on the user's end? What sort of interface does this require, for the user to upgrade? Does something automatically appear on the site that they can click, or is there something you have to produce?
     
  2. Brogan

    Brogan XenForo Moderator Staff Member

    There is a link on their menu/profile they can click.

    account-upgrades.PNG
     
  3. chillybean

    chillybean New Member

    Thanks!
     
  4. Brogan

    Brogan XenForo Moderator Staff Member

    Which will take them to this page.

    upgrades.jpg
     
  5. chillybean

    chillybean New Member

    Can upgraded groups turn off ads? How would this be done?
     
  6. Brogan

    Brogan XenForo Moderator Staff Member

  7. chillybean

    chillybean New Member

    Thanks. I was unaware that you had to create a user group for upgrades; I thought this was automatically done when the upgrade was created. I guess you need to do both?

    You'll have to forgive me; I'm not a technical person, so I'm not sure I understand the info in your link. Can you be a bit more specific? I create the upgraded group, and then what? Create a user group, too? If I wanted to block ads for this group, where would the code go, and what would it be?
     
  8. Brogan

    Brogan XenForo Moderator Staff Member

    User upgrades and user groups are separate although they do work in conjunction with each other.
    You can add one or more user groups to a user upgrade.

    User groups are covered here: http://xenforo.com/help/user-groups/

    User upgrades are here: http://xenforo.com/help/user-upgrades/

    The normal sequence is to create a new user group, if required.
    Create the upgrade and link it to the new (or existing) user group.

    To block adverts to a specific group, add a user group conditional to the relevant ad_ template.
    For example:
    <xen:if is="!{xen:helper ismemberof, $visitor, 5} AND !{xen:helper ismemberof, $visitor, 6}">
    This advert will be hidden from members of user groups 5 and 6
    </xen:if>
     
  9. chillybean

    chillybean New Member

    Thank you. Perfect!
     
  10. chillybean

    chillybean New Member

    Another really, really dumb question (I'm trying this out in the demo, that's why I need to know). I can't seem to find the user group ID numbers. Where would I find them?
     
  11. Brogan

    Brogan XenForo Moderator Staff Member

    Hover over the user group in the group listing and the URL will appear bottom left of the browser.
    Or click on a group and the URL will load in the address bar.

    The ID is after the user group name.

    For example: admin.php?user-groups/administrative.3/edit
     

Share This Page