Version: , by christec
Developer Last Online: Mar 2004
Version: 2.2.x
Rating:
Released: 11-18-2001
Last Update: Never
Installs: 76
No support by the author.
Updated 30 Nov 2001
Fixed a typo and Birthday Date Bug
---------------------------------------------
Here's a new version of the Community Bulletin + HTML
With the changes and the inclusion of the news section I have
titled it News and Email Community Bulletin Generator.
Here's a list of the changes/modifications that were made
Include News Articles (Threads) in bulletin.
Remove vbCode from news articles before sending email.
User email options include HTML or Text.
Forums are sorted by displayorder.
Category forums do not contain yes/no option.
Private forums marked as no by default.
Fix lasteventdate bug.
Modify admin/index.php installation instructions for version 2.2.x and version 2.0.x.
Include Admin CP edit user option to include Receive Community Email Bulletin and Type (HTML or TEXT).
Remove user password, send link instead.
Preview of HTML and TEXT email.
Post to Forum can be HTML or TEXT
Modified a few mysql SELECT * queries to include only necessary fields.
Cosmetic changes
......
To install
Copy the commbull.php file to the admin/ directory.
WIth a web browser access the commbull.php file.
This hack is based on Community Bulletin Generator by Kier
and additional Community Bulletin Generator functions by Kevin
Additional: This hack has only been tested on my machines. I don't have the ability to send emails
to a lot of users so this has not been tested either.
Remember: BACKUP and TEST.
213
Show Your Support
This modification may not be copied, reproduced or published elsewhere without author's permission.
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.
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.
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.
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.