10
To get user_avatar this way is a dirty way.. but it could run!
Insert in "viewpmsg.tpl" file
into the <{foreach item=message from=$messages}> loop
this Smarty code
le="color: #000000"><?php <{php}> $user_handler = xoops_getHandler('user'); $posterObj = $user_handler->get($GLOBALS['message']['posteruid']); echo $posterObj->getVar('user_avatar'); <{/php}>
Good luck!