vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Mini Mods - Send emails with HTML as HTML (https://vborg.vbsupport.ru/showthread.php?t=137593)

abhimation 02-15-2007 07:06 PM

Thnxxx... I was lookin for something like this !!!

T_Richardson 02-22-2007 02:31 AM

Quote:

You'll also need to update some of the stock phrases for the registration confirmation email, password change, etc, that contain links or other HTML, and add line breaks <br /> so they still format correctly. And while you're in there you could add your logo and other nice touches!
Before I install, where do I edit the stock phrases and put in the <br /> code?
I don't want to mess things up.

I was looking for this for a good while, with this info I'll install.

Thanks,
T

bchertov 02-22-2007 03:40 PM

[QUOTE=T_Richardson;1188037]Before I install, where do I edit the stock phrases and put in the <br /> code?/QUOTE]Goto your Admin control panel and pop-down the Language and Phrases section on the left and then choose Search in Phrase. Note that you can search by the phrase content or by the phrase name. You may want to consult the vb manual for a little background on phrases. You want to look for any emails that your system sends out, such as your "welcomemail".

Pay particular attention to the phrases that are of phrase type "email body text".

T_Richardson 02-22-2007 04:04 PM

[QUOTE=bchertov;1188355]
Quote:

Originally Posted by T_Richardson (Post 1188037)
Before I install, where do I edit the stock phrases and put in the <br /> code?/QUOTE]Goto your Admin control panel and pop-down the Language and Phrases section on the left and then choose Search in Phrase. Note that you can search by the phrase content or by the phrase name. You may want to consult the vb manual for a little background on phrases. You want to look for any emails that your system sends out, such as your "welcomemail".

Pay particular attention to the phrases that are of phrase type "email body text".

I found these phrases located under "email body text", now, do I need to erase these and put in my HTML codes in them?

This is what is in my "welcomemail"
PHP Code:

$username,

Thanks for registering at $vboptions[bbtitle]! We are glad you have chosen to be a part of our online gaming community and we hope you enjoy your stay.

All the best,
$vboptions[bbtitle

Do I need to replace that with HTML?

bchertov 02-23-2007 04:19 AM

Quote:

Originally Posted by T_Richardson (Post 1188375)
Do I need to replace that with HTML?

Yes! To have it appear the same, you'll need to add <br /> for each carriage return. So that's one at the end of each paragraph and another for each new line.

timrox 02-23-2007 06:39 AM

i love such elegant solutions, to think i was about to hard-hack about 5 different files! Thanks

bvtonedog 03-01-2007 10:45 PM

excellent, I was just looking for somethings like this. To get around members sending html email I simply disable right after I send out my emails through the acp, though an option to only allow html emails to be sent from the acp would be great

johnny713 03-02-2007 03:25 AM

I not really sure exactly how this work, but I give it a try. *Installed*

bchertov 03-02-2007 04:28 AM

Quote:

Originally Posted by bvtonedog (Post 1193734)
excellent, I was just looking for somethings like this. To get around members sending html email I simply disable right after I send out my emails through the acp, though an option to only allow html emails to be sent from the acp would be great

Why prevent users from sending HTML? I suppose they could put some nasties in it,... I hate assuming people are not going to nice!

Maksa 03-07-2007 11:06 AM

bchertov :) thanks a lot for this hack. i was looking for some hack so i can email my users with html :) i m really happy. thanks a lot.


All times are GMT. The time now is 03:22 PM.

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.01254 seconds
  • Memory Usage 1,741KB
  • 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
  • (4)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