![]() |
PM Auto Reply
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:
Installation:
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] |
Can the date be eneterd into the PM also?
|
You can enter any text you like for the auto PM :)
|
I was referring to a time variable. ;)
|
Yeah, could be done.
Wouldn't even be hard to do. But why not just type it in your PM text? ;) |
another great mod from a great coder thanks...
|
score, i've been wondering if something like this existed.
|
Quote:
|
Quote:
Quote:
|
:) ah hellcat..alive :)
nice to see a hack from u ..after a long time.... Tc. |
Instead of usergroups to exclude, why not groups to INCLUDE?
|
Just wondering if there is built in protection from this looping all day until pm boxes are full
User A pms UserB who sets this up User A also has this setup which returns his to USers B User B then begins the madness with another reply of his away message repeat till pm box is full |
I feel honored to find the first bug!
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. |
Quote:
after testing the answer is that it does not loop like i thought it would Nice hack indeed |
Nice idea, I'll check this out now. ;)
|
Another great hack by Hellcat. You are awesome man!
Thanks, will install this tonight. ;) |
Quote:
You're sure it'not the other way round, when excluding #5 it also excludes #15? I think I know why, will take a look and upload a fixed version tomorrow :) |
Cool when the exclude thing is fixed I will install
|
Thank you Hellcat :D
This is great! Install Just one problem I receive is this error below when The redirect message appears after sending the pm. Thanks for any help :) Quote:
|
Quote:
installed...... |
Ha!
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} :) |
All right! You da man! ;)
|
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:
*disables |
Thanks ..
|
Ouch....
Never trust vB's cleanGPC() again, I guess.... I'll add an escaping of all input and upload an updated version later, once I get home! Thanks for bringing this to my attention! [EDIT] UPDATED VERSION HAS BEEN UPLOADED! SECURITY ISSUE SHOULD BE FIXED! I added an additional escaping of the username inside the SQL query! |
Hellcat, thank you for your support for releasing good addons :)
|
Thanks, Hellcat
|
Quote:
|
Howdy :)
[high]Concerning vBulletin 3.6 (beta 1):[/high] This seems to be working fine under vB3.6b1. At least I didn't encounter any problems while testing ;) |
Quote:
Thank you for the update :) I'm having problems with the tags. If I type a message in the box such as: Quote:
Quote:
|
Thanks! Very, very usefull!
This would be perfect if i could name one user who will optional receive a copy of this pn, so my co-admin for example will receive this pn as well and could answer? |
wow this is really nice.. great work dude
|
Quote:
|
Quote:
[high]* Hellcat puts on ToDo[/high] |
Just install on my 3.5.3 site and does not work. No error plugin installs and added the code to the modifyoptions template and excluded the groups from admincp and nothing shows up in the users edit options :surprised:
|
Quote:
There's a bug with that I still need to fix. Report if it's showing up then, if not wee look for other causes :) |
I have removed everything in the excluded and still does not show?
|
Great plugin this. Exactly what one of our users was asking for. One problem I've noticed though is the textarea for editing the autoreply message appears too wide in Firefox:
http://img149.imageshack.us/img149/5...toowide7ry.png It causes the box around the PM Auto-Reply Options to be wider than the other boxes around settings groups on that page. Seems fine in IE and Opera though. I found changing the textarea to 60 columns from 64 got it looking right in Firefox (but made the textarea slightly smaller in IE and Opera). Also I'm not sure if the {name} replacement variable is working right. Your description says it gets replaced with the name of the auto-reply recipient, which is the person receiving the automatic reply. So if I send a PM to bob and get an autoreply, {name} should be replaced with freedom2support since I am the auto-reply recipient. But currently the plugin would replace it with the recipient of the PM (bob) and not of the auto-reply. |
Quote:
also the name functiion works perfect. |
All times are GMT. The time now is 06:46 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|