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.
- Unzip the
bettercomments.zipfile. - You should see a
bettercommentsfolder; go into this folder and editconnect.php. - Add your own database information to the top of this file and save.
- Open and edit the
admin.phpfile and replace the top CSS path to the CSS file you use on your website; save the file. - Transfer the whole
bettercommentsfolder to your server. - Type in the url of your site followed by
/setup.php(ex. www.door80.com/setup.php). - Create an admin username and password, and submit it.
- Delete the setup.php file! This is extremely important because if you don't delete it, someone could create a new admin username/password.
- 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); ?>
- 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 thepage_name()- that is your admin account table. Only use alpha-numericpage_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.
