vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Miscellaneous Hacks - Send Message Auto Reply (https://vborg.vbsupport.ru/showthread.php?t=218594)

1Unreal 07-13-2009 10:00 PM

Send Message Auto Reply
 
1 Attachment(s)
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 :)

BroCya 07-14-2009 11:24 PM

Wow thanks man, but know this Bot Cool!

Shaheen 07-15-2009 01:31 AM

Nice hack ,
Thanks

Brandon Sheley 07-15-2009 03:34 AM

nice mod, I'll install this one at some point
one question
can I add html or bbcode in the content part?
I'd like to add a few links in the auto reply

thanks

1Unreal 07-15-2009 04:12 AM

Quote:

Originally Posted by Loco.M (Post 1848975)
nice mod, I'll install this one at some point
one question
can I add html or bbcode in the content part?
I'd like to add a few links in the auto reply

thanks

I tried this but whenever I changed the header to text/html it made the email contents into an attachment.

Do you know how to fix this?

princeedward 07-15-2009 02:02 PM

thanks....will check this and have a test....TAGGED! ;)

barcena 07-15-2009 06:21 PM

Is this Mod for Admin/Moderators only or will it wok for every member? (Hope not)

Silly question I guess....

Oh, sorry, it is an email, thought it was a PM, my mistake guys, so sorry!!!!

Brandon Sheley 07-15-2009 07:43 PM

Quote:

Originally Posted by 1Unreal (Post 1848987)
I tried this but whenever I changed the header to text/html it made the email contents into an attachment.

Do you know how to fix this?

hmm, I'll have to take a look
I'd really like to add a link or two to the email
I get a lot of "why am I banned" emails, and I'd like to include something like...

If you are wondering why you are banned from site.com, please check out the rules (and have a link to the rules thread) :up:

1Unreal 07-16-2009 01:00 AM

There are a few tutorials out there showing you how to send emails that have HTML in then on vB and they envolve a hard coded hack. So I don't think it would be something that could be done with this mod.

phonexpo 07-16-2009 11:38 PM

Installed and working perfect, thanks for making this :)


All times are GMT. The time now is 09:00 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.01153 seconds
  • Memory Usage 1,737KB
  • 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
  • (2)bbcode_php_printable
  • (2)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
  • (10)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