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)
-   -   HTML Email Feature (https://vborg.vbsupport.ru/showthread.php?t=38199)

Logician 05-08-2002 06:05 AM

@Swayed: Thx, I updated the file..

JoshFink 06-18-2002 01:52 AM

Is there a way to put a plain text message at the top of the page in case they are in HTML and they can't read the message?

This is what I would like to put, but I don't know how to make it appear in text and not HTML format :

PHP Code:

--------------------------------------------------------------------------- 
The email you are receiving is in HTML format. If you are having 
trouble reading this
it is because your email 
program does not support HTML email


Please follow the below link to change back to text email

--------------------------------------------------------------------------- 

Thanks

Josh

Logician 06-18-2002 08:52 AM

Quote:

Originally posted by JoshFink
Is there a way to put a plain text message at the top of the page in case they are in HTML and they can't read the message?

This is what I would like to put, but I don't know how to make it appear in text and not HTML format :

Josh you can put in just in the begining of the HTML email template before anything else. Then it will be displayed correctly since no HTML command is parsed yet but it would shown awkardly if user uses HTML. So I wouldnt use it.. You better test it, load the message with both HTML ON and OFF and decide if having this text in your mail justifies the bad look in HTML mails.

JoshFink 06-18-2002 12:51 PM

Thanks for the reply..

Do you have any other suggestions on how I can make a readable message in the beginning if it is text so that I can have a message shown?

I know i've seen then on emails before, just can't remember where.

Thanks

Josh

Logician 06-18-2002 06:11 PM

If you put the text before anything else, it would be displayed nicely in html-off viewers but would not be nice in HTML mails. On the other hand if you format this text with HTML, it would be nice in HTML mails but other users will see it in HTML too.

I personally prefer to warn the users not in the email but in the screen where they choose to receive HTML mails. It's why I included the hack the special link part to switch user mail option (the part you can change your mail setting with one click without going into your usercp). I add the "click here to get HTML mails" link to normal (non-HTML) email notification template and if the user clicks it, their settings change but they also get a detail warning about the effects of the this change (get garbage mails) and how to correct it if they encounter these effects (go to user cp and revert back to text mails). My board is not a large one but it seems to work for now. I havent got even one complaint from the members that they cant "read" the mails.

This is my way of dealing with HTML mails, use it if it fits to you too :)

Chris M 06-18-2002 08:22 PM

Nice...

*installs*

Satan

SaintDog 06-18-2002 09:46 PM

Very nice, once vBulletinTemplates is open, it will be using this hack :).

- SaintDog

Logician 06-19-2002 05:42 AM

Quote:

Originally posted by SaintDog
Very nice, once vBulletinTemplates is open, it will be using this hack :).

[high]* Logician waiting vBulletinTemplates impatiently :)[/high]

SaintDog 06-19-2002 06:10 AM

It will open once I get a few more submissions, if you have any template modifications that you are willing to donate, please feel free to send them to webmaster@vbulletintemplates.com - you will be given credit (you can place your website and such in the download file if you choose to as well, extra promotion never hurt anyone ;)).

- SaintDog

Dan Flynn 10-01-2002 02:10 AM

I'm getting this error when I try to run the query.

Database powerwas_vb running on localhost

Error

SQL-query :

ALTER TABLE `$powerwas_vb`.`user` ADD `htmltext` TINYINT UNSIGNED DEFAULT 0 NOT NULL

MySQL said:

alter command denied to user: 'powerwas@localhost' for table 'user'

Any idea why?

Thanks


All times are GMT. The time now is 01:47 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.01016 seconds
  • Memory Usage 1,740KB
  • 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
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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