Comments Manager
Downloads: 857
Required: php
Ratting: 4.2
Do you want to keep track of the visitors comments at your creation's page? Or want to know what other peoples say about the topic of a page? This script can help you a great deal. This script can manage comments for every single page of your website. You shall just need to include a 3 line code and a page id in your pages. And this script will do the rest.
Installation:
STEP 1:
Open the settings.php file with notepad. And edit the settings just the way
instructed in that file with comments.
STEP 2:
OK now upload the 3 php files named "settings.php", "post.php" and "view.php"
into your server. Better if you put them into a folder like "comments_manager"
STEP 3:
Now create a folder named "data" or upload the blank "data" folder inside
the sane folder where you uploaded other three php files. Please not that you
should make the folder name exactly "data" not something like "DaTa"
STEP 4:
Change the CHMOD settings of your data folder to 777. It is required so that
php script can write inside data folder.
That completes the installation. Now the thing that you need to include form.php
and view.php into each of your pages. Just add the script below into each
of your pages.
The code:
| <?php $page_id ="demo"; include('http://yourwebsite.com/comments_manager/form.php'); include('http://yourwebsite.com/comments_manager/view.php'); ?> |
Change the include url of (marked red) form.php and view.php to your current url. After that change the page_id (marked_red, bold) to your choice. Please make sure that while inserting this script into each of your pages, the page_id should be unique to every single pages.
How the id would be?
This is an important matter. Please note that you should not use any
space or special character to make id.
Use only A-Z, a-z, 0-9 and _ (underscore)
Wait! My Host supports PHP but not SSI:
Then I shall say, your host is really bogus!! In such case, you shall
need to insert all the code of both form.php and view.php to all of your
pages maually. And also should need to copy and paste codes from
settings.php to both post.php and view.php
Admin Panel:
Well, flat file databases are usually tough to make an admin panel. But
that doesn't mean that you can't admin the entries. I recommend to use .html
or .htm files to store data not .txt file. Whenever you need to edit or
delete entries just go to the data folder using ftp. Download the file you
need to edit. If it is a html file you can easily edit the entries with any
kind of html editor like Dream weaver or FrontPage.
Troubleshoot:
Please while installing this script please check these matters below to
avoid failures
-
You should make the folder names exactly to "data" not "dAtA"
-
You should change CHMOD of the data folder to 777
-
Don't forget to give unique ID for each pages when your are inserting the code.
-
You should name your page ids with only characters with A-Z, a-z, 0-9 and _ (Underscore)
If you followed the steps mentioned above the script should run fine

Featured Items in php