XF 1.4 how to show signup button only for visitor

liveb

Member
Hello

i edited sign up button now visitor when click on sign up button will be redirected to signup page

but this buton signup showed when client login to account
i want show this button only for vistor i used this code :

<xen:if is="!{$visitor.user_id}">
<label for="" id="SignupButton"><a href="{xen:link 'register'}" class="inner">{xen:if $xenOptions.registrationSetup.enabled, {xen:phrase sign_up_now}, {xen:phrase log_in}}</a></label>
</xen:if>
 
Top