Quote:
Originally Posted by stomph
I got the link to the original post added in the PM by copying one line and phrase over from Andreas' hack:
1. Modify Plugin
In the plugin Quote Post in PM, find:
Code:
eval('$pm[message] = "' . fetch_template('newpost_quote', 1, 0) . '";');
After, add:
Code:
$pm['message'] = construct_phrase($vbphrase['in_reply_to_your_post_x'], $postinfo['postid'], ($postinfo['title'] ? $postinfo['title'] : $postinfo['postid'])) . "\n" . $pm['message'];
2. Add a new Phrase:
Variablename: in_reply_to_your_post_x
Text: In Reply to your Post [post={1}]{2}[/post]:
|
Works perfect after this!
One exception you need to add this code to the link with the image in your postbit or postbit_legacy
u=$post[userid]
She forgot to put this in her instructions for edits.
Here is her code:
Quote:
<if condition="!$post['forwardlink']"><a href="private.php?do=newpm&postid=$post[postid]"><img class="inlineimg" src="$stylevar[imgdir_misc]/pmquote.gif" alt="Quote this post in a PM" border="0" /></a></if>
|
Here is what it should be:
Quote:
<if condition="!$post['forwardlink']"><a href="private.php?do=newpm&u=$post[userid]&postid=$post[postid]"><img class="inlineimg" src="$stylevar[imgdir_misc]/pmquote.gif" alt="Quote this post in a PM" border="0" /></a></if>
|
That's it!
Thanks for everyone who made this mod work been waiting on it for LONG time.