home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.wwiv.com
/
ftp.wwiv.com.zip
/
ftp.wwiv.com
/
pub
/
MISC
/
TRIPF10.ZIP
/
FILTER.DOC
< prev
next >
Wrap
Text File
|
1997-09-28
|
7KB
|
154 lines
────────────────────────────────────────────────────────────────────────────
TriBBS Profanity Filter v1.0
by SaltySoft
Copyright (C) 1997 David Kiesling
All rights reserved.
Support BBS:
Shoe Salt BBS 707-465-3087 33.6 kbps
World Wide Web:
http://www.vpdev.com/saltysoft
SaltySoft Software
Internet Email: c/o David Kiesling
saltysoft@vpdev.com 550 Sandhill Rd.
Crescent City, CA 95531 USA
────────────────────────────────────────────────────────────────────────────
Table of Contents
I. Introduction
II. Setup
III. Support
IV. Attention Programmers!
------------------------------ Disclaimer ------------------------------
The author of this program and his affiliates cannot be held legally
responsible for any damage caused as a result of the use or misuse of
this program, nor for the precious bytes it takes up on your HD.
------------------------------------------------------------------------
-------------------------- License Agreement ---------------------------
This program is distributed under the freeware concept. You are granted
a license to use and distribute this .ZIP archive as you wish. However,
the contents of the compressed .ZIP archive or the uncompressed EXE file
may NOT be modified in any respect by anyone other than the author.
------------------------------------------------------------------------
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
I. Introduction
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Requirements: * 8086 or higher processor (you should be FINE)
* TriBBS 10.x or 11.x
* $0 (FREEWARE!!)
TriBBS Profanity Filter finds profanity words or phrases in your message
base. When it finds profanity it can either replace it with something
else (like a bunch of "*" characters) or mark the message for deletion.
It will search for profanity in the Subject line as well! There's also
an option to neglect filtering private mail (perhaps you don't care what
users say to each other in *private*!).
There's one requirement not mentioned above because I don't want to scare
you off before I have a chance to explain. For this program to work, you
must have less than 32,769 messages in any given message conference. In
all probability they should all be well under that. Even if you have
999,999 messages in a conference you probably have less than 32,769
actual *undeleted* messages in there. By the small chance you have more
than that, the program will just terminate with a runtime error and not
harm TriBBS's data files in the slightest.
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
II. Setup
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
TriBBS Profanity Filter is run with the following syntax:
filter.exe <config file>
ex: filter.exe filter.cfg
If no config file is passed on the command line it will find and use
filter.cfg if it exists in the current directory.
The format of the config file is....
LINE 1: c:\tribbs <- path to main TriBBS directory
LINE 2: N <- When profanity is found...
"Y" = flag message for deletion
"N" = Replace profanity with a set of filler
characters (defined on line 5 below).
LINE 3: Y <- Filter private mail? "Y" or "N"
LINE 4: 1 <- (LINES 4 & 5) Lowest and highest message
LINE 5: 2 conferences to filter. To filter conferences
2 to 17, put a "2" on line 3 and a "17" on
line 4.
LINE 6: * <- Character to replace profanity with. A "*"
here tells it to replace "damn" with "****"
in a message.
LINE 7: badwords.lst <- Profanity words list file. You may edit this
file with any text editor. Each line of this
file has one profane word or phrase. The
program will search for these profane words
in a message and take appropriate action if
found.
Filter.cfg included with this archive is a sample config file.
You can have as many config files as you wish. A possible use of that
would be if you want to filter different words from certain conferences.
If you wish, you can set it up in your nightly event batch file by
adding two lines such as the following to it:
cd\tribbs\other\filter
filter.exe filter.cfg
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
III. Support
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Please contact me in any of the ways mentioned at the beginning of
this file for support. I'd love to hear any and all comments,
questions, or suggestions. There is always room for improvement!
Comments (and donations! <g>) are the small things I need to believe
my programming is of use to sysops. If you find this program useful,
please let me know. I don't have the heart to keep working on this
stuff if I don't get many responses. :)
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
IV. Attention Programmers!
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Are you a programmer?
The new owner (as of 01/01/97) of TriBBS, Gary Price, has made a
new API for PowerBasic for easier creation of programs that access
TriBBS's data files. I used it for this and all other recent TriBBS
utilities I've made. It's completely FREE for anyone that wants it
and I highly recommend it. It is strictly for PowerBasic 3.2. You
may contact Gary Price:
by email - gwprice@worldnet.att.net
by BBS - Freejack's Place (Home of TriBBS) 207-739-7121
by web - http://www.tribbs.com
PowerBasic is a programming language which is quickly rising in
popularity and that some say rivals even the legendary C++ in DOS
programming. Many parts are similar to QB4.5 but far more advanced.
Check it out at http://www.powerbasic.com