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.6.x] StopSpam
    By: flappi282
  • [vB 3.8.x] vBulletin Chat Addon for...
    By: 123flashchat
  • [vB 3.5.x] 404 Page Redirect To...
    By: Ak Worm
  • [vB 3.8.x] 404 Page Redirect To...
    By: Ak Worm
  • [vB 4.0.x] 404 Page Redirect To...
    By: Ak Worm

Latest Template Mods

  • [vB 3.8.4] Images PassWordBox...
    By: cRs!MP
  • [vB 3.8.4] Footer Follow Ups
    By: Ak Worm
  • [vB 3.7.2] Worldofwarcraft blue...
    By: Mikeyodesigns
  • [vB 3.7.0] My Links
    By: blind-eddie
  • [vB 3.7.0] Pop-Up Warning Before...
    By: Thelonius Beck

Latest Styles

  • [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
  • [vB 3.8.3] Green Theme
    By: Robdog
  • [vB 3.8.2] Unreal T 3 - vB3.8.x
    By: Butcher

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 1 of 3 1 23 >

 

  • 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 (181)
Released: 06-15-2006, 10: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, 566 views)



Old 06-15-2006, 10:46 PM   #2
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
Thanks for releasing this here!!!
Reply With Quote Installed
Old 06-16-2006, 09:15 AM   #3
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
Thanks for releasing .
Reply With Quote Installed
Old 06-17-2006, 12:43 AM   #4
Norman
Coder

Norman's Avatar

Activity Longevity
0/20 13/20
Today Posts
0/3 ssssss242
Location: [Italy]
Norman is on a distinguished road
Send a message via MSN to Norman
Status: Offline Default
This is a really great release! Thanks man!
Reply With Quote Installed
Old 06-17-2006, 11:09 PM   #5
BamaStangGuy
Coder

BamaStangGuy's Avatar

Activity Longevity
0/20 13/20
Today Posts
0/3 sssssss48
BamaStangGuy is on a distinguished road
Status: Offline Default
Any idea on if it can be made into a plugin?
Reply With Quote Installed
Old 06-18-2006, 01:56 AM   #6
Reeve of Shinra
Coder

Activity Longevity
0/20 20/20
Today Posts
0/3 sssssss85
Reeve of Shinra is on a distinguished road
Status: Offline Default
The admincp is a ***** to code for but this is a great hack and alot of people have been asking for it. Thanks for sharing!
Reply With Quote
Old 06-18-2006, 08:53 AM   #7
Lottis
vB Newbie

Activity Longevity
0/20 13/20
Today Posts
0/3 sssssss32
Location: Norway
Lottis is on a distinguished road
Status: Offline Default
Could this be used in 3.6.0 ? Nice idea.
Reply With Quote Installed
Old 06-18-2006, 10:57 AM   #8
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
Most likely, yes. If you can make the file edits, it'll work in 3.6
Reply With Quote Installed
Old 06-21-2006, 12:30 AM   #9
criscokid
vB Newbie

Activity Longevity
0/20 13/20
Today Posts
0/3 sssssss16
criscokid is on a distinguished road
Status: Offline Default
Is this the mod that's being used on this site to send the nicely laid out HTML emails?
Reply With Quote Installed
Old 06-21-2006, 02:36 PM   #10
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
Indeed it is .

Have a look at the howto by Rex to see which HTML we used.
Reply With Quote Installed

Reply
Page 1 of 3 1 23 >

« Header Marquee Text | StopSpam »

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 03:59 AM
[How To] Send really cool emails Rex vBulletin Modification Tutorials 35 02-17-2007 06:01 PM
Users Only Allowed to Send PMs to Staff (staff excluded) firas vBulletin Modification Requests 3 09-08-2005 09:04 AM



All times are GMT. The time now is 01:03 PM.

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!