Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Send HTML emails from adminCP Details »
Send HTML emails from adminCP
Mod Version: 1.00, by tokenyank (Member) tokenyank is offline
Developer Last Online: Nov 2012 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 3.6.7 Rating: (12 votes - 4.75 average) Installs: 108
Released: 26 Jan 2007 Last Update: Never Downloads: 534
Not Supported Code Changes  

Well, this was asked for by many people (me included ) without ever being done so things are never done for those who want but not prepared to do for themselves! Thus, a hack is borne!

This hack does what it says on the label. Having come from IPB to vB, I was surprised to see that a default "Send HTML email" from the adminCP was lacking as I used it in my IPB board for newsletters and such. This hack adds the ability to use the default email template that sends plaintext emails or, but toggling the radiobutton, will send HTML mime emails.


Unfortanatly, I am not familiar enough with vB's hooks/plugins so it is done with 2 file edits but I'm sure that it could be done with a plugin if someone ever feels the need...


Step 1:
In admincp/email.php find:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Directly below it place:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Step 2:
In admincp/email.php find:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Directly below it place:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Step 3:
In includes/class_mail.php find:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

and replace with:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


(you may modify this hack at will... No permission needs to be granted)

**Tested and works for vB versions 3.5.0 to present (3.7.1PL)**

Download Now

Only licensed members can download files, Click Here for more information.

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
Send HTML emails from adminCP tokenyank vBulletin 3.5 Add-ons 105 24 Jun 2010 14:12

Comments
  #2  
Old 26 Jan 2007, 02:25
ep13 ep13 is offline
 
Join Date: Nov 2006
Thick moment here but does this allow it to send a image so the image is seen when email opened. like u get in alienware email for example. if so just what i need
__________________
http://www.escortpower.co.uk
Reply With Quote
  #3  
Old 26 Jan 2007, 07:35
Distance's Avatar
Distance Distance is offline
 
Join Date: Jul 2006
Real name: Josh
File edits

EEK
__________________
My software never has bugs. It just develops random features.

Distance

Reply With Quote
  #4  
Old 26 Jan 2007, 11:01
FleaBag's Avatar
FleaBag FleaBag is offline
 
Join Date: Dec 2001
I was actually looking at your 3.5 hack yesterday! Thanks for the update.
__________________
AndroidETC.com :: Android, and other stuff.
Reply With Quote
  #5  
Old 26 Jan 2007, 16:25
COBRAws's Avatar
COBRAws COBRAws is offline
 
Join Date: Oct 2002
Real name: Jack
Originally Posted by ep13 View Post
Thick moment here but does this allow it to send a image so the image is seen when email opened. like u get in alienware email for example. if so just what i need
You cas always add an img tag to your template. Placing the image file in your server. But viewers wont be able to see the image if they open the email offline.
__________________
cobraws
Reply With Quote
  #6  
Old 26 Jan 2007, 16:41
ep13 ep13 is offline
 
Join Date: Nov 2006
Originally Posted by COBRAws View Post
You cas always add an img tag to your template. Placing the image file in your server. But viewers wont be able to see the image if they open the email offline.
Can u PM me with how to do that please?
__________________
http://www.escortpower.co.uk
Reply With Quote
  #7  
Old 26 Jan 2007, 20:51
tokenyank tokenyank is offline
 
Join Date: Jul 2005
Originally Posted by ep13 View Post
Thick moment here but does this allow it to send a image so the image is seen when email opened. like u get in alienware email for example. if so just what i need
This works as if you are coding a HTML page that you'd have on your server but instead of using relative tags, you have to use absolutes...

So, you'd have your email:

Blah blah blah Blah blah blah Blah blah blah Blah blah blah Blah blah blah Blah blah blah Blah blah blah

Then you want an image, you'd do it just like a webpage:
<img src="http://www.domain.com/image.jpg">

Then, when the emails are opened *WITH* a HTML ready email client, you have a pretty email!

Originally Posted by Distance View Post
File edits

EEK
Hey, I was lucky enough to figure out how to do this as it was with almost 0 coding ability... You don't want to edit files, release a plugin and I'll install it too!

Originally Posted by FleaBag View Post
I was actually looking at your 3.5 hack yesterday! Thanks for the update.
No problem, but this isn't really an update as nothing has changed since release v1... Just added it here for those who limit their searching to 3.6 addon's!
Reply With Quote
  #8  
Old 27 Jan 2007, 07:34
bchertov's Avatar
bchertov bchertov is offline
 
Join Date: Dec 2004
Location: Sonoma County, CA
Real name: Barry
I hope this isn't bad form, but when I saw that this mod required file edits , I posted a handy little pluggin that automatically sends out any message with HTML in the body text as an HTML email, including from the ACP! Check it out here.

I thought I'd give you folks a heads up!
Reply With Quote
  #9  
Old 23 Feb 2007, 08:43
timrox timrox is offline
 
Join Date: Nov 2006
I second bchertov's hack. Elegant and simple to install.
Reply With Quote
  #10  
Old 16 Mar 2007, 03:33
Evil Chris's Avatar
Evil Chris Evil Chris is offline
 
Join Date: Nov 2002
I installed with the file edits as I had done in a previous ver of VB.

Thank you.
__________________
Not force-feeding you with a signature today.
Reply With Quote
  #11  
Old 17 Mar 2007, 19:09
giovannicosta giovannicosta is offline
 
Join Date: Feb 2007
Is it wysiwyg editory like?
Reply With Quote
  #12  
Old 01 Apr 2007, 09:37
ThunderWolf ThunderWolf is offline
 
Join Date: Feb 2006
Dear tokenyank,
I try it in VB 3.6.5 and worked very well, Thank you so much.
Regards,
ThunderWolf
Reply With Quote
  #13  
Old 12 Apr 2007, 05:05
markblair markblair is offline
 
Join Date: Jan 2004
Works great, thanks!
vBulletin 3.6.4
Reply With Quote
  #14  
Old 24 Apr 2007, 12:31
coffee's Avatar
coffee coffee is offline
 
Join Date: Oct 2002
Originally Posted by tokenyank View Post
Hey, I was lucky enough to figure out how to do this as it was with almost 0 coding ability... You don't want to edit files, release a plugin and I'll install it too!
< Seconds that! as we can only wait for vBulletin team to add this letting people to send HTML formated messages

Thank you Tokenyank.
__________________
-
Reply With Quote
  #15  
Old 01 Jun 2007, 11:07
Demo16 Demo16 is offline
 
Join Date: Sep 2006
Wow! Great add on I just installed! There's a way to add extra emails also to send it to people not subscribed to the forum??
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

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


New To Site? Need Help?

All times are GMT. The time now is 11:53.

Layout Options | Width: Wide Color: