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

Reply
 
Thread Tools
Send emails with HTML as HTML Details »»
Send emails with HTML as HTML
Version: 1.00, by bchertov bchertov is offline
Developer Last Online: Apr 2020 Show Printable Version Email this Page

Category: Mini Mods - Version: 4.0.0 Rating:
Released: 12-28-2009 Last Update: 12-28-2009 Installs: 253
Uses Plugins
Re-useable Code  
No support by the author.

Hi Folks,

Here's a nice little pluggin (No Code changes!) my programmer (Bryan Harris) came up with that sets the email type as HTML if the body of an email contains any HTML.

This is just a copy of the original 3.6 mod (165 installs!) - it works fine under 4.0 too! (See testimonials for earlier mods in the Similar Mod links below.)

This is very powerful and flexible, but also a bit dangerous. This means that any email your system sends out that contains any HTML will be sent as HTML. Which means that the whole email should be formatted as HTML.

So for instance, it makes it very easy to send HTML emails from the ACP - Just include HTML in your message! Same goes for users sending private email.

You'll also need to update some of the stock phrases for the registration confirmation email, password change, etc, that contain links or other HTML, and add line breaks <br /> so they still format correctly. And while you're in there you could add your logo and other nice touches!

It's just one pluggin!

Install time: a few seconds!

And I'd appreciate it if you clicked Install if you use it, and while your at it, nominate it for MOTM!

Download Now

File Type: xml product-auto_html_emails.xml (809 Bytes, 1405 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
7 благодарности(ей) от:
elsa23, J.kay, nacaruncr, nit233, RichieBoy67, Rvl, webmaster74

Comments
  #82  
Old 10-16-2014, 06:48 PM
Art Andrews Art Andrews is offline
 
Join Date: Jan 2005
Posts: 29
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by stevieb View Post
I added divs (HTML) wrapped around the $text (or $message) and that formats the PM alert to an extent. A multi quote gets messy.
Did you apply anything to the divs? I added divs and that didn't seem to do anything at all to the formating of quotes within $plaintext_message which is the content of the message that gets sent out.
Reply With Quote
  #83  
Old 01-04-2015, 09:41 PM
webmaster74 webmaster74 is offline
 
Join Date: Mar 2007
Posts: 193
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thank you very much for such an amazing modification.
vBulletin, with its pure text notifications is still in the 1980's. Thank you for bringing vB to 2015!
Reply With Quote
  #84  
Old 01-04-2017, 03:54 AM
grey_goose grey_goose is offline
 
Join Date: Jun 2009
Posts: 284
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is there some reason to not just add:

Code:
	$message = nl2br($message);
To address the line breaks?
Reply With Quote
  #85  
Old 01-04-2017, 10:55 PM
bchertov's Avatar
bchertov bchertov is offline
 
Join Date: Dec 2004
Location: Sonoma County, CA
Posts: 259
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by grey_goose View Post
Is there some reason to not just add:

Code:
	$message = nl2br($message);
To address the line breaks?
Sounds like a fine idea! :up:
Reply With Quote
  #86  
Old 08-10-2017, 07:24 AM
Raptor Raptor is offline
 
Join Date: Nov 2001
Posts: 499
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

plugin works just fine with vb 4.2.3 but without line breaks.

is there any update to solve that?
Reply With Quote
  #87  
Old 08-10-2017, 04:25 PM
Seven Skins's Avatar
Seven Skins Seven Skins is offline
 
Join Date: Sep 2008
Location: London, UK
Posts: 1,481
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

^ Read 2 posts above your post, that will take care of line breaks.
Reply With Quote
  #88  
Old 01-01-2018, 06:25 PM
Stratis's Avatar
Stratis Stratis is offline
 
Join Date: Jan 2010
Posts: 738
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I will try to use this plugin but where this code suppose to go?
Code:
$message = nl2br($message);
Thanks
Reply With Quote
  #89  
Old 12-04-2018, 12:39 PM
gnrx gnrx is offline
 
Join Date: Apr 2009
Posts: 390
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm interested in install this mod, I have vb 4.2.5 and PHP 7.1, I don't know if work with this version, I can try...
But before install and made all changes, its possible send html mail from admincp with "From"? I'm explained:
Now, when send mail to users from admincp, the from when the users received the mails are: mail@mydomain.com <mail@mydomain.com>
Its possible edit this for the Name Of the Site ?

Thanks in advance!
Reply With Quote
  #90  
Old 02-02-2019, 11:23 AM
Paolitus's Avatar
Paolitus Paolitus is offline
 
Join Date: Apr 2012
Posts: 18
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

work on vB 4.2.5
Thank you
Reply With Quote
  #91  
Old 01-25-2020, 12:07 PM
bienenf bienenf is offline
 
Join Date: Dec 2009
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Paolitus View Post
work on vB 4.2.5
Thank you
Hello @Paolitus,

Have you this mod works on VB 4.2.5 with the html format properly, and break lines ?

If yes, is that possible to share the modification ?

Thank you in advance
Yves
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:50 PM.


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.05147 seconds
  • Memory Usage 2,330KB
  • Queries Executed 26 (?)
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
  • (3)bbcode_code
  • (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
  • (2)pagenav_pagelink
  • (11)post_thanks_box
  • (7)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (1)postbit_attachment
  • (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
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • 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