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 2 of 3 < 1 2 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 06-21-2006, 02:12 PM   #11
uaeghost
vB Newbie

uaeghost's Avatar

Activity Longevity
0/20 14/20
Today Posts
0/3 ssssssss8
Location: United Arab Emirates
uaeghost is on a distinguished road
Send a message via MSN to uaeghost
Status: Offline Default
thanks man keep going
Reply With Quote Installed
Old 06-23-2006, 08:35 PM   #12
navid
vB Newbie

Activity Longevity
0/20 14/20
Today Posts
0/3 sssssss40
navid is on a distinguished road
Status: Offline Default
nice one mate thanks alot .
Reply With Quote
Old 06-26-2006, 06:55 PM   #13
Colonel Ingus
vBulletin Guru

Colonel Ingus's Avatar

Activity Longevity
0/20 13/20
Today Posts
0/3 sssss1664
Location: ...in a van, down by the river.
Colonel Ingus is on a distinguished road
Quote:
Originally Posted by Lottis
Could this be used in 3.6.0 ?
I will test this in Beta 3 today and let you know
Reply With Quote Installed
Old 06-26-2006, 09:28 PM   #14
Colonel Ingus
vBulletin Guru

Colonel Ingus's Avatar

Activity Longevity
0/20 13/20
Today Posts
0/3 sssss1664
Location: ...in a van, down by the river.
Colonel Ingus is on a distinguished road
Tested and confirmed to work in vB 3.6 Beta 3 :classic:
Reply With Quote Installed
Old 06-27-2006, 04:19 PM   #15
Arnoud
vBulletin Guru

Arnoud's Avatar

Activity Longevity
0/20 18/20
Today Posts
0/3 sssss3129
Location: Europe, Flanders
Arnoud is on a distinguished road
Send a message via MSN to Arnoud Send a message via Yahoo to Arnoud
Status: Offline Default
Quote:
Originally Posted by Colonel Ingus
Tested and confirmed to work in vB 3.6 Beta 3 :classic:
Great! I've added that to the first post. Thanks for confirming.
Reply With Quote Installed
Old 06-27-2006, 07:35 PM   #16
Nick R
vBulletin Guru

Nick R's Avatar

Activity Longevity
0/20 14/20
Today Posts
0/3 sssss4450
Location: Cyberspace, UK
Age: 30
Nick R is on a distinguished road
Send a message via MSN to Nick R Send a message via Yahoo to Nick R
Status: Offline Default
It installs on beta 3 but i just sent an email to my self and got a lump of htrml code. IT hadn't rendered properly... Any ideas?

ok, so just as a follow up: I copied the source off one of the vbhackers emails that was sent to me i then sent it to me via this hack and it came back asa lump of htl. I then changed the format in outlook to html and it looked the same... Any ideas?


do you have to add tags around it? eg. Head and body?


EDIT: i am an idiot i uploaded email.php to includes where i uploaded the class_mail.php script to xD
vB Nova - Great vBulletin Help, Mods & Skins | PicoSphere - Free Image Hosting with No Pop-Ups
---------

Last edited by Nick R; 06-27-2006 at 08:15 PM.
Reply With Quote
Old 06-27-2006, 07:52 PM   #17
Nick R
vBulletin Guru

Nick R's Avatar

Activity Longevity
0/20 14/20
Today Posts
0/3 sssss4450
Location: Cyberspace, UK
Age: 30
Nick R is on a distinguished road
Send a message via MSN to Nick R Send a message via Yahoo to Nick R
Status: Offline Default
Awesome Mod well done dude.

Last edited by Nick R; 06-27-2006 at 08:15 PM.
Reply With Quote
Old 08-13-2006, 01:25 PM   #18
mikem
Coder

Activity Longevity
0/20 14/20
Today Posts
0/3 sssssss56
Location: Fort Bragg, NC
Age: 29
mikem is on a distinguished road
Status: Offline Default
Quote:
This hack also works with vbulletin versions 3.5.4 and 3.5.5. please make note!
Thank you.
Reply With Quote Installed
Old 08-22-2006, 02:47 PM   #19
GreysAnatomy
vB Newbie

GreysAnatomy's Avatar

Activity Longevity
0/20 13/20
Today Posts
0/3 ssssssss3
GreysAnatomy is on a distinguished road
Status: Offline Default
Worked like a charm in 3.6.0 - thank you so much!
Reply With Quote
Old 09-05-2006, 02:43 PM   #20
Rex
Advanced Coder

Rex's Avatar

Activity Longevity
0/20 19/20
Today Posts
0/3 ssssss882
Location: Louisiana
Age: 28
Rex is on a distinguished road
Send a message via AIM to Rex Send a message via MSN to Rex
Status: Offline Default
would love to see this in plugin version
Reply With Quote Installed

Reply
Page 2 of 3 < 1 2 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:56 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!