Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.7 > vBulletin 3.7 Add-ons

Reply
 
Thread Tools
PM-Autoresponder Details »»
PM-Autoresponder
Version: 1.0.3, by Vossi Vossi is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Category: Private Messages Enhancements - Version: 3.7.x Rating:
Released: 08-04-2008 Last Update: 09-28-2008 Installs: 59
DB Changes Uses Plugins Template Edits Auto-Templates
Additional Files Translations  
No support by the author.

What is vBulletin PM-Autoresponder:

With this addon you can activate a so-called autoresponder for personal messages just like you know it from normal e-mail systems.

Installation:

Upload all files from /upload into your forum-root and install the product-file. Next you need to modify the usergroups, check the main section of 'private messages' for a new entry which says 'autoresponder'. In vB-settings, user: private messages, you'll find an option to inform users about receivers being offline since x days.

This addon works with TMS. For those who don't have TMS installed, they need to do the template-changes manually like this:

In template USERCP_SHELL search for:
Quote:
<tr><td class="$navclass[pm_editfolders]" nowrap="nowrap"><a class="smallfont" href="private.php?$session[sessionurl]do=editfolders">$vbphrase[edit_folders]</a></td></tr>
and add the following text beneath it:
Quote:
<if condition="$permissions['pmpermissions'] & $vbulletin->bf_ugp_pmpermissions['canusepmautoresponder']"><tr><td class="$navclass[pmautoresponder]" nowrap="nowrap"><a class="smallfont" href="privateautoresponder.php?$session[sessionurl]do=edit">$vbphrase[pmautoresponder_usercp]</a></td></tr></if>
Like I said before, you don't need to do any template modifications if you use TMS.

If your are using 'UserCP Navbar 1.2' in your forum, then you'll find the specific template-modifictions in the .zip-file.

Updates:
Simple overwrite the files within the 'download'-folder and import the productfile (with overwrite). That's it.

History:

1.0.0 - standard-version
1.0.1 - autoresponder can get time-defined by user, signature can optionally be shown in autoresponder, known bugs got fixed.
1.0.2 - fixed some small bugs, cc private messages if wanted to another user while autoresponder is active, send information to users who send messages to other users who havent been online since x days.
1.0.3 - fixed two small bugs and added a more comfortable for chosing datelines in user-settings.

More:

After this addon has been installed and the usergroups are set correctly, you'll find a new link in the personal message-section when being in usercp. Just have a look at the attached images and you'll see how it looks like.

Robert and I don't even know if this addon is needed or if there is another addon with the same function, but we didn't find any decent ones so we made one by our own.

We would like to thank captainslater for his help (translation, phrases, tests, etc.) during the (very short) time of coding this addon.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #12  
Old 08-06-2008, 08:54 AM
Mecho's Avatar
Mecho Mecho is offline
 
Join Date: Aug 2006
Posts: 648
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice one ....

i will install it for sure soon . Thank you.
Reply With Quote
  #13  
Old 08-06-2008, 09:51 AM
M-Tuning's Avatar
M-Tuning M-Tuning is offline
 
Join Date: Jul 2005
Location: Winschoten (NL)
Posts: 275
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice, will install :P
Reply With Quote
  #14  
Old 08-06-2008, 10:22 AM
htscpl's Avatar
htscpl htscpl is offline
 
Join Date: Sep 2003
Location: Houston
Posts: 151
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

*** INSTALLS ***

Cool ! Had a previous one from a long time ago that never worked right so removed it. This one seems to work great! Thanks for your work on this!
Reply With Quote
  #15  
Old 08-06-2008, 10:37 AM
M-Tuning's Avatar
M-Tuning M-Tuning is offline
 
Join Date: Jul 2005
Location: Winschoten (NL)
Posts: 275
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I got this error when I want to preview the message:

Quote:
Warning: require_once([path]/includes/class_bbcode_vbglossar.php) [function.require-once]: failed to open stream: No such file or directory in [path]/privateautoresponder.php on line 146

Fatal error: require_once() [function.require]: Failed opening required '/*/public_html/includes/class_bbcode_vbglossar.php' (include_path='.:/usr/local/lib/php') in /*/public_html/privateautoresponder.php on line 146
The editor is also too wide, it's wider than the standard PM editor and stretches my layout.
Reply With Quote
  #16  
Old 08-06-2008, 10:49 AM
M-Tuning's Avatar
M-Tuning M-Tuning is offline
 
Join Date: Jul 2005
Location: Winschoten (NL)
Posts: 275
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I fixed the first error:

Find in privateautoresponder.php (do this twice):

PHP Code:
=& new vB_BbCodeParser_vBGlossar($vbulletinfetch_tag_list()); 
And replace with:
PHP Code:
=& new vB_BbCodeParser($vbulletinfetch_tag_list()); 
Find in privateautoresponder.php (do this twice too):

PHP Code:
'/includes/class_bbcode_vbglossar.php'); 
And replace with:
PHP Code:
'/includes/class_bbcode.php'); 
Reply With Quote
  #17  
Old 08-06-2008, 10:59 AM
Vossi Vossi is offline
 
Join Date: Mar 2005
Location: Germany
Posts: 437
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

@M-Tuning:
Thanks for this, the fragment you found is part from my glossary-addon I'm actually coding on (might be finished within the next 14 days if time goes good for me) and it tries to work with my own bbcode-class I coded for the glossary.
Reply With Quote
  #18  
Old 08-06-2008, 11:02 AM
M-Tuning's Avatar
M-Tuning M-Tuning is offline
 
Join Date: Jul 2005
Location: Winschoten (NL)
Posts: 275
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok, cool.

Any ideas why the editor is wider than normal?

It looks ugly with my skin.
Reply With Quote
  #19  
Old 08-06-2008, 11:31 AM
Vossi Vossi is offline
 
Join Date: Mar 2005
Location: Germany
Posts: 437
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by M-Tuning View Post
Ok, cool.

Any ideas why the editor is wider than normal?

It looks ugly with my skin.
Hm, maybe you can fix this by having a look at privateautoresponder.php. Please search for
PHP Code:
$textareacols fetch_textarea_width(); 
and replace it with
PHP Code:
$stylevar['messagewidth'] = $stylevar['messagewidth_usercp']; 
Afterwards check if the width fits again.
Reply With Quote
  #20  
Old 08-06-2008, 11:40 AM
M-Tuning's Avatar
M-Tuning M-Tuning is offline
 
Join Date: Jul 2005
Location: Winschoten (NL)
Posts: 275
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you, it works!
Reply With Quote
  #21  
Old 08-06-2008, 11:53 AM
Vossi Vossi is offline
 
Join Date: Mar 2005
Location: Germany
Posts: 437
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You're welcome.

If there's some time left today, I might upload Version 1.0.1 including bugfixes and some more options.
Reply With Quote
Reply

Thread Tools

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 04:04 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04723 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
  • (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