2
Ups, I just reread your post and see that you want the user interest of the poster. Let me check $xoopsUser and I'll post corrected code.
2 steps:
replace in article.php
le="color: #000000"><?php include XOOPS_ROOT_PATH.'/include/comment_view.php'; include XOOPS_ROOT_PATH.'/footer.php';
with:
le="color: #000000"><?php $userInt=$xoopsUser->getVar('user_intrest'); $xoopsTpl->assign('user_interst', $userInt); include XOOPS_ROOT_PATH.'/include/comment_view.php'; include XOOPS_ROOT_PATH.'/footer.php';
Now go into news_item.html and add this where you want the user interest to show:
le="color: #000000"><?php <{$user_interst}>