1
Hello, I found a little script to alternate between login and logout depending on what the user is. Here it is:
<{if $xoops_isuser}>
<{$xoops_uname}>
Logout ~
Account<{else}>
nbsp;
Log in of
Registernbsp;
{/if}
It gives me an error, probably a stupid one:"syntax error: unclosed tag {else}". How do i close it?
And also, i'd like to display the user name, like: Welcome, anonymous, Welcome (name). Can u help me with this one? Thanks