Log in

View Full Version : for a template in vb what would if statement...


fearfx
03-16-2008, 06:50 PM
Would would an if statement looked like if I wanted to do this.

if user is logged in show "Welcome Back | {username}"

if user is not logged in I want to show "Login | Register"

the register and login being links.

Thanks for the help.

SEOvB
03-16-2008, 07:47 PM
<if condition="$show[member]">
Welcome Back |$bbuserinfo[musername]
<else />
Login | Register
</if>