PDA

View Full Version : Default PM Read Receipts


Darwinist
13 Aug 2006, 16:55
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
13 Aug 2006, 17:23
Nice. Thank you

utw-Mephisto
13 Aug 2006, 18:07
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
13 Aug 2006, 20:30
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
24 Sep 2006, 00:06
What if a user does not have access rights to request read receipts? Does this MOD keep this checkbox hidden from them?

PtitLu
23 Aug 2007, 18:47
Great mod, thanks.

yoyoyoyo
13 Oct 2007, 05:06
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
19 Oct 2007, 11:53
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
21 Feb 2009, 17:45
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
22 Feb 2009, 08:52
Excellent, many thanks :D