1
A user requested for a way to PM from within the forums without clicking on the username. I tried searching for a hack but can't find any, so I just developed one.
<a href="javascript:openWithSelfMain('<{$xoops_url}>/pmlite.php?send2=1&to_userid=<{$topic_post.poster_uid}>', 'pmlite', 450, 380);"><img src="<{$xoops_url}>/images/icons/pm.gif" alt="<{$topic_post.poster_sendpmtext}>" />a>
This script has been working on my site for over a month. It's good to go. Just open your newbb_thread.html template and add that piece of code beside the other buttons inside the conditionals. Choose wisely where you place this button in the template. Do not use this code if you do not understand the conditionals for the buttons in the newbb_thread.html template.
Thanks!