• 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?

Mike Edge

Formerly Da Bookie Mon
#4
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

Well-known member
#5
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.
So all the usergroup conditionals would work? If that's the case i can make it work.
 

Mike Edge

Formerly Da Bookie Mon
#6
So all the usergroup conditionals would work? If that's the case i can make it work.
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}">
denied!
<xen:else />
template goes here
</xen:if>