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)
-   -   News & Email Community Bulletin Generator (https://vborg.vbsupport.ru/showthread.php?t=32517)

JoshFink 06-10-2002 06:51 PM

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

FleaBag 06-19-2002 09:43 PM

Working on 2.2.6. Thanks! :)

thebigboss 06-21-2002 02:48 PM

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 :

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

The quickest way to do that Josh, would be to put <!-- just after the <html> paste in your text you want to appear and put --> after it, before the <head>

PHP Code:

<html>
<!--
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.
-->
<
head

Would be easy enough to edit commbull.php to make that permenant.

put it in the first $header =
PHP Code:

// set html header for mail
$header "<html><head></head><body link=\"$cbgLink\" vlink=\"$cbgVLink\" alink=\"$cgbALink\">\n"

between the <html> and <head> and it should appear everytime you generate the community bulletin.

JoshFink 06-23-2002 01:43 AM

Thank You, I will try it out this week.

Josh

FleaBag 06-23-2002 07:09 PM

I'm guessing this error is to do with this hack... I've installed lots of hacks to date, anyone able to help me with this?

Quote:

Database error in vBulletin 2.2.6:

Invalid SQL: UPDATE user
SET adminemail='1', receivebulletin='0',
receivebulletin_type='0',

showemail='1',invisible='0',cookieuser='1',
maxposts='-1',daysprune='-1',
timezoneoffset='0',emailnotification='1',
startofweek='1',options='15',receivepm='1',
emailonpm='1',pmpopup='1',usergroupid='2',
nosessionhash='0'
WHERE userid='1222'
mysql error: Unknown column 'receivebulletin' in 'field list'

mysql error number: 1054

Date: Sunday 23rd of June 2002 01:03:04 AM
Script: http://www.gamerforums.com/board/board/member.php
Referer:
http://www.gamerforums.com/board/mem...on=editoptions
Thanks in advance! :)

FleaBag 06-24-2002 02:56 PM

*Bump*

FleaBag 06-24-2002 04:53 PM

Issue resolved. My bad.

BaldNut 06-27-2002 09:02 PM

when i try and preview e-mail i get:

There seems to have been a slight problem with the Health & Fitness Forums database.
Please try again by pressing the refresh button in your browser.

An E-Mail has been dispatched to our Technical Staff, who you can also contact if the problem persists.

We apologise for any inconvenience.
--------------------------------------------------------------------

any ideas?

freeshares1 07-07-2002 07:33 AM

FANTASTIC HACK!!!....

Thanks

phil

Darren Lewis 07-07-2002 12:31 PM

This is a great hack and should hopefully prove invaluable.

One minor problem during my testing:-

If a thread is moved to another forum and a redirect left behind in the original forum, it is showing up in the bulletin twice. If no redirect is left, the moved thread only shows up once.

Darren.


All times are GMT. The time now is 01:29 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.01298 seconds
  • Memory Usage 1,750KB
  • 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
  • (4)bbcode_php_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (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