PM RealQuickReply
This modification is in the archives.
I've never really considered including the whole newpm box at the bottom of a pm a very "Quick" way of replying.. So after much tweaking this is what I came up with..
PM RealQuickReply v1.01 Firstly install the attached product file.. Next we need to edit the pm_newpm template. find: Code:
<tr> <td class="tcat">$vbphrase[post_new_private_message]</td> </tr> Code:
<tr> <td class="tcat"><if condition="($_REQUEST['do'] == 'showpm')">Quickreply to $originalposter<else />$vbphrase[post_new_private_message]</if></td> </tr> Code:
<!-- recipients field --> Code:
<if condition="($_REQUEST['do'] == 'showpm')"> <input type="hidden" id="pmrecips_txt" name="recipients" value="$pm[recipients]"> <input type="hidden" name="title" value="$pm[title]"> <!-- message area --> <div class="smallfont">$vbphrase[message]:</div> <div id="$editorid" class="vBulletin_editor" align="$stylevar[left]">$messagearea</div> <!-- / message area --> <else /> Code:
$posticons Code:
</if> Now we need to edit the pm_showpm template. find and remove: Code:
<form action="private.php" method="post"> Code:
$postbit <br /> Code:
$vBeditTemplate[clientscript] $quickpmreply <script type="text/javascript" src="clientscript/vbulletin_quick_reply.js"></script> <form action="private.php" method="post"> Changelog: v1.00 Initial Release v1.01 pm_newpm Edit changed in the hope of a more troublefree install. -------------- Optional Extras -------------- To add support for http://www.vbulletin.org/forum/showthread.php?s=&threadid=100152 (Firstly Install that hack) Then in the PM RealQuickReply Plugin [private_showpm_start] hook find: Code:
$is_quick_reply = 1; eval('$quickpmreply = "' . fetch_template('pm_newpm') . '";'); Code:
$checked['savecopy'] = ($vbulletin->userinfo['advpmoptions_savecopy'] ? 'checked="checked"' : ''); $checked['receipt'] = ($vbulletin->userinfo['advpmoptions_receipt'] ? 'checked="checked"' : ''); $checked['deleteoriginal'] = ($vbulletin->userinfo['advpmoptions_deleteoriginal'] ? 'checked="checked"' : ''); ![]() Download This modification is archived and cannot be downloaded. Screenshots
|