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

  #31  
Old 03 Mar 2008, 03:36
Tom_S Tom_S is offline
 
Join Date: Jan 2007
Real name: Tom
I went ahead and installed that today. I was bored. It works great! I just don't like editing the php files. It sucks when the vB updates come out because my old brain forgets what I have to go and edit. LOL
__________________
Are you suffering from an Alcohol or Drug addiction? Are you suffering from any addiction? Do you want help? There are others like you at Recovery Crossroads. You are not in this alone. We have been where you are at right now.
Reply With Quote
  #32  
Old 03 Mar 2008, 18:29
len backus len backus is offline
 
Join Date: May 2007
Is it possible to send both plain text and html email versions?

Last edited by len backus; 09 Mar 2008 at 22:11.
Reply With Quote
  #33  
Old 07 May 2008, 18:29
veenuisthebest's Avatar
veenuisthebest veenuisthebest is offline
 
Join Date: Mar 2008
Real name: Vinayak
this working perfect on my 3.7.0 Gold !!

i hope vB team soon gets this feature inbuilt with nice extra features !!

thanks a lot ..
Reply With Quote
  #34  
Old 15 May 2008, 14:35
Pvtiste Pvtiste is offline
 
Join Date: Nov 2005
Real name: Mathieu
Does it work with vb 3.6.10 ?
Reply With Quote
  #35  
Old 16 May 2008, 07:00
bchertov's Avatar
bchertov bchertov is offline
 
Join Date: Dec 2004
Location: Sonoma County, CA
Real name: Barry
Originally Posted by Pvtiste View Post
Does it work with vb 3.6.10 ?
I don't know, but I've got to imagine that it does. I wouldn't worry about it. If it doesn't I'll fix it for you right away!
Reply With Quote
  #36  
Old 17 May 2008, 00:39
sdfaheem's Avatar
sdfaheem sdfaheem is offline
 
Join Date: Jan 2007
Real name: Dr. Faheem
Could anyone show me a demo of the newsletter?
Can we set duration to send the newsletter, like weekly or monthly?
Reply With Quote
  #37  
Old 17 May 2008, 03:39
tokenyank tokenyank is offline
 
Join Date: Jul 2005
Originally Posted by Tom_S View Post
I went ahead and installed that today. I was bored. It works great! I just don't like editing the php files. It sucks when the vB updates come out because my old brain forgets what I have to go and edit. LOL
I know, that's what I use the 'notes' section for in the admin panel.. Anything I need to do code editing, I put the name of the hack, the url for it here, and what files I had to edit. My personal post-it note
Originally Posted by len backus View Post
Is it possible to send both plain text and html email versions?
Yes, there is a toggle that you can send either txt or html, but not both at same time
Originally Posted by Pvtiste View Post
Does it work with vb 3.6.10 ?
Yes
Originally Posted by sdfaheem View Post
Could anyone show me a demo of the newsletter?
Can we set duration to send the newsletter, like weekly or monthly?
There is no demo... You create your newsletter in your favourite html editor, upload all the css/images to your site, **MAKE SURE YOUR IMAGES AND CSS** are coded to use absolute paths, you then copy all the HTML from the editor and paste it into the box in the admincp and toggle HTML and hit send... Badda bing.

As to scheduling, no, there's no way to add scheduling to this... If you want something that robust, you'll need to use Sendstudio or OemPro or similar.
__________________
MumsOnline - Where Parents Talk
Don't let the name fool you, we aren't just about mums... Dads can come too! A parenting board, for parents by parents.
Reply With Quote
  #38  
Old 17 May 2008, 17:47
bchertov's Avatar
bchertov bchertov is offline
 
Join Date: Dec 2004
Location: Sonoma County, CA
Real name: Barry
Originally Posted by len backus View Post
Is it possible to send both plain text and html email versions?
You can send a plain text email as long as your messages doesn't have any HTML tags in it. If an HTML tag is found it is sent out as HTML, otherwise it is sent as plain text.
Reply With Quote
  #39  
Old 18 May 2008, 14:03
tokenyank tokenyank is offline
 
Join Date: Jul 2005
Some things work like that, yes bchertov... My particular hack isn't that smart.

There is a toggle that you have to explicitly say whether the email is to be sent via plaintext or HTML.

If you put HTML in the editor box and hit send without toggling the HTML option, the email will be sent out plaintext.

As I said before, I'm not clever enough to make this as good as it could be or do it without code edits... This suits my needs and thus I put it here to hopefully help someone else..
__________________
MumsOnline - Where Parents Talk
Don't let the name fool you, we aren't just about mums... Dads can come too! A parenting board, for parents by parents.
Reply With Quote
  #40  
Old 19 May 2008, 06:47
bchertov's Avatar
bchertov bchertov is offline
 
Join Date: Dec 2004
Location: Sonoma County, CA
Real name: Barry
Originally Posted by bchertov View Post
You can send a plain text email as long as your messages doesn't have any HTML tags in it. If an HTML tag is found it is sent out as HTML, otherwise it is sent as plain text.
Originally Posted by tokenyank View Post
Some things work like that, yes bchertov... My particular hack isn't that smart...
My apologies. I thought this was a question from the hack I published thread.
B
Reply With Quote
  #41  
Old 05 Sep 2008, 01:14
Javierogo's Avatar
Javierogo Javierogo is offline
 
Join Date: Jun 2008
Real name: Javier
Very Nice

I had this hack in my vBulletin 3.7.2, but 1 hour ago with the 3.7.3 the templates is missing. I changed every templates one more time and it works very well.
__________________
Reply With Quote
  #42  
Old 16 Feb 2009, 03:11
TNCclubman's Avatar
TNCclubman TNCclubman is offline
 
Join Date: Sep 2008
Damn, need this! Does it work with vB 3.8.1?
Reply With Quote
  #43  
Old 18 Feb 2009, 01:29
TNCclubman's Avatar
TNCclubman TNCclubman is offline
 
Join Date: Sep 2008
Works with the latest vB 3.8.1!

thanks!
Reply With Quote
  #44  
Old 20 Jul 2009, 01:06
mattwmc2001 mattwmc2001 is offline
 
Join Date: Jun 2009
Sweet, works for 3.83!

Thanks a bunch
Reply With Quote
  #45  
Old 24 Aug 2009, 14:58
jskoh jskoh is offline
 
Join Date: Dec 2008
hi, had edited the php file but couldnt see the email html anywhere...
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 13:33.

Layout Options | Width: Wide Color: