View Full Version : Enable "request receipt" checkbox by default.
Scandal
12-09-2010, 04:37 PM
I want to Enable "request receipt" checkbox by default on "new pm message" page.
Any idea?
I don't want to install a product for this job. I think it is a simple code-editing on the template which include the checkbox...
calorie
12-09-2010, 04:43 PM
Try editing the pm_newpm template. Find:
<if condition="$show['trackpm']"><div><label for="cb_receipt"><input type="checkbox" name="receipt" value="1" id="cb_receipt" $checked[receipt] />$vbphrase[request_receipt_for_message]</label></div></if>
Replace with:
<if condition="$show['trackpm']"><div><label for="cb_receipt"><input type="checkbox" name="receipt" value="1" id="cb_receipt" checked="checked" />$vbphrase[request_receipt_for_message]</label></div></if>
Untested, but then it should always be checked.
Scandal
12-09-2010, 05:43 PM
It works fine! Thanks! :D
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.