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

Quote:
Originally Posted by Hellcat
{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....
Thanks Hellcat
Reply With Quote
  #54  
Old 06-16-2006, 04:11 PM
Hellcat Hellcat is offline
 
Join Date: May 2003
Location: Germany
Posts: 560
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

UPDATE

- Fixed the {name} replacement bug
- Added optional receiver of automatically forwarded PM (the original PM sent can be forwarded to a third person)
Reply With Quote
  #55  
Old 06-16-2006, 04:44 PM
bada_bing's Avatar
bada_bing bada_bing is offline
 
Join Date: Feb 2004
Location: Michigan
Posts: 1,698
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

HOw do you upgrade? Do you just re-import the plugin ?
Reply With Quote
  #56  
Old 06-16-2006, 05:08 PM
Hellcat Hellcat is offline
 
Join Date: May 2003
Location: Germany
Posts: 560
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yep.
Just reimport with "allow overwrite".
Reply With Quote
  #57  
Old 06-16-2006, 05:39 PM
bada_bing's Avatar
bada_bing bada_bing is offline
 
Join Date: Feb 2004
Location: Michigan
Posts: 1,698
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Hellcat
Remove everything from the excluded groups setting in the AdminCP and try again.
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
Does the new version now work with 3.5.3 since there was a bug with the prior version
Reply With Quote
  #58  
Old 06-16-2006, 05:47 PM
bada_bing's Avatar
bada_bing bada_bing is offline
 
Join Date: Feb 2004
Location: Michigan
Posts: 1,698
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #59  
Old 06-16-2006, 07:29 PM
Hellcat Hellcat is offline
 
Join Date: May 2003
Location: Germany
Posts: 560
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What bug was/is there with 3.5.3?

//

I'll re-write the excluding thing, any missbehaviours with it should be gone then....
Reply With Quote
  #60  
Old 06-16-2006, 10:24 PM
bada_bing's Avatar
bada_bing bada_bing is offline
 
Join Date: Feb 2004
Location: Michigan
Posts: 1,698
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Hellcat
What bug was/is there with 3.5.3?

//

I'll re-write the excluding thing, any missbehaviours with it should be gone then....
Cool any idea when? I will keep this hack installed for a few if your going to fix the 3.5.3 issues?
Reply With Quote
  #61  
Old 06-17-2006, 03:49 AM
klaush klaush is offline
 
Join Date: Oct 2005
Posts: 340
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Hellcat
UPDATE

- Fixed the {name} replacement bug
- Added optional receiver of automatically forwarded PM (the original PM sent can be forwarded to a third person)
Yipi!:-) Thanks and works!
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 05:45 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
  • Page Generation 0.06811 seconds
  • Memory Usage 2,312KB
  • 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
  • (5)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