Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
PM Auto Reply Details »»
PM Auto Reply
Version: 1.25, by Hellcat Hellcat is offline
Developer Last Online: Apr 2014 Show Printable Version Email this Page

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.

Comments
  #42  
Old 06-13-2006, 06:22 PM
specktra.net specktra.net is offline
 
Join Date: Aug 2005
Location: Kyle, TX
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Stangsta
Still having same problem
As am I. /disables until we can get this resolved
Reply With Quote
  #43  
Old 06-13-2006, 08:56 PM
freedom2support freedom2support is offline
 
Join Date: Oct 2003
Posts: 34
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Smiry Kin's
it maybe a little big, but still looks ok, it doesnt make the outside table any bigger.

also the name functiion works perfect.
Yeah the display thing is only very minor, but I thought I'd point it out.

I don't think the {name} variable is right (going by the description in the user options of what it is meant to do). Logically the replacement variables are for showing things in the message that can change, like the from and to dates which you might change as you are away at different times. There isn't really much point in having a variable which just displays your username, since your username would hardly ever change (if ever at all). The example plugin output in this post further up shows that {name} is being replaced by the sender of the auto-reply (the user who has the auto-reply setup for PMs they receive) and not the name of the auto-reply recipient (the person who sends a PM and gets an auto-reply back).
Reply With Quote
  #44  
Old 06-13-2006, 10:29 PM
Hellcat Hellcat is offline
 
Join Date: May 2003
Location: Germany
Posts: 560
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

{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.
Reply With Quote
  #45  
Old 06-14-2006, 06:45 AM
Nathan2006's Avatar
Nathan2006 Nathan2006 is offline
 
Join Date: Feb 2006
Location: UK
Posts: 862
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Hellcat
{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.

Hi,

As in my post above, The {to} and {from} don't work the only thing that does work is {name} but this only works as your user name as from not too.

This is the only one that works for me if setup like this:

Quote:
Hi,

Thank you for your message.

I will get back to you shortly,

Regards,
{name}
If adding anything Hi {to} or Hi {from} they only leave a blank space and will not show the senders user name

I have tried this on alot of other user accounts with no luck
Reply With Quote
  #46  
Old 06-14-2006, 07:05 AM
klaush klaush is offline
 
Join Date: Oct 2005
Posts: 340
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Hellcat
I actually like that idea and I could be quite easiely be done, I think....
[high]* Hellcat puts on ToDo[/high]
Thanks!
Reply With Quote
  #47  
Old 06-14-2006, 07:18 AM
Hellcat Hellcat is offline
 
Join Date: May 2003
Location: Germany
Posts: 560
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Nathan2006
If adding anything Hi {to} or Hi {from} they only leave a blank space and will not show the senders user name

I have tried this on alot of other user accounts with no luck
{to} and {from} is for the date display, if you have not entered a date, of course they will be empty

I'll check the {name} thing....
Reply With Quote
  #48  
Old 06-14-2006, 11:51 AM
Ramsesx's Avatar
Ramsesx Ramsesx is offline
 
Join Date: Aug 2005
Location: Southern Germany
Posts: 512
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Very nice hack Hellcat, thank you.
Is it possible to make a setting in the acp for enabling/disabling the date settings? I don't find it usefull and think it's only to much confusing for the default user, especially who really knows whats a "PHP recognizable format" is.

Thanks.
Reply With Quote
  #49  
Old 06-14-2006, 01:55 PM
Strat Strat is offline
 
Join Date: Jan 2006
Posts: 64
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I can't find, for the life of me, the options to type in the msg. Any idea?
Reply With Quote
  #50  
Old 06-14-2006, 03:32 PM
Hellcat Hellcat is offline
 
Join Date: May 2003
Location: Germany
Posts: 560
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Ramsesx
Very nice hack Hellcat, thank you.
Is it possible to make a setting in the acp for enabling/disabling the date settings? I don't find it usefull and think it's only to much confusing for the default user, especially who really knows whats a "PHP recognizable format" is.

Thanks.
That can be done, yes
[high]* Hellcat puts on ToDo
[/high]


Quote:
Originally Posted by Strat
I can't find, for the life of me, the options to type in the msg. Any idea?
In "Edit Options", right under "Enable Autoresponder"?

Did you edit the template?
Reply With Quote
  #51  
Old 06-14-2006, 08:02 PM
Strat Strat is offline
 
Join Date: Jan 2006
Posts: 64
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

My mistake. I thought this was something I'd have to type inside a box in the Admin Options. Instead, it's part of regular users' Control Panel.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 12:43 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04836 seconds
  • Memory Usage 2,315KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_code
  • (8)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete