Log in

View Full Version : i have problem in my template...! please help


asking
05-14-2009, 07:10 AM
hello anyone can help me ?

when user logs in then also register button is shown in the navbar :(

please help me to remove it when user is logged in and it should be displayed only to guests..

plz help.

cono1717
05-14-2009, 07:29 AM
Can you post your navbar template plese?

BlueNinjaGo
05-14-2009, 12:20 PM
ACP -> Options -> User Registration Options -> Allow Multiple Registrations Per User -> No

That should do it IIRC

MrEyes
05-14-2009, 02:02 PM
ACP -> Options -> User Registration Options -> Allow Multiple Registrations Per User -> No

That should do it IIRC

If that doesn't do it then your navbar template is wrong and doesn't include the right checks.

Your "navbar" template (under Navigation / Breadcrumb templates) should include something like this for the register button:


<if condition="$show['registerbutton']">
<td class="vbmenu_control"><a href="register.php$session[sessionurl_q]" rel="nofollow"><span class="highlight">$vbphrase[register]</span></a></td>
</if>

asking
05-15-2009, 02:14 PM
ACP -> Options -> User Registration Options -> Allow Multiple Registrations Per User -> No

That should do it IIRC

you are right mate :)

awesome dudes.. for all your help