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.5.7 Rating: (3 votes - 5.00 average) Installs: 152
Released: 02 Nov 2005 Last Update: 25 Nov 2006 Downloads: 158
Not Supported Code Changes  

***3.6.x version of hack here***

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:


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.

Special thanks goes to non vB users Darryn, Pink, DO, and Dang for the helping me with syntax and pointing me in the right direction to get this done.

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

EDIT:
Just installed on 3.5.1 and still works with no problem... Just changing the vB version
EDIT2:
Just installed on 3.5.2 and still works with no problem... Just changing the vB version
EDIT3:
Just installed on 3.5.3 and still works with no problem... Just changing the vB version
EDIT4:
Works for 3.5.4

Download Now

Only licensed members can download files, Click Here for more information.

Screenshots

Click image for larger version

Name:	htmlemail.jpg
Views:	1681
Size:	68.0 KB
ID:	36875  

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
Add-On Releases Send HTML emails from adminCP tokenyank vBulletin 3.6 Add-ons 49 16 Feb 2013 05:14

Comments
  #2  
Old 02 Nov 2005, 18:17
RS_Jelle's Avatar
RS_Jelle RS_Jelle is offline
 
Join Date: Jul 2005
Thanks, I really needed this

/me clicks install
__________________
Now released: DownloadsII 6.0.9 (for vB 4.x) and 5.1.2 (for vB 3.7.x and 3.8.x)
Minatica.be - Belgian/Dutch computer and technology site
Reply With Quote
  #3  
Old 02 Nov 2005, 20:15
FleaBag's Avatar
FleaBag FleaBag is offline
 
Join Date: Dec 2001
Thats wicked. Do you know of a guide to writing HTML e-mails I can reference?
__________________
AndroidETC.com :: Android, and other stuff.
Reply With Quote
  #4  
Old 02 Nov 2005, 21:22
Ryan McBain's Avatar
Ryan McBain Ryan McBain is offline
 
Join Date: Feb 2002
Real name: Ask your mother
This is great. Can anyone turn this into a plugin please?
__________________
Ryan McBain
Reply With Quote
  #5  
Old 02 Nov 2005, 23:22
Ghanem's Avatar
Ghanem Ghanem is offline
 
Join Date: Aug 2004
Real name: Ghanem
thank you very very much
Reply With Quote
  #6  
Old 06 Nov 2005, 17:53
phonexpo's Avatar
phonexpo phonexpo is offline
 
Join Date: Sep 2005
Location: Dublin
Real name: Patrick
Installed, thanks been looking for this for ages - well done.....
Reply With Quote
  #7  
Old 09 Nov 2005, 13:56
OsMoSiS.it OsMoSiS.it is offline
 
Join Date: Sep 2004
More "vBulletin style" coded (hardened security by using $vbulletin->GPC) version of the same modification


In admincp/email.php find (line 62):

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

After add:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


Find (line 253):

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

After add:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


Find (line 286)

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

After add:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


In includes/class_mail.php find (line 249):

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

replace with:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Reply With Quote
  #8  
Old 12 Nov 2005, 10:14
Ryan McBain's Avatar
Ryan McBain Ryan McBain is offline
 
Join Date: Feb 2002
Real name: Ask your mother
I had lots of problems with this hack so I had to uninstall. When I post new threads on my board I had problems. I would get errors. If I posted an image in the thread I would good an error coming from the includes/class_mail on line 249.

And even if post a regular post, I my page would get stuck. The posts would still go on put I would get these errors.
__________________
Ryan McBain
Reply With Quote
  #9  
Old 13 Nov 2005, 17:56
tokenyank tokenyank is offline
 
Join Date: Jul 2005
You must have had a typo or missed out a character or something in the install as I've been running it since I posted the code here and haven't had a problem at all...

I do have to say that I'm confused to why you'd get errors in class_mail if you post an image! Try from fresh files and make sure you don't delete a ; or ' accidentally...

(this assumes you tried mine and not OsMoSiS.it's code edit as I have no idea what he did and the possible ramifications of a typo! )
Reply With Quote
  #10  
Old 18 Nov 2005, 11:00
hoangminh hoangminh is offline
 
Join Date: Jan 2005
Originally Posted by tokenyank
You must have had a typo or missed out a character or something in the install as I've been running it since I posted the code here and haven't had a problem at all...

I do have to say that I'm confused to why you'd get errors in class_mail if you post an image! Try from fresh files and make sure you don't delete a ; or ' accidentally...

(this assumes you tried mine and not OsMoSiS.it's code edit as I have no idea what he did and the possible ramifications of a typo! )
Yeah, I think that Ryan McBain has modified other class than mail, if you post image or any other, I think the class_mail can not be used

Thanks for greate hack. Installed. I need it for long time.
Reply With Quote
  #11  
Old 18 Nov 2005, 11:26
She Unlimited She Unlimited is offline
 
Join Date: Jan 2005
Sorry, how can I find the send email.php template...

:nervous:
Reply With Quote
  #12  
Old 18 Nov 2005, 11:46
hoangminh hoangminh is offline
 
Join Date: Jan 2005
Originally Posted by She Unlimited
Sorry, how can I find the send email.php template...

:nervous:
not template, edit files, it's admincp/email.php

Read carefuly before you start your work.
Reply With Quote
  #13  
Old 18 Nov 2005, 15:01
FleaBag's Avatar
FleaBag FleaBag is offline
 
Join Date: Dec 2001
OsMoSiS.it, what does your more secure version protect against?
__________________
AndroidETC.com :: Android, and other stuff.
Reply With Quote
  #14  
Old 18 Nov 2005, 15:08
She Unlimited She Unlimited is offline
 
Join Date: Jan 2005
I have never edit files before, but if you could give me a pointer...sorry.... :nervous:
Reply With Quote
  #15  
Old 18 Nov 2005, 15:20
FleaBag's Avatar
FleaBag FleaBag is offline
 
Join Date: Dec 2001
You'll need a file editor. Try EditPlus. The majority of file editing is copying and pasting, with a bit of searching. Just use the search and search/replace in EditPlus. I'm assuming you can FTP files if you have vB installed.
__________________
AndroidETC.com :: Android, and other stuff.
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 11:49.

Layout Options | Width: Wide Color: