vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Mini Mods - Send emails with HTML as HTML (https://vborg.vbsupport.ru/showthread.php?t=231532)

bchertov 12-28-2009 10:00 PM

Send emails with HTML as HTML
 
1 Attachment(s)
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!

bollie 12-29-2009 05:07 AM

pluggin ??:eek: No Files Uploaded.

bchertov 12-29-2009 05:12 AM

Quote:

Originally Posted by bollie (Post 1941226)
pluggin ??:eek: No Files Uploaded.

Picky, picky.... :)

Uploaded!
Thanks!
B

skariko 12-29-2009 07:02 AM

That's awesome.
Installed!

Alecsmith 12-29-2009 08:48 AM

Many many thanks :)

TheSupportForum 12-29-2009 09:25 AM

plugin would be great but as a modder i think that knowing that there is an issue with the line breaks etc.. you should code the changes in your product to fix this please

i would love to use it but not until the minor issue with registration emails are also fixed for this mod

Adem GEN? 12-29-2009 10:36 AM

Very nice plugin
Thanks
Installed

Adem GEN? 12-29-2009 10:46 AM

Contact Us Excluding possible?

bchertov 12-29-2009 02:26 PM

Quote:

Originally Posted by simonhind (Post 1941357)
plugin would be great but as a modder i think that knowing that there is an issue with the line breaks etc.. you should code the changes in your product to fix this please

i would love to use it but not until the minor issue with registration emails are also fixed for this mod

The place to fix the line breaks and registration emails is in the phrase that defines it, so that it is entirely plain text or entirely HTML. Any proper HTML tags will trigger the whole email to be formatted as HTML which will ignore carriage returns, etc.

willy888 12-29-2009 02:43 PM

Great mod
Thanks man

bchertov 12-29-2009 04:29 PM

Quote:

Originally Posted by AdemGEN? (Post 1941407)
Contact Us Excluding possible?

As long as the contactus phrase doesn't have any html tags in it, it should be sent as plain text.

Dr.osamA 12-30-2009 01:21 PM

thanx man

installed
________
Jeep grand cherokee specifications

Sworm 01-02-2010 07:12 PM

Great

cory_booth 01-07-2010 11:18 AM

Version here says 1.00
Version installed says .9

bchertov 01-07-2010 07:30 PM

Quote:

Originally Posted by cory_booth (Post 1949483)
Version here says 1.00
Version installed says .9

I don't think there was a change, but you might want to "upgrade" if you are concerned.

t?rkg?rc? 01-09-2010 10:06 PM

Thanks

Mind11 01-10-2010 09:05 AM

Great plugin mate ... thanks!

Installed

bchertov 01-13-2010 04:46 PM

I got a notification of post by Roy, but I'm not seeing it on this thread. Did you resolve your problem, Roy?

Barry

ahmedipa 01-23-2010 03:17 PM

good thank you

thmaureira 03-29-2010 02:28 PM

excelent, just what we need ;)

Verionia 04-07-2010 09:16 PM

How do you configure in options?

wynode 04-22-2010 11:09 AM

Nice addition.

Is there anyway to get this to work ONLY when you want to manually send emails to users.

Admincp -> Users -> Send emails to users

bchertov 04-23-2010 06:08 PM

Quote:

Originally Posted by wynode (Post 2025335)
Nice addition.

Is there anyway to get this to work ONLY when you want to manually send emails to users.

Admincp -> Users -> Send emails to users

That's a decent idea and it's probably doable, but I'm not going to do it now. Remember, this mod is only activated if there is HTML in your email, so most/all standard emails will sent as plain text unless you have added HTML to the phrase.

wynode 04-26-2010 05:53 AM

OK cheers!

Xencored 05-06-2010 01:21 PM

<3 works great

elrafei 06-18-2010 01:25 AM

many thanks

strudinox 06-19-2010 06:41 PM

Been waiting for this!

Thank you!

Manoel J?nior 07-12-2010 03:02 PM

Very thanks

KURTZ 07-12-2010 03:09 PM

Quote:

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!
what you mean with this? maybe that we can send a HTML mails for the new registrations? can you give me the phrase that we need to change?

thanks

mrkredo 08-06-2010 06:23 PM

Installed! Great mod, thanks!

TMSBrad 09-07-2010 02:11 PM

Could this mod be causing this error: https://vborg.vbsupport.ru/showthread.php?t=249918

My users are getting blank emails with no subject and no body, and they seem to coincide with topic update notifications.

bchertov 09-07-2010 02:30 PM

Quote:

Originally Posted by TMSBrad (Post 2095026)
Could this mod be causing this error: https://vborg.vbsupport.ru/showthread.php?t=249918

My users are getting blank emails with no subject and no body, and they seem to coincide with topic update notifications.

I don't know. It doesn't seem like is should be causing an error. Anybody else on this thread experiencing this?

I have been receiving occasional blank email to our contact us email address. I have not had any reports of users getting blank emails.

TMSBrad 09-07-2010 08:00 PM

It's probably the HTML I've entered, but something is definitely not working on the topic update HTML emails.

GeorgeB85 09-08-2010 12:59 PM

Installed. Works great! Been looking for a way to show off the bold html code with my registration mod!

ravencr 10-06-2010 12:28 AM

Is there a way to make this work with the welcome email, by chance? Or is there a mod out there that does this, because right now it's only plain text which is annoying.

Chris

bchertov 10-06-2010 12:37 AM

Quote:

Originally Posted by ravencr (Post 2107253)
Is there a way to make this work with the welcome email, by chance? Or is there a mod out there that does this, because right now it's only plain text which is annoying.

Chris

Have you entered HTML tags in the welcome email phrase? It should work...In fact it DOES work for me!

ravencr 10-06-2010 12:42 AM

Do I just put it at the beginning and the end, and I'm good to go?

Chris

bchertov 10-06-2010 12:51 AM

Quote:

Originally Posted by ravencr (Post 2107258)
Do I just put it at the beginning and the end, and I'm good to go?

Chris

The whole phase text for the email needs to be properly formatted HTML including use BR tags for all line breaks.

Devanand 12-02-2010 03:00 AM

Quote:

This is very powerful and flexible, but also a bit dangerous
Why dangerous?

Manoel J?nior 02-20-2011 09:37 AM

Thanks!!

Tagged more five stars


All times are GMT. The time now is 12:52 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.04327 seconds
  • Memory Usage 1,790KB
  • 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
  • (10)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)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