Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
HTML Email Feature Details »»
HTML Email Feature
Version: 1.00, by Logician Logician is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 05-02-2002 Last Update: Never Installs: 44
 
No support by the author.

Hiyas,

What does it do?
With this hack, your board will have "HTML email" feature.

How does it work?
After applying the hack, your users will be able to choose whether they want PLAIN TEXT emails or HTML messages and mails originated from your site will be sent accordingly. (At the moment works for PM and email notification mails). Your existing users who didnt change their mail settings will recieve the original plain texts mails, while users who asked for HTML mails will get mails in HTML format. All users can anytime change their mail settings inside User CP or by calling the new 2 links with one click that comes with the hack and update member's mail type.

What versions of vbulletin does it work with?
Hack tested with version 2.2.2, 2.2.6, 2.2.8 and 2.2.9 but I believe it will work with any versions > 2.0.3.

Any Screenshots?
See the message below

Planned Future Features:
* Hack will apply to ALL mails originated from your board (At the moment it is for PM and email notification mails)
* Your HTML mails may include compiled data from your board such as "Last X message titles", "Recent Titles from the forum you subscribed", "Last X answered/unanswered messages", "user's incoming personal events", "Incoming general events from your calender" and etc.

I plan to work on this hack only if it's considered useful and used by people. After spending a long time to code/debug/test/publish a hack, it's quite disappointing to see that 2 months later only 3-5 people used (installed) a hack. So if you use the hack, please dont forget to click INSTALL for this hack or for any hack you use!

Thank you and Enjoy..\\=^))
Logician

Show Your Support

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

Comments
  #12  
Old 05-08-2002, 06:05 AM
Logician's Avatar
Logician Logician is offline
 
Join Date: Nov 2001
Location: inside vb code
Posts: 4,449
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

@Swayed: Thx, I updated the file..
Reply With Quote
  #13  
Old 06-18-2002, 01:52 AM
JoshFink JoshFink is offline
 
Join Date: Nov 2001
Posts: 207
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #14  
Old 06-18-2002, 08:52 AM
Logician's Avatar
Logician Logician is offline
 
Join Date: Nov 2001
Location: inside vb code
Posts: 4,449
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #15  
Old 06-18-2002, 12:51 PM
JoshFink JoshFink is offline
 
Join Date: Nov 2001
Posts: 207
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #16  
Old 06-18-2002, 06:11 PM
Logician's Avatar
Logician Logician is offline
 
Join Date: Nov 2001
Location: inside vb code
Posts: 4,449
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #17  
Old 06-18-2002, 08:22 PM
Chris M's Avatar
Chris M Chris M is offline
 
Join Date: Dec 2001
Location: Northampton, England
Posts: 6,186
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice...

*installs*

Satan
Reply With Quote
  #18  
Old 06-18-2002, 09:46 PM
SaintDog SaintDog is offline
 
Join Date: Nov 2001
Location: Tennessee
Posts: 1,975
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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

- SaintDog
Reply With Quote
  #19  
Old 06-19-2002, 05:42 AM
Logician's Avatar
Logician Logician is offline
 
Join Date: Nov 2001
Location: inside vb code
Posts: 4,449
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by SaintDog
Very nice, once vBulletinTemplates is open, it will be using this hack .
[high]* Logician waiting vBulletinTemplates impatiently [/high]
Reply With Quote
  #20  
Old 06-19-2002, 06:10 AM
SaintDog SaintDog is offline
 
Join Date: Nov 2001
Location: Tennessee
Posts: 1,975
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #21  
Old 10-01-2002, 02:10 AM
Dan Flynn's Avatar
Dan Flynn Dan Flynn is offline
 
Join Date: Nov 2001
Location: Crown Point, IN
Posts: 76
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
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 03:43 AM.


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.05013 seconds
  • Memory Usage 2,311KB
  • 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_php
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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