14
I tried this code inside newbb_tread.html (overriding default template in themes/modules/newbb folder)
<{php}>
$profile_handler = xoops_getmodulehandler('profile', 'profile');
$profile = $profile_handler->get($GLOBALS['xoopsUser']->getVar('uid'));
$from = $profile->getVar('user_from');
<{/php}>
<{$from}>
No error, but seems to have a $from vble without value (nothing is printed on the screen).
I have to say that in the template there is already a smarty variable that could be used for gather the post authot user id, is $topic_post.poster.uid.
Any other idea to make this work?
thks