vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Send HTML email via admincp (https://vborg.vbsupport.ru/showthread.php?t=72105)

jribz 02-05-2005 03:08 PM

Quote:

Originally Posted by puchko
Thanks for the mod.

Just wondering if there is a way to auto-detect if the user can receive html or plain text email, and then the email is sent in the appropriate format...

I don't think there is any way of detecting that, it's not even an option in VB when you register so how would you know?

Unless, of course you're meaning to send plain and html at the same time and detect at the opening level, but I'm not sure that can be done either. :rolleyes:

Dean C 02-06-2005 10:57 AM

You could add a profile field where a user can set whether to receieve HTML/text email :) I'll look into it when I have some free time

uae-style 02-07-2005 02:45 AM

didnt work on 3.0.6 :(

uae-style 02-07-2005 02:50 AM

it worked
i was uploading my backup files by mistake LOOOOOOOOOOOOOOOOOOOOOOOL
thanx man 4 the great hack ;)

sicloan 02-10-2005 09:41 PM

awsome hack, i really needed this !!

renee1 02-11-2005 12:43 PM

Dean you ROCK!!!! it works great!

Dean C 02-21-2005 04:34 PM

Glad it's working for you guys :)

primesuspect 03-04-2005 02:04 AM

Just a note: for some reason when you cut and paste the code from here to EditPlus for windows, it butchers this section:

PHP Code:

if($_POST['sendhtml'])
                        {
                            
vbmail($user['email'], $_POST['subject'], $sendmessagetrue$_POST['from'], ''''true);
                        }
                        else
                        {
                            
vbmail($user['email'], $_POST['subject'], $sendmessagetrue$_POST['from']);
                        } 

not sure why. Just a heads up if this is driving anyone nuts who uses EditPlus like I do. I typed it in by hand and it works fine. Cheers! :)

armagan 03-17-2005 04:41 AM

will this work on 3.07?

lange 03-21-2005 03:26 AM

bump


All times are GMT. The time now is 06:43 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.01190 seconds
  • Memory Usage 1,738KB
  • 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
  • (1)bbcode_php_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete