Follow vBSEO on Twitter
vBulletin Modifications
  • Forums
  • Add-Ons
  • Template Modifications
  • Styles
  • Graphics
  • Tutorials
  • Support Center
  • Register
  • vBulletin SEO

Member Log In

Site Navigation

  • Register
  • Members List
  • Social Groups
  • Search
  • Today's Posts
  • Mark Forums Read

Latest Modifications

  • [vB 3.8.4] THX - Hack for VB. 3.8.4
    By: bluedog
  • [vB 3.8.4] Cyb - Chatbox V.2.3
    By: bluedog
  • [vB 4.0.x] PHPKD - Advanced Quick...
    By: PHPKD
  • [vB 3.6.x] StopSpam
    By: flappi282
  • [vB 3.8.x] vBulletin Chat Addon for...
    By: 123flashchat

Latest Template Mods

  • [vB 4.0.x] Remove My Profile Link...
    By: Ak Worm
  • [vB 3.8.x] Images DownloadBox...
    By: cRs!MP
  • [vB 3.8.x] Adviertise Mod On Forum...
    By: MG4
  • [vB 3.8.4] Images PassWordBox...
    By: cRs!MP
  • [vB 3.8.4] Footer Follow Ups
    By: Ak Worm

Latest Styles

  • [vB 4.0.x] 4.0.3 - VB4STYLE-TWEETA...
    By: Belon
  • [vB 4.0.x] [4.0.3] vbdesigns.de...
    By: Belon
  • [vB 3.8.4] CompletevB - Skylight
    By: DreadKnight
  • [vB 3.8.3] [vB 3.8.4] Barcelona...
    By: hoiquantinhoc.com
  • [vB 3.8.3] Natures Walk by vBSkin...
    By: Chri5

Latest Graphics

  • [vB ] [anim.]Team Ranks
    By: cRs!MP
  • [vB ] Abstract Circles (3...
    By: cRs!MP
  • [vB ] PlayStation Rank Images
    By: cRs!MP
  • [vB 3.6.12] Heavy Stroked Button...
    By: Shelley
  • [vB ] Minature Ranks.
    By: Shelley
vBulletin Modifications » vBulletin Modifications » vBulletin 3.5 / 3.6 Hack Releases » Administrative and Maintenance Tools - Send HTML emails from adminCP
Reply
Page 3 of 3 < 12 3

 

  • Thread Tools
Download Options
You Must Register First
To Download This Modification

Report A Bug
Bugs
No bugs found in the system. If you have found a bug, please report a bug here
Submit A Bug | View All Bugs
  
Not Supported
[vB 3.6.0 Beta 3] Administrative and Maintenance Tools - Send HTML emails from adminCP (183)
Released: 06-15-2006, 09:08 PM
Modification Information: Version: v1
Author: tokenyank
Last Online: 06-20-2007
Installer Included: 0 Additional queries added to database: 0 Template Edits:
File Edits: 2 New Files: New Phrases:

Plugin
Well, this was asked for by many people (me included ) without ever being done so I recruited some of my more knowledgable friends in php to get the syntax right for the following hack.

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:

Code:
 print_textarea_row($vbphrase['message_email'], 'message', '', 10, 50);
Directly below it place:
Code:
 print_yes_no_row('Send HTML Email?', 'sendhtml', 0);
Step 2:
In admincp/email.php find:

Code:
 construct_hidden_code('test', $vbulletin->GPC['test']);
Directly below it place:
Code:
 construct_hidden_code('sendhtml', $_POST['sendhtml']);
Step 3:
In includes/class_mail.php find:
Code:
$headers .= 'Content-Type: text/plain' . iif($encoding, "; charset=\"$encoding\"") . $delimiter;
and replace with:
Code:
if($_POST['sendhtml'])  {
  $headers .= 'Content-Type: text/html' . iif($encoding, "; charset=\"$encoding\"") . $delimiter;
}else{
  $headers .= 'Content-Type: text/plain' . iif($encoding, "; charset=\"$encoding\"") . $delimiter;
}

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

(additional note: Rex, next time you send an email, you may want to put a bit more info in it... took me ages to figure out you meant this hack!)



Screenshots
Screenshots
File Type: jpg htmlemail.jpg (68.0 KB, 582 views)



Old 09-25-2006, 07:26 PM   #21
criscokid
vB Newbie

Activity Longevity
0/20 13/20
Today Posts
0/3 sssssss16
criscokid is on a distinguished road
Status: Offline Default
Quote:
Originally Posted by Arnoud
Have a look at the howto by Rex to see which HTML we used.
It took me a couple of minutes to work out what you meant by this so for the benefit of others reading this thread in thefuture... take a look at this thread.
Reply With Quote Installed
Old 10-11-2006, 02:34 PM   #22
dart vader
vB Newbie

Activity Longevity
0/20 15/20
Today Posts
0/3 sssssss25
dart vader is on a distinguished road
Status: Offline Default
thanx very useful!!
Reply With Quote Installed
Old 11-28-2006, 06:27 AM   #23
simsim
vB Newbie

Activity Longevity
0/20 13/20
Today Posts
0/3 ssssssss1
simsim is on a distinguished road
Status: Offline Default
Working like a treat in 3.6.0! As about releasing it as a plug-in so as not to hack the code, there's a hook location in includes/class_mail.php but not in admincp/email.php, so maybe that's the reason for hacking necessity.

Anyway great mod, it saves me tens of useless hours trying to integrate some lousy HTML newsletter with vBulletin.
Reply With Quote Installed
Old 11-29-2006, 10:23 PM   #24
redlabour
vB Newbie

redlabour's Avatar

Activity Longevity
0/20 12/20
Today Posts
0/3 sssssss25
redlabour is on a distinguished road
Status: Offline Default
Waiting for a real Product.
Reply With Quote
Old 12-04-2006, 11:50 AM   #25
criscokid
vB Newbie

Activity Longevity
0/20 13/20
Today Posts
0/3 sssssss16
criscokid is on a distinguished road
Status: Offline Default
Quote:
Originally Posted by dart vader View Post
thanx very useful!!
Have a read of this HTML email design document - especially the section titled 'Testing & Troubleshooting Your Email Designs'.


Am I right in assuming this mod doesn't send email using the Multipart/Alternative MIME format? - there's no facility to include a plain-text alternative version of the email.

More on this format:
"You need to send HTML email from your server in “Multipart-Alternative MIME format.” Basically, that means your mail transfer agent bundles your HTML code, PLUS a plain-text version of the message, together into one email. That way, if a recipient can’t view your beautiful HTML email, the good-oldfashioned plain-text version of your message is auto-magically displayed. It’s kind of a nerdy gobbledy-geek thing, which is why a lot of people mess things up when they try to send HTML email themselves. You either need to program a script to send email in multipart/alternative MIME format, or just use an outside vendor to deliver things for you."
Reply With Quote Installed
Old 12-16-2006, 09:12 AM   #26
Tefra
vB Newbie

Activity Longevity
0/20 15/20
Today Posts
0/3 sssssss13
Location: Athens
Age: 23
Tefra is on a distinguished road
Status: Offline Default
thx for this, really useful.
Reply With Quote
Old 12-25-2006, 03:19 PM   #27
Eagle Creek
vB Newbie

Activity Longevity
0/20 12/20
Today Posts
0/3 ssssssss1
Eagle Creek is on a distinguished road
Status: Offline Default
I love you! Thanks!
Reply With Quote
Old 01-11-2007, 05:45 AM   #28
Michael Biddle
Staff
Michael Biddle's Avatar

Activity Longevity
1/20 18/20
Today Posts
0/3 sssss2818
Location: Anaheim
Age: 22
Michael Biddle is on a distinguished road
Status: Offline Default
this works with 3.6.4
Support will only be offered through forums
Michael Biddle / vBHackers.com
vBSEO 3.3.0 Gold Released with New "Virtual HTML Display" Feature Available for download now

vBSEO Google Sitemap Generator - Version 2.5 Released

Crawlability Network: vBulletin SEO | vBulletin Hackers
Reply With Quote
Old 02-16-2010, 06:36 AM   #29
pL413R
vB Newbie

Activity Longevity
0/20 3/20
Today Posts
0/3 ssssssss4
pL413R is on a distinguished road
Status: Offline Default
please fix this code to work with vb 3.8.4, thanks
Reply With Quote
Old 05-10-2010, 11:58 AM   #30
Jayed
vB Newbie

Activity Longevity
0/20 1/20
Today Posts
0/3 ssssssss3
Jayed is on a distinguished road
Status: Offline Default
nice!!
THANKSS!!!!
Reply With Quote Installed

Reply
Page 3 of 3 < 12 3

« Color Group Forum Home | Show Group »

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

 
Thread Tools
Show Printable Version Show Printable Version
Email this Page Email this Page

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
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Rules

Similar Threads
Thread Thread Starter Forum Replies Last Post
[How to] Add navigation groups to your admincp left panel Ken Iovino vBulletin Modification Tutorials 11 07-16-2007 02:59 AM
[How To] Send really cool emails Rex vBulletin Modification Tutorials 35 02-17-2007 05:01 PM
Users Only Allowed to Send PMs to Staff (staff excluded) firas vBulletin Modification Requests 3 09-08-2005 08:04 AM



All times are GMT. The time now is 05:24 AM.

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.3.2 ©2009, Crawlability, Inc.
Transverse Styles
  • Top
  • Archive
  • vBSEO
  • Contact Us
LinkBack
LinkBack URL LinkBack URL
About LinkBacks About LinkBacks
Bookmark & Share
Digg this Thread! Digg this Thread!
Add Thread to del.icio.us Add Thread to del.icio.us
Bookmark in Technorati Bookmark in Technorati
Furl this Thread! Furl this Thread!