vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   Private Messages Enhancements - PM-Autoresponder (https://vborg.vbsupport.ru/showthread.php?t=187320)

Vossi 08-04-2008 10:00 PM

PM-Autoresponder
 
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.

Vossi 08-05-2008 08:38 PM

- reserved -

yahoooh 08-05-2008 10:26 PM

what about membermap when it will be released here?

helpmehost 08-05-2008 11:47 PM

Can any body tell me what TMS is and how can I have it

Thanks

Breathex 08-06-2008 02:40 AM

Didn't understand anything from the screenshots, because they are not English.

captainslater 08-06-2008 04:30 AM

Quote:

Originally Posted by helpmehost (Post 1592263)
Can any body tell me what TMS is and how can I have it

Thanks

TMS is the Template Modification System, which was coded by Andreas and could be found here.

Quote:

Originally Posted by Breathex (Post 1592332)
Didn't understand anything from the screenshots, because they are not English.

I'll upload them for you in a few minutes.

Vossi 08-06-2008 06:02 AM

Quote:

Originally Posted by yahoooh (Post 1592218)
what about membermap when it will be released here?

As soon as someone does the translation...

captainslater 08-06-2008 06:07 AM

Quote:

Originally Posted by Vossi (Post 1592406)
As soon as someone does the translation...

Hm, let me guess who this will be :p :D

captainslater 08-06-2008 06:26 AM

Took a while, but here are the english screenshots.

Rober 08-06-2008 06:26 AM

Quote:

Originally Posted by captainslater (Post 1592411)
Hm, let me guess who this will be :p :D

If we trei to maeke the tranzlesion id wil loogs leik this. :-)

Mecho 08-06-2008 08:54 AM

Nice one ....

i will install it for sure soon . Thank you.

M-Tuning 08-06-2008 09:51 AM

Nice, will install :P

htscpl 08-06-2008 10:22 AM

*** 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! :D

M-Tuning 08-06-2008 10:37 AM

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.

M-Tuning 08-06-2008 10:49 AM

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'); 


Vossi 08-06-2008 10:59 AM

@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. :o

M-Tuning 08-06-2008 11:02 AM

Ok, cool.

Any ideas why the editor is wider than normal?

It looks ugly with my skin.

Vossi 08-06-2008 11:31 AM

Quote:

Originally Posted by M-Tuning (Post 1592534)
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.

M-Tuning 08-06-2008 11:40 AM

Thank you, it works!

Vossi 08-06-2008 11:53 AM

You're welcome.

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

hobbybox 08-06-2008 02:25 PM

Great mod - works great.

Vossi 08-07-2008 11:42 AM

I just uploaded version 1.0.1

Now the autoresponder-function can be time-defined by the users and the signature can be shown in the responder if wanted. Also the known bugs got fixed. People using 'UserCP Navbar 1.2' in their forum will find the specific template-modifications in the .zip-file.

M-Tuning 08-07-2008 11:49 AM

Thanks for the update!

mvigod 08-07-2008 02:24 PM

Thanks for the Mod.

If anyone is using "GTUserCP - Enhanced USERCP Interface + USERCP Menu"

You must edit the GTPM_USERCP_SHELL instead of the USERCP_SHELL. The GTPM USERCP_SHELL over writes the defaul USERCP_SHELL.

Search Templates for GTPM USERCP_SHELL

Find:
Quote:

<tr><td class="$navclass[pm_editfolders]" nowrap="nowrap"><img src="$stylevar[imgdir_misc]/folder_new.gif" alt="" border="0" class="inlineimg" width="16" height="16" /> <a class="smallfont" href="private.php?$session[sessionurl]do=editfolders">$vbphrase[edit_folders]</a></td></tr>
Below add:
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>
If you want an icon beside the link replace with this instead:
Quote:

<if condition="$permissions['pmpermissions'] & $vbulletin->bf_ugp_pmpermissions['canusepmautoresponder']"><tr><td class="$navclass[pmautoresponder]" nowrap="nowrap"><img src="$stylevar[imgdir_misc]/autoresponder.gif" alt="" border="0" class="inlineimg" width="16" height="16" /><a class="smallfont" href="privateautoresponder.php?$session[sessionurl]do=edit">$vbphrase[pmautoresponder_usercp]</a></td></tr></if>
Icon used below.

Attachment 85133

Vossi 08-07-2008 02:45 PM

The TMS-File for that AddOn (UserCP Navbar 1.x) which has been released by Indy on vbulletin-germany.org can be found here:

princeedward 08-08-2008 01:01 PM

thanks it work great to my vb 3.6.8 PL2 after a little bit edit: by opening
product-pmautoresponder
and change of ( minversion="3.7.x" to minversion="3.6.x" )

<dependency dependencytype="vbulletin" minversion="3.6.x" maxversion="" />

thanks bro....

;)

Breathex 08-09-2008 09:19 PM

Quote:

Originally Posted by captainslater (Post 1592423)
Took a while, but here are the english screenshots.

Thanks for the English screenshots. Great work.

stwilson 08-09-2008 11:06 PM

Thanks for the MOD. It works great. One suggestion, can you add something that limits the number of times the autoresponse is sent to the same user within a certain period of time? For example, what if a member sends multiple messages to someone who has an autoresponder on? Every PM sent will get the autoresponse. Could you place/check for a cookie or something to limit repeat autoresponses to the same user within a set period of time or a user session? Just a thought.

Artes_Marciales 08-10-2008 05:26 AM

Great idea!!
**instal**

Vossi 08-12-2008 07:23 PM

Quote:

Originally Posted by stwilson (Post 1595089)
Thanks for the MOD. It works great. One suggestion, can you add something that limits the number of times the autoresponse is sent to the same user within a certain period of time? For example, what if a member sends multiple messages to someone who has an autoresponder on? Every PM sent will get the autoresponse. Could you place/check for a cookie or something to limit repeat autoresponses to the same user within a set period of time or a user session? Just a thought.

Hm, the idea ain't bad. Also we think about another option to forward PM's after some people asked for it on vBGo

Vossi 08-14-2008 08:23 PM

Version 1.0.2 has just been uploaded, please check the description within the first post of this thread for changes.

Megatr0n 08-14-2008 11:11 PM

So, to upgrade we simply overwrite files and reimport product file?

g0dfather1984 08-15-2008 01:13 AM

Great feature, however, when in my UserCP, my autoresponder looks quite differently and cluttered.

How do I fix this?

Vossi 08-15-2008 05:22 AM

Quote:

Originally Posted by Megatr0n (Post 1598830)
So, to upgrade we simply overwrite files and reimport product file?

Yep!
Quote:

Originally Posted by g0dfather1984 (Post 1598872)
Great feature, however, when in my UserCP, my autoresponder looks quite differently and cluttered.

How do I fix this?

Did you use the TMS-File or did you change the template manually? Between the icon and the text must be some blanks, simply delete those.

htscpl 08-15-2008 09:54 AM

This mod just keeps getting better and better. Thanks for the update, great add on. :D

wrang 08-18-2008 05:02 PM

Does this work for vBulletin 3.6.8 Patch Level 2
I will uppdate soon but will it work untill i do this

AWJunkies 08-18-2008 06:30 PM

I have a lot of military guys that go on leave this is perfect for them to leave a message about as auto reply.

jayunsplanet 08-19-2008 02:36 AM

Excellent idea. Works great!!! Thank you very much.

Skierpetros 08-30-2008 05:10 AM

Problem

I installed but nothing happen i also have a problem a ] appears suddenly look in the image

Chadi 08-30-2008 07:09 PM

I did manual template edits, file uploads and plugin upload. When I enable "yes" in usergroup permissions, it does not save at all.


All times are GMT. The time now is 05:23 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.02438 seconds
  • Memory Usage 1,836KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (6)bbcode_php_printable
  • (16)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete