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
  #92  
Old 08-22-2007, 03:32 AM
Jeordie015 Jeordie015 is offline
 
Join Date: Nov 2002
Location: Illinois, USA
Posts: 125
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I think I've run into a problem with how this hack deals with usergroups since you can only specify which groups to disallow access to it.

In my case, I only want admins, mods, and the advanced member levels to have access to this. If someone is in the advanced usergroup, then their primary usergroup is the basic Registered Users group, and then the advanced usergroup is set as an additional usergroup.

So how would I be able to get the users in the advanced usergroup to have access to this while keeping regular members out with my current setup?
Reply With Quote
  #93  
Old 10-06-2007, 02:49 PM
Ramsesx's Avatar
Ramsesx Ramsesx is offline
 
Join Date: Aug 2005
Location: Southern Germany
Posts: 512
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by chatzworld View Post
yeh very handy mod and works fine on 3.6.8 not had any probs at all
If you're wondering why you get a lower registration rate, try to register yourself and look what's happening if you place the registration link.
Fatal error: Call to a member function on a non-object in /home/chatsuk/public_html/includes/class_dm_user.php(2490) : eval()'d code on line 9
Reply With Quote
  #94  
Old 11-02-2007, 10:00 AM
carphead carphead is offline
 
Join Date: Oct 2003
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I've tried to get this to work on a 3.6.8 install. I've reverted the modifyoptions template. Put the edit in to the template at the correct line and nothing appears in the options part.

Any suggestions? There are no excluded groups.
Reply With Quote
  #95  
Old 01-01-2008, 07:54 PM
Spinball's Avatar
Spinball Spinball is offline
 
Join Date: Feb 2002
Location: Telford, England
Posts: 705
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Getting an error with 3.6.8 and PHP 5 when trying to send a PM:
Quote:
Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /private.php(1167) : eval()'d code on line 46

Fatal error:
Please complete both the subject and message fields.
Unable to proceed with save while $errors array is not empty in class vB_DataManager_PM in /includes/class_dm.php on line 765
Reply With Quote
  #96  
Old 04-23-2008, 10:37 PM
Code Monkey's Avatar
Code Monkey Code Monkey is offline
 
Join Date: May 2004
Posts: 1,080
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Spinball View Post
Getting an error with 3.6.8 and PHP 5 when trying to send a PM:

That went away for me when I went into the plugin code and switched all instances of mysql_fetch_array() with the proper $vbulletin->db->fetch_array() function.
Reply With Quote
  #97  
Old 05-04-2008, 08:00 AM
frosch68 frosch68 is offline
 
Join Date: Feb 2006
Posts: 31
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Code Monkey View Post
That went away for me when I went into the plugin code and switched all instances of mysql_fetch_array() with the proper $vbulletin->db->fetch_array() function.
this changing has no effect for me in vB 3.6.10 and php 5 ... any other ideas ?
Reply With Quote
  #98  
Old 05-19-2008, 04:01 PM
LoRdGd LoRdGd is offline
 
Join Date: Mar 2008
Posts: 54
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hello!
Super MOD!

But, can anybody make a ACP integration for this?
Reply With Quote
  #99  
Old 06-14-2008, 08:45 PM
Spinball's Avatar
Spinball Spinball is offline
 
Join Date: Feb 2002
Location: Telford, England
Posts: 705
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This works with 3.7.1 pl1
Reply With Quote
  #100  
Old 07-01-2008, 09:48 PM
smooth-c smooth-c is offline
 
Join Date: Jan 2008
Posts: 226
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Works fine with 3.7.1 Here aswell except I get the error line above the redirection page saying;

Warning: array_merge() [function.array-merge]: Argument #1 is not an array in [path]/private.php(1222) : eval()'d code on line 46

Any way of fixing this?

Greg
Reply With Quote
  #101  
Old 07-09-2008, 06:38 AM
ZexTasy ZexTasy is offline
 
Join Date: Jan 2008
Posts: 34
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

@smooth-c

To fix the errormessage, apply the following changes to the product xml file:

In the product xml-file find:
PHP Code:
$repm->pre_save();
$re_errors array_merge($re_errors$repm->errors); 
Write this between those two lines:
PHP Code:
$re_errors = array(); 
So that it becomes:
PHP Code:
$repm->pre_save();
$re_errors = array();
$re_errors array_merge($re_errors$repm->errors); 
In the product xml-file find:
PHP Code:
$repm->pre_save();
$fw_errors array_merge($fw_errors$repm->errors); 
Write this between those two lines:
PHP Code:
$fw_errors = array(); 
So that it becomes:
PHP Code:
$repm->pre_save();
$fw_errors = array();
$fw_errors array_merge($fw_errors$repm->errors); 
After that just import the product again with overwrite.

Alternatively you could also edit the plugin directly in the plugin-manager, edit the plugin Send the Auto-Reply with hook location private_insertpm_complete and do the changes mentioned above directly in there, but personally I like to have a correct xml plugin file available to import again if necessary!

Good luck!

- ZexTasy
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:02 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.06186 seconds
  • Memory Usage 2,324KB
  • 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
  • (6)bbcode_php
  • (4)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
  • (3)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