Anit-Spam Guestbook Script
Version 3.40
COPYRIGHT @ 2005,2006 by Aubrey Millard
nospam@combatarts.ca
Thanks for downloading the Anti-Spam Guestbook Script.
If you use this script send me an email, always nice to hear from users.
If you do come across a bug or a problem send and email to nospam@combatarts.ca
and include as much information as possible about the error. Server OS , Webserver
name, any logs or exact error messages etc.
To see the changes for this version scroll down to the bottom of this file.
The main files are in the same folder as this file. They should be:
asgbv3b.pl <= the Guestbook script
asconfig.pl <= Configuration script
dbase.pl <=Library file used by both scripts
Zone.pl <=Timezone functions (thanks to Grahm Barr)
ColorPicker2.js <=Javascript color picker ( thanks to Matt Kruse http://www.mattkruse.com/ )
datafiles.zip or tar.gz <= tar or zip file containing default datafiles used by the script
images.zip <=Directory containing images used by the script
README.TXT <= this file
INSTALLATION.TXT <= How to get the scripts running
SETUP.TXT <= Instructions for setting up the guestbook
Before uploading anything to your server go over the help files and
setup the scripts.
If you are new to this I suggest that you read the setup guide.
There is more help available online at the website
http://www.combatarts.ca/asgb/index.html
Version history
*****************
Jan/10/05
Version 1.0 released
Jan/28/05
version 1.01
- added improved content filter.
- added replacing CR with
on submit
- added auto check for blank fields
- fixed bug with blank line in word file
- added blat email functions
- made displayed errors more user configurable.
March 1/05
Version 1.2
- put in ability to remove image tags from posts
- modified BLAT routines to send without using installed profiles.
- subroutine to check if user set variables. if not it turns off the option.
- put in a check for http:// in front of the url.
April 4/05
Version 2.0
- Put in 4 new filters: Links, word length,no vowels and character repeats
- Script now displays guestbook
- Automatically inserts page links to other pages of guestbook
- user can specify how many entries per page.
- diplays 5 links to pages. if more than 5 it auto increments up or down.
- added more custom messages
- made log files more informative.
July 1/05
Version 3.0
- Added a configuration script to automate the setup process. (see asconfig.txt for info)
- Guestbook is now completely dynamic.
- Guestbook entries are stored in a text database
- added ability to search the guestbook.
- added function to insert sayings when user leaves city & country fields blank.
Sept 30/05
Version 3.01
-Fixed bug in testing blank fields (was not displaying proper error message)
-Fixed bug where message only would be submitted.
-Added info header to banlog file
-Added scanning function to scan webpages of posted links for banned content.
-added function so scanning can be turned off
Oct 2/05
Version 3.02
-Added separate filter file for URL scanning
-Added Checks for limiting number of posts
-Added check for duplicate posts.
-Added version information on guestbook
Jan 8/06
Version 3.06
-Added Minimum Message length check
-Added function to check that certain words MUST be present in the message if configured.
- Created Must have word files
- Created 3 new variables $MUSTHAVE, $MINWORDS and $MINLENGTH
Jan 23/06
Version 3.10
- Database routines moved into separate file (dbase.pl)
- Improved function to check for multiple and duplicate posts
- Added function to validate a URL
Feb 18/06
Version 3.21
- Page for adding submissions now controlled by the script. no more addguest.html
- one style sheet for all pages.
- fixed bug where URL scanner only scanned part of a page.
- fixed blank image tag being inserted into guestbook
-updated configuration script (see asconfig.txt)
- Added function to make url's into links on guestbook.
-Improved URL scanning.
March 05/06
Version 3.30
- Fixed color editor not displaying proper colors
- Improved function to convert url's to links in messages.
will display properly even if the user leaves off the http:// part.
- Calling script with no arguments will display the first 10 entries auomaticaly
- Added variable for path to datafiles
- Added variable for temp folder in dbase.pl
- If someone leaves an invalid URL in URL field it will warn them instead of ban them.
- Added Thank you message after a submission (can be turned off via $SHOWTHANKS var)
- Changed the way script writes to files
- Lots of changes to the config script (see the asconfig.txt file)
Version 3.40
- Fixed problem with tags in previews in HTML editors asconfig.pl
- Added function for detail level for Ban Log file. User can select Full or minimal information
- Script now reports in banlog file when banned IP address tries to post.
- Added ability to use comments in word filter
- Added Internet update for word filter. Can now download updates to the word filter and Scan Filter on Filter page.
- Added Preview function to Submissions page editor.
- Added ability to use smillies
- Improved scanning for tainted aguments and data on submission
- Moved all messages into a single file
- Included smilie icons in image folder in distribution
- 2 new variables $IMAGEPATH and $USESMILIES
- URL Scanner now scans links in framesets
- URL scanner will ban if a dead link is submitted (spammers sometimes post a dead link to get on the guestbook THEN activate it)
- Filter will skip smilies in a post
- Can set the number of smilies allowed in a post (4 is default)
- Fixed Title color problem.
- Improved check for multiple posts
- Banned IP address now blocked from viewing the guestbook and posting (can be turned off)
- Fixed bug where some Windows IIS servers insert blank command line.
- Added ability to save templates for GB entries
-Added ability to display the time for any timezone regardless what timezone the server is in.
-Added templates for Entries and submission page.
- Created installation script to automate modification of scripts
- Fixed bug where fatalerror() would cause infinite loop if no datafiles were found.
- Added ability for users to configure 2 additional fields
- Added new fields to the db editor in config script.
- Fixed bug where message editor would add extra CR/LF
- Added check for links in Fields other than URL and MESSAGE. Displays error if found.
- Added ability to edit the Style Sheet for the guestbook in the config script.
- Added Stats for Page Views,Spammers caught,Spammers banned.
- Added tags to display Stats,time and date available on guestbook and submission page.
- Fixed color editor not showing title image in config script
-Added scrolling message downloaded from the Anti-Spam Scripts website to be displayed on Main config script page.