The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Enable HTML for mass mail
I'm looking for a hack that I would be able to use HTML format while sending mass email to all the members on my board. Is there any way I could do this?
Please help! |
#2
|
||||
|
||||
*bump*
Please anyone? |
#3
|
||||
|
||||
Here you go:
Step 1:In admincp/email.php find: Code:
print_textarea_row($vbphrase['message_email'], 'message', '', 10, 50); Code:
print_yes_no_row('Send HTML Email?', 'sendhtml', 0); In admincp/email.php find: Code:
construct_hidden_code('test', $vbulletin->GPC['test']); Code:
construct_hidden_code('sendhtml', $_POST['sendhtml']); In includes/class_mail.php find: Code:
$headers .= 'Content-Type: text/plain' . iif($encoding, "; charset=\"$encoding\"") . $delimiter; 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) CREDIT goes to: tokenyank |
#4
|
||||
|
||||
Thank you very much, engager! Also do you mind if I submit this as a hack to the mod database section?
Thanks once again. |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|