The ASP 101 Discussion Forum
Version: 2.0 Beta 1
Released: 12/9/99
For updates to the code and to keep abreast of the latest developments and bug fixes visit our site.
This really isn't going to be much in the way of docs, but basically I just want to provide info on contacting me for feedback on this beta (email me), give everyone a quick idea of the requirements, and a quick run down of what each file does.
In terms of what you need... I really have no idea, but here's what I'm gonna say you should have. Make sure you're using at least IIS4 (or equivilent)/ASP2/ADO 2.1. For email notification to work by default you need to be running on NT Server with CDONTS installed. You can actually use any email component and I've simplified what you need to change and placed it (SendEmail function) into config.asp.
Besides things like NTFS permissions which you'll need to set up on your own, the code is basically unzip and go. There are a few things you can play with in config.asp (setting your pre- and post-forum HTML, enabling email notification, switching the DB to SQL Server, etc...) but just to see it run you shouldn't have to change too much.
Now to you pesky people using dd/mm/yy instead of mm/dd/yy... I've added 2 functions. FormatTimestampDB and FormatTimestampDisplay. I think I call them every time, but if someone would put the code through it's paces and try it with a dd/mm/yy setup, I'd appreciate it and would like to hear your results and any probalems you encounter.
Filename | Description |
debug.asp | Quick little table display routine for testing of DB |
default.asp, index.asp | Simply redirect to display_message.asp |
display_forum.asp | Lists forums and posts in them |
display_message.asp | Shows a specific message and it's whole thread |
post_message.asp | Handles posting of new messages |
save_cookie.asp | Saves cookie for name and email persistence |
save_cookie_response.asp | Display portion of save_cookie.asp |
search.asp | Search form, query, and results wrapped into one |
./database/forum.mdb | Database used if you use the default Access connection |
./database/*.sql | Scripts to create tables if you want to use SQL Server instead |
./docs/readme.htm | A lame quick first attempt at docs for this beast (this file) |
./images/*.* | Images used by the forum code |
./includes/common.asp | Contains code reused throughout the forum |
./includes/config.asp | User configurable constants are all in here |
./includes/mini-adovbs.inc | A trimmed down version of adovbs.inc |