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

XF 1.3 How to stop account upgrade before registration is approved?

Discussion in 'Troubleshooting and Problems' started by Blue, Jun 12, 2014.

  1. Blue

    Blue Well-Known Member

    I have people that purchase account upgrades before their account is approved, How can I prevent this?
  2. Liam W

    Liam W Well-Known Member

    You would need an addon.
  3. Blue

    Blue Well-Known Member

    Addon or not. There should be some type of permission control of the account upgrade system.
  4. The Forum Heroes

    The Forum Heroes Well-Known Member

    Use a <if> statement on the upgrade template with a error message stating your account has not been approved yet to use this feature <else> show template info.
    Blue likes this.
  5. Blue

    Blue Well-Known Member

    So all the usergroup conditionals would work? If that's the case i can make it work.
  6. The Forum Heroes

    The Forum Heroes Well-Known Member

    Yes, I don't see why it shouldn't. Just be sure to use else in the statement or they will see both the warning and the template..

    Something like..

    <xen:if is="{xen:helper ismemberof, $visitor, 5}">
    <xen:else />
    template goes here
    Blue likes this.
  7. Blue

    Blue Well-Known Member

    The Forum Heroes likes this.

Share This Page