View Full Version : Default PM Read Receipts
Darwinist
08-12-2006, 10:00 PM
I've had a few complaints from my members about the way they have to click the 'Request a read receipt for this message' checkbox each and every time they send someone a private message. Most would like to have this on by default, so I created this quick add-on to accommodate that request.
Features:
Allows each member to set whether or not they would like the 'Request a read receipt for this message' checkbox checked by default.
Installation Overview:
Files to Modify: 1
Templates to Modify: 0
Product:
-Plug-Ins: 0
-Templates: 0
-vB Options: 0
-Phrases: 0
Version History:
1.0.0 - Initial release.
*Tested and works for vBulletin versions 3.5.x to 3.6.0*
soletrader
08-13-2006, 03:23 PM
Nice. Thank you
utw-Mephisto
08-13-2006, 04:07 PM
You only need to change one template to make it default ticked. There is no need to modify any files !!!
To do so, open the template pm_newpm
Search for
<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>
and change to
<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>
Or, if you would like to give them an option, use a IF condition in the template ..
Darwinist
08-13-2006, 06:30 PM
You only need to change one template to make it default ticked. There is no need to modify any files !!!
The idea was that the users would have the option to use it.
Or, if you would like to give them an option, use a IF condition in the template ..
The problem with that is if you change the checkbox status and click 'preview', it'll reset itself to the default status. I would rather add one line to one file and have it working 100% rather then change one line in a template and have it working partially.
adwade
09-23-2006, 10:06 PM
What if a user does not have access rights to request read receipts? Does this MOD keep this checkbox hidden from them?
PtitLu
08-23-2007, 04:47 PM
Great mod, thanks.
yoyoyoyo
10-13-2007, 03:06 AM
What if a user does not have access rights to request read receipts? Does this MOD keep this checkbox hidden from them?good question
StarBuG
10-19-2007, 09:53 AM
Hi
Thanks, I was looking for this a long time.
Is there any way to make this a plugin by any chance without the file edit?
StarBuG
Cindyl10
02-21-2009, 03:45 PM
Does anyone know if this works with version 3.8.0? I've been looking for something like this and am really hoping it does!
Peejay
02-22-2009, 06:52 AM
Excellent, many thanks :D
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.