Version: 1.25, by Hellcat
Developer Last Online: Apr 2014
Version: 3.5.4
Rating:
Released: 05-21-2006
Last Update: 06-27-2006
Installs: 71
DB Changes Uses Plugins Template Edits
No support by the author.
So, a little something this time I had on my mind for quite a while now....
PM Auto-Reply MOD by ---==> HELLCAT <==---
This adds an "auto responder" to the PMs.
When enabled, everytime you get sent a PM the sender is automatically returned a PM containing a predefined message (editable in options).
To tell the sender you're offline for a while and answer should be expected sometime later or such....
Features:
Adds an auto responder (auto reply) option to the PMs
Can be turned ON and OFF in useroptions
A date can optionally be specified between automated replies are sent
Another user can optionally be specified to whom a copy of the recieved PM is forwarded to
Admin can specify usergroups not allowed to use the auto responder
Installation:
Import the product .XML
One tiny template edit:
Open template "modifyoptions " (in "Modify Useroptions" group) and FIND THIS:
Code:
$customfields[messaging]
AFTER it, ADD:
Code:
$pmautoreply_option
Save the template.
Done, and enjoy!
The admin option for excluding usergroups is in "vBulletin Options" -> "Private Messaging Options" at the bottom: "Exclude usergroups from using the PM auto reply feature"
I intentionally didn't do it with usergroup permissions since that would require a .XML file to be uploaded and I wanted to stay this as a single product/plugin file
[hint]I'd also like something like this on vb.org [/hint]
Show Your Support
This modification may not be copied, reproduced or published elsewhere without author's permission.
{name} is replaced by the name of the user that has sent you the original PM, or in other terms, with the name of the reciever of the auto-reply.
Ex:
UserA sends UserB a PM, UserB has autoreply enabled -> {name} = UserA
At least that's how it's supposed to be, anything else I will check and fix, since it's a bug then.
Currently in the code {name} is being replaced with the value of $recipient, which is the name of one of the recipients in the $recipients array. So in your example, currently {name} would be replaced with UserB as UserB is one of the recipients of UserA's PM, and so is the value in the $recipients array. {name} needs to be replaced with $vbulletin->userinfo['username'] (the username of the person who would receive the auto-reply, who is the currently logged in user sending the PM which triggers the auto-reply).
If I dont have anything in the ecxluded then the option shows in the user options but if you put an exclude group id then thats when the option no longer shows