Hello All.

This is approximately v2.0 of the comments system. It supports more things, like adding HTML, Banning individual IP addresses, comment counts, and Date/time/email functionality.

 In order to use the XML comments system, you must have MSXML parser 3.0 parser installed on your server. (It is preinstalled with Internet Explorer 5) It may work with previous versions, however, they are untested.

In addition, your server needs to run ASP. Folder permissions on the comments directory must be set to read/write.

!Instructions:!

1. Unzip the files and upload them into the "http://www.yourserver.com/comments/" directory.

1a. If you are using a directory other than /comments/ be sure to edit commentadd.asp. In commentadd.asp change the variable abscommentsdir from "/comments/" to whichever directory path it is in. For instance, if you put the comments files into "/weblog/comments/" you would set abscommentsdir="/weblog/comments/"

2. These Variables can be set to further customize your comments installation. They are found starting at line

OwnerEmail = "email@domain.com" 'Your email address used to notify people when they've been banned
DateFormat = "mmmm-d h:mm" 'The date time format for the time display
DateOffset = 0 'If your webserver has a different time zone that the location of the blog, use this number to fix it.
BannedArray = Array("") 'Add banned IP's by editing this array. To ban the IP's of 127.0.0.1 and 10.0.0.1 you would edit the array to read Array("127.0.0.1","10.0.0.1")

3. Make an include to the commentcount.asp file. It should look like this: <!-- #include virtual="/comments/commentcount.asp" -->

4. Make a link to the comments. For a blogger template, you could use a link like this one:
<%writeAmountOfComments(<$BlogItemNumber$>)%> <a href="javascript:void(0);" onclick="window.open('comments/comments.asp?comment=<$BlogItemNumber$>', '<$BlogItemNumber$>', 'toolbar=no,directories=no,status=no,scrollbars=yes,resizable=yes,menubar=no,width=455,height=500')">comments</a>

5. If you don't use blogger don't worry. In the link, just change <$BlogItemNumber$> to whatever topic you would like.  " <%writeAmountOfComments(<$BlogItemNumber$>)%> " is just how the number of comments gets written to the page.