2
you can gain access to the user's details by putting this in the block code:
global $xoopsUser, $xoopsConfig;
/*
Set name to anonymous if not logged in (Block shouldn't be visible for non-logged in visitors, but you never know)
*/
$name = $xoopsConfig['anonymous'];
/*
else get username from user object
*/
if ($xoopsUser) {
$name = $xoopsUser->getVar('uname');
}
After this, you should be able to insert $name where you want it to be.
Note: I just looked into the code and see that the block uses a template. In a template, you can use <{$xoops_uname}> for displaying username