BetterComments v1.0

May 21st, 2008 2 comments

I am now ready to test the comment system on other website implementations. Please download the .zip file and follow the steps below to add BetterComments to your site.

BetterComments only requires you to add one PHP call to your page and already have a database setup in mySQL. The rest is taken care of by the script.

  1. Unzip the bettercomments.zip file.
  2. You should see a bettercomments folder; go into this folder and edit connect.php.
  3. Add your own database information to the top of this file and save.
  4. Open and edit the admin.php file and replace the top CSS path to the CSS file you use on your website; save the file.
  5. Transfer the whole bettercomments folder to your server.
  6. Type in the url of your site followed by /setup.php (ex. www.door80.com/setup.php).
  7. Create an admin username and password, and submit it.
  8. Delete the setup.php file! This is extremely important because if you don't delete it, someone could create a new admin username/password.
  9. Add the following code to any page you want to have BetterComments, at the specific location you want the comments to start:

    <?php include("bettercomments/betterComments.php"); page_name(yourownvariable); ?>

  10. Make sure you don't use the same page_name() on any two pages, or you will get the comments from the first one on any other pages you add it to. Don't use "login" as the page_name() - that is your admin account table. Only use alpha-numeric page_name()'s (no periods, commas, spaces, etc).

Please leave a comment or send me an email if you find any bugs, if you have any suggestions or if you are having trouble getting BetterComments to work on your server. More updates will be forthcoming, so stay tuned.



Comments disabled at the moment.

Latest on Twitter

Latest on Flickr