Go Back   vb.org Archive > vBulletin Modifications > Archive > Modification Graveyard
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Send HTML Email to Users Details »»
Send HTML Email to Users
Version: 1.0.0, by akanevsky akanevsky is offline
Developer Last Online: Feb 2016 Show Printable Version Email this Page

Category: Administrative and Maintenance Tools - Version: 3.5.4 Rating:
Released: 06-30-2006 Last Update: 06-30-2006 Installs: 105
Uses Plugins Template Edits
Code Changes  
No support by the author.

/*================================================= =====================*\
|| Send HTML Email to Users
||
|| ================================================== =====
|| Brought to you by:
|| VisionScripts
|| Premium PHP & vBulletin Solutions!
|| ================================================== =====
||
|| Author : Psionic Vision
|| Works on : vBulletin 3.5
|| Released : Jul 01, 2006
||
|| Time required to install: 1 minute
|| Difficulty: easy
\*================================================ ======================*/

DESCRIPTION

Gives admin an ability to send HTML e-mail to users via AdminCP.

STATISTICS

File Changes: 2
Template Changes: 1
Products to Install: 1


FEATURES
  • Uses default style of your forum
  • Users can choose whether to receive Plain Text of HTML Emails

VERSION HISTORY

1.0.0
Initial Release

The installation manual is contained within the attached file.

IF YOU LIKE MY HACK, PLEASE CLICK INSTALL

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #22  
Old 07-05-2006, 12:24 AM
akanevsky akanevsky is offline
 
Join Date: Apr 2005
Posts: 3,972
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I checked this on yahoo, optonline, hotmail and google, it's working for me...
Reply With Quote
  #23  
Old 07-05-2006, 12:36 AM
MSheraz86's Avatar
MSheraz86 MSheraz86 is offline
 
Join Date: Dec 2005
Posts: 82
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Update: Yahoo is working Fine!!

Stupid of me > Did not realise that options needed to be edited. I chose yes for HTML emails and so finally am seeing HTML based email at yahoo. My header isn't showing lol.

Here's the creepy part..

My IP address is being given away and I have the following on the left hand side appearing.

Quote:
X-Apparently-To:
X-Originating-IP:
Return-Path:
Received:
Received:
To:
Subject: Testing
X-PHP-Script:
From: "MSheraz86@hotmail.com" <MSheraz86@hotmail.com> Add to Address Book
Message-ID: <200607050135.715d63543728@www.themobilefactor.com >
MIME-Version: 1.0
Content-Type: text/html; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Priority: 3
X-Mailer: vBulletin Mail via PHP
Date: Tue, 04 Jul 2006 20:28:35 -0500
X-AntiAbuse: This header was added to track abuse, please include it with any abuse report
X-AntiAbuse: Primary Hostname -
X-AntiAbuse:
X-AntiAbuse:
X-AntiAbuse: Sender Address Domain -
X-Source:
X-Source-Args:
X-Source-Dir:
Content-Length:
Sorry for the mess up there. Why is the above showing in yahoo? I'm glad I didn't send out emails to anyone else lol.
Reply With Quote
  #24  
Old 07-05-2006, 12:38 AM
akanevsky akanevsky is offline
 
Join Date: Apr 2005
Posts: 3,972
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I believe those are normal. Configure yahoo not to show headers by default..
Reply With Quote
  #25  
Old 07-05-2006, 12:51 AM
MSheraz86's Avatar
MSheraz86 MSheraz86 is offline
 
Join Date: Dec 2005
Posts: 82
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Awesome!! Yahoo is sorted then , I don't seem to understand why hotmail isn't working. I'm definately certain that hotmail was accessible, I could send emails but now it's not possible. I asked one of my sup mods as well and he didn't get anything at all.

Is there a way to configure the header of my HTML? Yahoo shows the header pointing at http://mail.yahoo.com/config/login?/index.php and I don't see any image there .

On a site note some time ago this is EXACTLY How I had imagined HTML emails when I made an attempt to manually send one lol. Anyways putting hotmail aside this is a very useful and great mod . Only the issue with hotmail is left along with the header and i'm ready to start sending emails .

[I appreciate the on-going support Anthony ]
Reply With Quote
  #26  
Old 07-05-2006, 10:50 AM
maroceve maroceve is offline
 
Join Date: Oct 2005
Location: Casablanca, Morocco
Posts: 232
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hey there.

I was wondering if there is way to force users already registered to receive html emails without them checking the box in their options ?
Reply With Quote
  #27  
Old 07-05-2006, 11:11 AM
akanevsky akanevsky is offline
 
Join Date: Apr 2005
Posts: 3,972
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by maroceve
Hey there.

I was wondering if there is way to force users already registered to receive html emails without them checking the box in their options ?
[SQL]UPDATE user SET htmail = 1[/SQL]
Reply With Quote
  #28  
Old 07-05-2006, 03:18 PM
MSheraz86's Avatar
MSheraz86 MSheraz86 is offline
 
Join Date: Dec 2005
Posts: 82
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

^^ Exremely USEFUL!! I ran the query successfully .

Any luck with why hotmail users are not getting any emails from my site?
Reply With Quote
  #29  
Old 07-08-2006, 05:44 AM
Kirk Y's Avatar
Kirk Y Kirk Y is offline
 
Join Date: Apr 2005
Location: Tallahassee, Florida
Posts: 2,604
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice hack.

* installs

Edit: Psionic, do you by chance have a screenshot of a typical email when using this hack? My test email doesn't look that html..ish and my header image is messed up. It's attempting to call it from the images dir. without my site url. (http://images/misc/blabla.gif)

Edit: Hmm, appears it's something with Gmail. They're not taking too kindly to the CSS or something -- all my other accounts work fine: Comcast, Hotmail, Yahoo, etc.
Reply With Quote
  #30  
Old 07-09-2006, 10:31 AM
akanevsky akanevsky is offline
 
Join Date: Apr 2005
Posts: 3,972
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes, the GMAIL does not correctly work with HTML e-mails.
Reply With Quote
  #31  
Old 07-10-2006, 09:53 AM
Logikos Logikos is offline
 
Join Date: Jan 2003
Posts: 2,924
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I've been using my own version of this for awhile now and noticed that not many Email Providers accept any CSS. Your best bet is to use the style="" attribute. The template I've been using to send emails that are formated nicely is the following.

HTML Code:
<br />
<table border="0" width="80%" cellpadding="0" cellspacing="0" align="center" style="border: 1px solid #334676;">
<tr>
        <td>

                <table border="0" width="100%" cellpadding="0" cellspacing="0" align="center">
                <tr>
                        <td><img src="http://www.vbhackers.com/forum/images/misc/vbulletin_hackers_logo.gif"></td>
                </tr>
                <tr>
                        <td valign="top" style="background: #405384;">&nbsp;</td>
                </tr>
                </table>


                <table border="0" width="100%" cellpadding="1" cellspacing="6" align="center">
                <tr>
                        <td class="alt2">

                                <div style="font: 11px verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif;"><strong>New Title</strong></div>
                                <br />
                                <div style="font: 11px verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif;">
                                Some Text Here
                                </div>

                        </td>
                </tr>
                </table>
        </td>
</tr>
</table>
<br />
Notice the style="" attribute being used alot there. You cab basily use any CSS commands in the style attribute for that giving <table>, or <td>. You can see the howto here: http://www.vbhackers.com/forum/showthread.php?t=3840.
Reply With Quote
Reply


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

Forum Jump


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


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.06826 seconds
  • Memory Usage 2,309KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_html
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete