PHP Comments Script - Comments page 162
The php comments script will allow your users to post comments on your web sites, comments related to your web site content (photos, videos, articles, products, etc).
The script doesn't require a database and it is easy to include in your pages.
Requirements:
- Server must support PHP scripts, this should not be a problem with most servers.
- No coding is needed except for few customizations like replacing the value of admin email and other preferences inside settings.php.
- No database is needed.
Features:
- Easy to post comments without requiring user registration
- Spam protection by image verification so that users cannot send messages automatically.
- No database needed, data will be saved in the comments in a plain file on your server.
- Style fully customizable by the CSS file.
- Code can be edited freely if needed (no part of the php code is encrypted).
- You can chose what form items to display (name, e-mail, image verification).
- Admin can receive a detailed e-mail when a comment is posted (comment, url, name, etc).
- The e-mail send to admin also contains a link that can instantly delete that message.
- Next to each comments admin can click a small link in order to delete or edit any comment.
- When someone posted a comment the form remembers it's name and other fields.
- Admin can chose sorting mode for the comments (newest comments on top or at end).
- No 'credits' links on your pages, the script is fully hosted on your site without links to us.
- The code complies with W3 validation standards..
- Admin can chose maximum length of a word do that really long words are not getting out of your layout.
-Comments script can also run in html pages (not only in .php pages) by adding 2 code lines inside the .htaccess file, these instructions will be included in the purchased file.
- Pagination; You can now specify how many comments to show on one page.
- Submit form is hidden by default to save layut space. Click 'add comment' to open the form.
- Admin can choose if bad words are filtered, you can have a list of words to be replaced with '...' instead of showing a bad word.
- New: Admin can block HTML tags, so that html code like a link (<a href="http://site.com">site</a>) will not be posted in the text of a comment.
- New: You can now select between normal captcha and reCaptcha (service by Google) as antispam verification. Change it by editing $settings_antispam_method = "captcha" to $settings_antispam_method = "recaptcha".
old captcha option
new reCaptcha option:
Usage Sample:
Using this script is very easy, you just need to upload the files you receive inside a directory then in any of the pages on site include the comments script:
<?php include('comments_script/comments.php'); ?>
Normally the system identifies the items to be commented by the URL of the page where comments appear but optionally you can also pass an id of the comments on that page, for example:
<?php
$comment_id = 'product 1'; ?>
again this second step is optional.
So after including the script like explained above the comments and submit form will appear on that page and users can start posting comments.
In order to moderate the comments you can login to 'admin.php' and then you will see the 'edit' and 'delete' links on each comment.
PHP Comments Script Preview
In this sample latest comments are on top and we disabled the user email field:
For the ratings you do not need to modify the path to .dat file, it works automatically, but if for some personal reasons you need ot modify that then sure it needs some skills to modify the source file, but modifying that is not needed.
To translate it to another language you need to edit around 4-5 locations and replace a text, I think it would be a drawback to add another file to the rating system (.xml or something) that would contain the language texts; because only a small percent of users will need to translate it.
To change the stars clips you just open the library and you have 3 clips (gray, blue and yellow stars) , you draw something else instead of these or you import an image in those clips and you are done.
Let me know if you need a modified code to change that "s" in vote/votes when there is only one vote. I can send it to you a bit later if you need that.
I bought the comments script and it works out of the box.
Today I bought the rating script but I was a little bit dissapointed.
I think it is easy fot you to extend this sript to make it some more flexible.
First a path setting to the .dat file. I know how to do that but it need php skills.
Second. the translation. On severall places in the fla I have to make changes for another language.
I think it it would be easy to set that in the php file or an external xml.
I see there are stars and rounds but no documentation on how to change this.
Also the color setting isn't quite easy to do.
Third. If there is only one vote the default text should be 1 vote
if there are more then use votes instead of vote.
I hope you will extend this product a little bit more.
Thanks and hope to hear from you.