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
  #52  
Old 03-05-2012, 06:11 AM
chapsrulez chapsrulez is offline
 
Join Date: Mar 2004
Posts: 22
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

great plugin.
thanks!
Reply With Quote
  #53  
Old 04-05-2012, 11:17 AM
mpoorrajab's Avatar
mpoorrajab mpoorrajab is offline
 
Join Date: Mar 2007
Location: Internet
Posts: 95
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi
How can I test forum emails? (Subscription, Activating, Greeting and ...)
Thank you
Reply With Quote
  #54  
Old 04-06-2012, 10:39 AM
DuraMater DuraMater is offline
 
Join Date: Nov 2010
Posts: 3
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I am very new to all of this, just purchased vBulletin 4.1.11 Patch Level 1 a week ago. How do I install this plugin? Do I just upload the .xml file from my computer using the ACP? Or do I have to physically add it as a new plugin? If so, what would be the hook location in the code? What would be the execution order? Forgive my ignorance, I know some html, a very small amount of css, and nothing about php at all. Thanks in advance!

P.S. - Nevermind. Plugin downloaded, installed, and tested. Worked perfectly! Thank you, bchertov, for this wonderful code!
Reply With Quote
  #55  
Old 04-07-2012, 06:50 PM
mpoorrajab's Avatar
mpoorrajab mpoorrajab is offline
 
Join Date: Mar 2007
Location: Internet
Posts: 95
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have a problem.
In emails which contain text from forum like PM mails, all lines are merged. Because this type of text isn't HTML.
Is there any way too solve this problem?
Reply With Quote
  #56  
Old 05-12-2012, 07:54 AM
Cybex Cybex is offline
 
Join Date: Oct 2005
Posts: 15
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Looks great so far, thanks!
Reply With Quote
  #57  
Old 06-06-2012, 05:08 PM
trigatch4 trigatch4 is offline
 
Join Date: Feb 2007
Posts: 90
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

For those complaining it alters other e-mails negatively... why not activate it when sending an e-mail and then unactivate/delete? Easy enough. Unless I'm missing something?
Reply With Quote
  #58  
Old 06-07-2012, 12:52 PM
Sworm Sworm is offline
 
Join Date: Feb 2008
Posts: 422
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

working on 4.2.0?
Reply With Quote
  #59  
Old 06-24-2012, 02:14 PM
adwolf1 adwolf1 is offline
 
Join Date: Jan 2006
Posts: 15
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Sworm View Post
working on 4.2.0?
it appears to be here.

I wonder if anyone has come up with a solution to the problem of e-mails that get the text all running together, like "new post notifications".

There must be some way to alter the phrases in a template and turn them from text -> html before they are output.

anyone here have an idea of how to get that done? otherwise this is a great mod
Reply With Quote
  #60  
Old 06-24-2012, 08:07 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 adwolf1 View Post
it appears to be here.

I wonder if anyone has come up with a solution to the problem of e-mails that get the text all running together, like "new post notifications".

There must be some way to alter the phrases in a template and turn them from text -> html before they are output.

anyone here have an idea of how to get that done? otherwise this is a great mod
You need to edit those phrases to substitute html breaks < br/ > for the carriage returns.
Reply With Quote
  #61  
Old 07-24-2012, 08:43 AM
JamesUK JamesUK is offline
 
Join Date: Jul 2004
Posts: 16
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

since installing this I have been trying to add images and links to the emails sent by the forum.. im testing using the 'diagnose' email..

No matter what i try to add.. every URL is stripped fom the email when its sent and obviously links dont work with no href declarations, <img> has no src declarations etc..

how do i get past this??

All i am trying to do is add an image to all emails sent by the forum butfor such a simple task this is proving surprisingly hard!
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 03:08 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.04960 seconds
  • Memory Usage 2,329KB
  • 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
  • (2)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
  • (4)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