Remove Quick Reply From PM's
This makes quick reply go away when viewing a PM.
AdminCP> Styles & Templates> Style Manager< Your Syle> Private Messaging Templates> pm_showpm Replace the whole thing with HTML Code:
<if condition="$show['receiptprompt']"> <script type="text/javascript"> <!-- <if condition="$show['receiptpopup']"> if (window.attachEvent) { window.attachEvent('onload', askReceipt); } else if(window.addEventListener) { window.addEventListener('load', askReceipt, false); } function askReceipt() { doReceipt(confirm("$receipt_question_js")); } </if> function doReceipt(yesno) { // do image method too to get around popup blockers var img_obj = new Image(); img_obj.src = "private.php?$session[sessionurl]do=dopmreceipt&type=img&pmid=$pm[pmid]&confirm=" + (yesno ? 1 : 0); if (yesno) { fetch_object('receipt').style.display = 'none'; } } // --> </script> </if> <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center" style="border-bottom-width:0px"> <tr> <td class="tcat"> <div class="normal" style="float:$stylevar[right]"> <if condition="$show['reportlink']"><a href="private.php?$session[sessionurl]do=report&pmid=$pm[pmid]" rel="nofollow"><img class="inlineimg" src="$stylevar[imgdir_button]/report.gif" alt="$vbphrase[report_bad_private_message]" border="0" /></a> </if> </div> $vbphrase[private_message]<span class="normal">: $pm[original_title]</span> </td> </tr> <if condition="$show['recipients']"> <tr> <td class="alt1"><if condition="$ccrecipients"><strong>$vbphrase[recipients]</strong>: $ccrecipients<br /></if><if condition="$bccrecipients"><strong>$vbphrase[recipients] <span class="smallfont">($vbphrase[bcc])</span></strong>: $bccrecipients</if></td> </tr> </if> </table> $postbit <br /> <if condition="$show['receiptprompt']"> <form action="private.php?do=managepm&dowhat=delete&pmid=$pm[pmid]" method="post"> <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center" id="receipt"> <tr> <td class="thead"><strong>$vbphrase[confirm_outstanding_receipt]</strong></td> </tr> <tr> <td class="panelsurround" align="center"> <div class="panel"> <div style="width:$stylevar[formwidth_usercp]" align="$stylevar[left]"> <table class="fieldset" cellpadding="0" cellspacing="$stylevar[formspacer]" border="0"> <tr> <td><phrase 1="$pm[fromusername]">$vbphrase[x_requested_read_receipt]</phrase></td> <td> <input type="hidden" name="s" value="$session[sessionhash]" /> <input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" /> <input type="hidden" name="do" value="managepm" /> <input type="hidden" name="dowhat" value="delete" /> <input type="hidden" name="folderid" value="$pm[folderid]" /> <input type="button" class="button" style="font-weight:normal" value="$vbphrase[okay]" onclick="doReceipt(1);this.disabled=true;" /> </td> </tr> </table> </div> </div> </td> </tr> </table> <br /> </form> </if> <form action="private.php?do=managepm&dowhat=delete&pmid=$pm[pmid]" method="post"> <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center"> <thead> <tr> <td class="tcat"> <a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('pm_delete')"><img id="collapseimg_pm_delete" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_pm_delete].gif" alt="" border="0" /></a> $vbphrase[delete_this_message] </td> </tr> </thead> <tbody id="collapseobj_pm_delete" style="$vbcollapse[collapseobj_pm_delete]"> <tr> <td class="panelsurround" align="center"> <div class="panel"> <div style="width:$stylevar[formwidth_usercp]" align="$stylevar[left]"> <fieldset class="fieldset"> <legend>$vbphrase[delete_message]</legend> <table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0"> <tr> <td>$vbphrase[delete_message_click_button]</td> </tr> <tr> <td><label for="deletepm"><input type="checkbox" name="pm[$pm[pmid]]" id="deletepm" value="true" />$vbphrase[delete_this_message]</label></td> </tr> </table> </fieldset> </div> </div> <div style="margin-top:$stylevar[cellpadding]px"> <input type="hidden" name="s" value="$session[sessionhash]" /> <input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" /> <input type="hidden" name="do" value="managepm" /> <input type="hidden" name="dowhat" value="delete" /> <input type="hidden" name="folderid" value="$pm[folderid]" /> <input type="submit" class="button" value="$vbphrase[delete_this_message]" /> </div> </td> </tr> </tbody> </table> </form> Download No files for download. Screenshots |