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.
Just uploaded an updated version.
Hopefully fixed the two bugs ("blahblah missing bleh error in whatdoiknow.php" and the excluding issue) and added (by special request of a special Boofo ) some replacement variables:
{name}, {from} and {to}
Just installed from previous download and got error but I am re-installing with new file. Looks like this will be a great little addition to my site.
Thanks!
*** clicks install ***
PS: bug was fixed, auto reply works great! Thanks again Michael !
Ever since installing this plugin I have been getting a MySQL error when sending PM's to someone with a # in their username, I never had the problem before.
Database error in vBulletin 3.5.4:
Invalid SQL:
SELECT userid, pmautoreplystatus, pmautoreplytext, pmautoreplydate FROM vb_user WHERE username='vaughan's #1 fan';
MySQL Error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 's #1 fan'' at line 1
Error Number : 1064
Date : Tuesday, May 23rd 2006 @ 01:13:06 PM
Script : http://www.cricket247.net/forum/private.php
Referrer : http://www.cricket247.net/forum/priv...do=newpm&u=197
IP Address : 87.113.26.175
Username : Rob
Classname : vb_database
Scott MacVicar had this to say:
Quote:
Its the unescaped ' and that is an SQL Injection and a serious security issue.
The query is a non standard vBulletin query from an auto reply hack.
I recommend no one installs this until the problem is sorted.
I have a usergroup say....ID #5 (administrator) and I have another usergroup say....ID #15 registered users. If I exclude ID 15 from the options, it will exclude ID #5 as well. Same with #16 & #6.....#17  and so on.