Version: 1.00, by bchertov
Developer Last Online: Apr 2020
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!
I release this hack into the public domain. Anybody is welcome to send me a fix and I'll update it or release a new hack based on this - but please give me credit for original design.
But Im' more a designer than a coder, so I won't be usefull.
Anyway it works perfectly on my 4.2.0. Problem was my server with too agressive cache.
But Im' more a designer than a coder, so I won't be usefull.
Anyway it works perfectly on my 4.2.0. Problem was my server with too agressive cache.
Thanks again for all what you've done
Thanks for letting me know Dragon!
This is a risk you take with this hack - I'm guess HTML email are more likely to marked as spam. So if you are not recieving the emails that this hack sends out, please check your spam filters.
khoking (and anybody else using 4.2) can you plesae chime in if infact this hack will work with 4.2? Again, if the emails get trapped by a spam filter, it doesn't mean that this hack doesn't work!
This is a risk you take with this hack - I'm guess HTML email are more likely to marked as spam. So if you are not recieving the emails that this hack sends out, please check your spam filters.
khoking (and anybody else using 4.2) can you plesae chime in if infact this hack will work with 4.2? Again, if the emails get trapped by a spam filter, it doesn't mean that this hack doesn't work!
This appears to be working fine for me after testing using vb 4.2.0 pl3 with vbseo.
This is a great mod, but one of the issues we are having is that all of the text in a notification, especially if there is a quote involved, is one large block with no coding applied. Is there any way to change this so actually content of the email is formated as well?
This is a great mod, but one of the issues we are having is that all of the text in a notification, especially if there is a quote involved, is one large block with no coding applied. Is there any way to change this so actually content of the email is formated as well?
I added divs (HTML) wrapped around the $text (or $message) and that formats the PM alert to an extent. A multi quote gets messy.
However I've since removed the actual PM text and instead added a login link so our users must visit the forum to view PM's.