Commentics is a free, advanced PHP comment script with many features. Professionally written and with open source code, its main aims are to be integrable, customizable and secure. It is designed to be integrated into your existing pages.
Why use it?
Fresh and relevant content not only helps in retaining visitors but also in keeping search engines interested. For the reasons below, Commentics is an ideal choice for this. Use it on your articles or even as a standalone comments page.
Download Commentics PHP Script
Why use it?
Fresh and relevant content not only helps in retaining visitors but also in keeping search engines interested. For the reasons below, Commentics is an ideal choice for this. Use it on your articles or even as a standalone comments page.
Installation
Before beginning the installation, make sure that you have the following:
- A text editor to edit the files. Notepad is okay or you can use a source code editor like Notepad ++.
- An FTP application to upload the files. FileZilla (client) is a good choice.
Step 1: Download
Download Commentics to your computer and unzip the folder. 7-Zip is a good, free application to unzip with.
Step 2: Create Database
Next you will need to create a database for Commentics to use. You can do this in your website control panel such as cPanel. It may also be possible in phpMyAdmin. Please consult your control panels documentation for instructions, or contact your host for support. You will need to supply a name for the database. This can be anything you like but commentics or comments are suitable examples. Make a note of the name as you will need it next. You should give at least the following privileges to your MySQL user: SELECT, INSERT, UPDATE, DELETE, CREATE, ALTER, INDEX and DROP.
Step 3: Database Details
Open the folder that you downloaded and unzipped and navigate to the following file: comments/includes/db/details.php. You should see a section titled Enter Database Information Here. In this section will be several settings:
- $cmtx_mysql_database This is where you enter the name of the database you created, e.g. $cmtx_mysql_database = commentics;
- $cmtx_mysql_username This is the username your host gave you for accessing your database.
- $cmtx_mysql_password This is the password your host gave you for accessing your database.
- $cmtx_mysql_host This is usually localhost. Sometimes it may be an IP Address.
- $cmtx_mysql_port Normally you can leave this blank, unless your host instructed you to specify a port number.
- $cmtx_mysql_table_prefix Normally you can leave this blank. If for some reason you could not create a new separate database for Commentics, you can use an existing database and enter a prefix for its tables so that they dont conflict with the existing databases tables.
Step 4: Upload
Now that you have the script ready, you can start to upload it to your website. To do this, open your FTP application and connect to your website. You should see two windows; one showing the files on your computer, and another showing the files on your website. In the window showing your computers files, navigate to where you have the /comments/ folder located (note that this folder is inside the /commentics/ folder so dont upload the /commentics/ folder). In the window showing your website, navigate to your root (home) directory. Once you have the two windows prepared, simply drag across the /comments/ folder over to your website. The upload process may take several minutes. Once complete, you should see the /comments/ folder amongst your website files/folders. It is important not to rename the /comments/ folder.
Step 5: Permissions
The next step is to give the database file the correct permissions. Using your FTP application, navigate to the following file on your website:
http://www.domain.com/comments/includes/db/details.php
Right-click on the file where an option such as File permissions should be available. If you are able to enter a numeric value, please type in 444. This should work for the majority of servers. If you can not enter a numeric value, make sure that no Write or Execute permissions are set, only read. Instead of using FTP, you may need to do this in your websites control panel, e.g. cPanel. There should be a feature such as File Manager. If on a local server, you can simply right-click on the file, click properties and select read-only.
http://www.domain.com/comments/includes/db/details.php
Right-click on the file where an option such as File permissions should be available. If you are able to enter a numeric value, please type in 444. This should work for the majority of servers. If you can not enter a numeric value, make sure that no Write or Execute permissions are set, only read. Instead of using FTP, you may need to do this in your websites control panel, e.g. cPanel. There should be a feature such as File Manager. If on a local server, you can simply right-click on the file, click properties and select read-only.
Step 6: Rename Admin
For added security you should now rename your admin folder:
http://www.domain.com/comments/admin/
This will keep it hidden from people who may want to try to access it. You can rename the folder using your FTP application. Please dont rename it to admin2 or myadmin as this defeats the purpose. Rename it to something difficult to guess but something that you will remember.
http://www.domain.com/comments/admin/
This will keep it hidden from people who may want to try to access it. You can rename the folder using your FTP application. Please dont rename it to admin2 or myadmin as this defeats the purpose. Rename it to something difficult to guess but something that you will remember.
Step 7: Installer
The final part of the installation process is to run the Installer. This will add all of the necessary tables into the database that you created. To run the Installer, open up your web browser (e.g. Internet Explorer) and go to the following address:
http://www.domain.com/comments/installer/
http://www.domain.com/comments/installer/
Download Commentics PHP Script