Go Back   vb.org Archive > vBulletin Modifications > vBulletin 3.8 Modifications > vBulletin 3.8 Add-ons

Reply
 
Thread Tools
Send Message Auto Reply Details »»
Send Message Auto Reply
Version: 1.00, by 1Unreal 1Unreal is offline
Developer Last Online: Aug 2020 Show Printable Version Email this Page

Category: Miscellaneous Hacks - Version: 3.8.2 Rating:
Released: 07-13-2009 Last Update: Never Installs: 28
Uses Plugins
 
No support by the author.

When a user sends you a message using sendmessage.php this mod will send the user an auto reply message.

You can edit the subject and the message body in the options

How To Include HTML In The Email
By default vBulletin doesn't allow you to send HTML in an email. It can also not be changed with a plugin so you have to do some manual file edits. So...

Open "includes/class_mail.php"
Find:
PHP Code:
$headers .= 'Content-Type: text/plain' iif($encoding"; charset=\"$encoding\"") . $delimiter
Replace with:
PHP Code:
$headers .= 'Content-Type: text/html' iif($encoding"; charset=\"$encoding\"") . $delimiter
You can now send HTML with emails. This includes all other emails sent from vB.
Please click install

Download Now

File Type: xml Send_Message_Auto_Reply.xml (2.0 KB, 94 views)

Screenshots

File Type: png Untitled.png (21.4 KB, 0 views)

Show Your Support

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

Comments
  #12  
Old 07-17-2009, 10:36 AM
htscpl's Avatar
htscpl htscpl is offline
 
Join Date: Sep 2003
Location: Houston
Posts: 151
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice, good idea.. now if we could just add some links that would be great!

Thanks for the mod!

** installs **
Reply With Quote
  #13  
Old 07-17-2009, 06:25 PM
1Unreal 1Unreal is offline
 
Join Date: Jul 2008
Location: London
Posts: 372
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Found out how to include HTML in the email. Look at the first post for a tutorial.
Reply With Quote
  #14  
Old 07-24-2009, 02:55 PM
phonexpo phonexpo is offline
 
Join Date: Sep 2005
Location: Dublin
Posts: 231
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by 1Unreal View Post
Found out how to include HTML in the email. Look at the first post for a tutorial.
Hi Ben,

Thanks again, the response message works perfectly with the code edit

Just one little problem, the email received from the sender using the sendmessage.php is different from the original, I'm sure it's because it's not coded in .php anymore, but was wondering is there a way around this?

See - http://i27.tinypic.com/5ybx1s.jpg

Thanks again for this,

Patrick
Reply With Quote
  #15  
Old 07-24-2009, 03:17 PM
1Unreal 1Unreal is offline
 
Join Date: Jul 2008
Location: London
Posts: 372
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by phonexpo View Post
Hi Ben,

Thanks again, the response message works perfectly with the code edit

Just one little problem, the email received from the sender using the sendmessage.php is different from the original, I'm sure it's because it's not coded in .php anymore, but was wondering is there a way around this?

See - http://i27.tinypic.com/5ybx1s.jpg

Thanks again for this,

Patrick
To be honest no. The best way to fix that would be to edit the phrases of the emails being sent and replace the new lines with <br />'s.

Its because vB isn't made to send HTML emails, and the fix I posted wasn't a very good one
Reply With Quote
  #16  
Old 07-24-2009, 03:48 PM
phonexpo phonexpo is offline
 
Join Date: Sep 2005
Location: Dublin
Posts: 231
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by 1Unreal View Post
To be honest no. The best way to fix that would be to edit the phrases of the emails being sent and replace the new lines with <br />'s.

Its because vB isn't made to send HTML emails, and the fix I posted wasn't a very good one
Thanks Ben, I've done that now and it's now the same as the original.

Here is the code;

Code:
 
The following message was sent to you via the $vboptions[bbtitle] Contact Us form by $name ( mailto:$email ).
<br/>
<br/>
--------------------------------
<br/>
<br/>
$message
<br/>
<br/>
--------------------------------
<br/>
<br/>
Referring Page: $url
<br/>
IP Address: $ip
<br/>
User Name: $bbuserinfo[username]
<br/>
User ID: $bbuserinfo[userid]
<br/>
Email: $email
All the best,

Patrick
Reply With Quote
  #17  
Old 07-24-2009, 06:54 PM
Konstantinos Konstantinos is offline
 
Join Date: Apr 2006
Posts: 443
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

cool but the member who gets the auto email see himself as sender it doesnt show the send as forumname but sender@ forumname

also whats the difference of using this instead of adding an autoresponder in cpanel ?
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 01:32 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.04229 seconds
  • Memory Usage 2,293KB
  • Queries Executed 22 (?)
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
  • (1)bbcode_code
  • (2)bbcode_php
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (7)post_thanks_box
  • (7)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (7)post_thanks_postbit_info
  • (6)postbit
  • (2)postbit_attachment
  • (7)postbit_onlinestatus
  • (7)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_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete