2
take a look at this old thread..maybe you can get some idea
:: view by group
https://xoops.org/modules/newbb/viewtopic.php?post_id=325512#forumpost325512
https://xoops.org/modules/newbb/viewtopic.php?topic_id=32938
:: calling custom field from profile module
https://xoops.org/modules/newbb/viewtopic.php?topic_id=68104
https://xoops.org/modules/newbb/viewtopic.php?topic_id=68867
https://xoops.org/modules/newbb/viewtopic.php?post_id=301524#forumpost301524
you can do this in profile module...but not sure if this possible to refrence it outside profile module
example in profile/userinfo.php you can put this at the end end some where before line with //userinfo
$mycustomfieldname = $profile->getVar('mycustomfieldname');
$xoopsTpl->assign('mycustomfieldname',$mycustomfieldname);
in profile template you can use this
<{$mycustomfieldname}>