vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Send e-mail as HTML (https://vborg.vbsupport.ru/showthread.php?t=32075)

damicatz 11-02-2001 10:00 PM

This is my first hack :d

Basically this allows you to send users HTML messages ala UBB through the control panel. You have the option of either sending users a plain text e-mail message or a HTML Message.

You can see a demo at : http://catclub.2y.net/demohtml.gif

Instructions are attached

Neo 11-03-2001 04:07 PM

hmm.. nice what about a XML message ;)

damicatz 11-03-2001 04:07 PM

XML?

I'm not sure if that's possible to do that through e-mail.

Neo 11-03-2001 04:10 PM

i have seem something use XML in email, the prob is that alot of email systems dont allow XML or understand it..

damicatz 11-03-2001 04:11 PM

Hmm,

I'll look into that, but do programs like Microsoft Outlook, Nutscrape Mail, and Eudora support XML mail?

ethank 11-03-2001 04:14 PM

Cool....but this is just the beginning! I'd love to see a hack where all the system e-mails (from activation to lost password) have HTML templates, and at registration a user can choose whether or not to get plain text or HTML.

As it stands, I'm going to adapt this hack so I can at least send my community bulletin and news updates via HTML.

Ethan

damicatz 11-03-2001 04:16 PM

The problem with templates from the way I saw it is,

Number 1 it depends what template whoever is sending it has it set for, so you'd have to go through every template and do the required modifications. And that would also mean that the look of the e-mail would vary depending on what template you had it set for viewing.

But in a later version of this hack I will probably add some kind of templates support and support for users to choose whether or not to recieve HTML mail. I might also add perhaps Code Buttons to quickly insert HTML.

JJR512 11-15-2001 08:51 PM

Does this allow the individual member to select which format he/she received the emails?

Dark Blaze 11-30-2001 07:08 PM

neato :)

Nice job with this hack ;)

damicatz 11-30-2001 10:14 PM

Quote:

Does this allow the individual member to select which format he/she received the emails?
Not yet but it may in a later version.

interfx 12-02-2001 05:12 PM

Added this hack per instructions, still getting html tags in my email... Any other things to try?

Todd

damicatz 12-02-2001 07:29 PM

1.What version of vBulletin are you using?

2.Did you double check that you did everything right?

3.When you sent an e-mail did you set it to HTML?

interfx 12-02-2001 09:53 PM

Yes.

1. 2.2.1

2. Yes double checked... Replaced exactly as instructed in email.asp

3. Yes set it to HMTL

Is it related to an email setting? Is there a way in VB to set what is the email server, etc.??? When I set up VB I didn't recall settign anything, but it still works...

Any other things to look at?

Todd

izz 02-09-2003 06:20 AM

I also installed the hack exactly like instructed. But I receive HTML code not HTML email.

izz 02-09-2003 06:55 AM

Ahaa
I discovered the mistake

You named the radio button (html) and used it in php as (htmlmail) in this line:
PHP Code:

if ($htmlmail == 0

Just make it
PHP Code:

if ($html == 0

and it will work


All times are GMT. The time now is 09:22 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.00992 seconds
  • Memory Usage 1,742KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_php_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (15)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete