Nicely done. Hopefully, I won't confuse anybody with what I'm about to share, because his hack works perfectly as described. But, I wanted a wee bit more. I wanted to be able to quote a post in a private message to ANY member, not just the author of the post.
To do this, I had to move his code snippet as follows:
In his directions, he said:
Code:
Open file private.php and find the first occurence of:
if (empty($recipients))
{
$pm['recipients'] = '';
}
else
{
$pm['recipients'] = implode('; ', $recipients);
}
Below that, add:
To do the more generic version, that should be:
Code:
Find:
// insert username(s) of specified recipients
if ($_REQUEST['userid'])
Above that add:
(Use his code.)
Then, in the postbit or postbit legacy templates, in addition to the edit he suggested,
Find:
Code:
<if condition="$show['reportlink']"><a href="report.php?$session[sessionurl]p=$post[postid]"> <img class="inlineimg" src="$stylevar[imgdir_button]/report.gif" alt="$vbphrase[report_bad_post]" border="0" /> </a> </if>
Add After:
Code:
<if condition="$show['pmlink']">
<a href="private.php?$session[sessionurl]do=newpm&postid=$post[postid]&userid="> <img class="inlineimg" src="$stylevar[imgdir_misc]/pmquote.gif" alt="Quote post in private message" border="0" /></a> </if>
I'm attaching the image that I used, which I put in the misc images directory