2
Here is an example of something I use. It should get you going in the direction you want.
Place the code in your theme.html file where you want it to appear.
<{if $xoops_isuser}> Hi again <a href="<{$xoops_url}>/user.php"><{$xoops_uname}></a> | <{/if}> <{if $xoops_isuser}><a href="<{$xoops_url}>/user.php?op=logout">Logout</a> <{else}> Welcome to <{$xoops_sitename}>, Guest<{/if}>
Quest