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.
Database error in vBulletin Control Panel: Invalid SQL: SELECT userid,username,birthday FROM user WHERE SUBSTRING(birthday,6)>='02-11' AND SUBSTRING(birthday,6)<='02-25' ORDER BY SUBSTRING(birthday,6) LIMIT 0,10
mysql error: You have an error in your SQL syntax near 'SUBSTRING(birthday,6) LIMIT 0,10' at line 1
mysql error number: 1064
Date: Monday 11th of February 2002 12:08:05 PM
Script: /forum/admin/commbull.php
Referer: http://www.djfresco.com/forum/admin/commbull.php
Originally posted by sccr410 How can I edit the register.php file so people can decide to subscribe to a newsletter when they register?
If you apply the script hacks "member.php and admin/index.php" and the modifyoptions template addition this option will be included in the member registration area by default and the Admin CP.
DJ FRESCO
Check member.php for script errors if you hacked this script.
I made sure to check my hack code everything is okay... This is the error I get now:
Database error in vBulletin Control Panel 2.2.2:
Invalid SQL: SELECT userid,username,birthday FROM user WHERE SUBSTRING(birthday,6)>='02-11' AND SUBSTRING(birthday,6)<='02-25' ORDER BY SUBSTRING(birthday,6) LIMIT 0,10
mysql error: You have an error in your SQL syntax near 'SUBSTRING(birthday,6) LIMIT 0,10' at line 1
I keep getting the following databse error whenever I include the birthdays in the bulletin:
Quote:
Database error in vBulletin Control Panel 2.2.2:
Invalid SQL: SELECT * FROM user WHERE SUBSTRING(birthday,6)>='02-13' AND SUBSTRING(birthday,6)<='02-27' ORDER BY SUBSTRING(birthday,6) LIMIT 0,10
mysql error: You have an error in your SQL syntax near 'SUBSTRING(birthday,6) LIMIT 0,10' at line 1
mysql error number: 1064
Works fine and well when I set the birthdays/events stuff to 0, but otherwise I get the error. Ideas?
Originally posted by slideboxer I keep getting the following databse error whenever I include the birthdays in the bulletin:
Quote:
Database error in vBulletin Control Panel 2.2.2:
Invalid SQL: SELECT * FROM user WHERE SUBSTRING(birthday,6)>='02-13' AND SUBSTRING(birthday,6)<='02-27' ORDER BY SUBSTRING(birthday,6) LIMIT 0,10
mysql error: You have an error in your SQL syntax near 'SUBSTRING(birthday,6) LIMIT 0,10' at line 1
mysql error number: 1064
Works fine and well when I set the birthdays/events stuff to 0, but otherwise I get the error. Ideas?
*bump*
Also, receiving this error message while executing the mailings:
Quote:
Fatal error: Maximum execution time of 30 seconds exceeded in /home/www/abudokan/forums/admin/commbull.php on line 932
Is this simply from sending too many (300) mails at a time?