.: PHP Commenter 1.07 :.
  Author: GreatNexus.com   changes by Albert (counter/administration, globals OFF, page counters)
  Download: PHP Commenter 1.07 [ 3-5-2007 ] 18.1 kB     Globals OFF compat.     PHP5.x compat.
You came directly to this page. Links to Pondok: | Main Page | PHP Scripts |

169

This is really a great script. It is compact and usefull.
It will give the visiters the chance to comment on every page in which you add the script.

I changed a lot in the original script, so now it only shows the number of comments on the page and users have to click to see the comments.

1.02 adresses a problem with commenter on pages more than 1 level deep.
NEW: Added display of maximum xx comments per page (page selectable)
Fully Win32 compatible. Email address harvest protection added.
In this version all public displays now use POST. This to avoid very long url's in the browser.

Furthermore there is a maximum number of comments that will be displayed, since noone wants to read 50++ comments, and proper administration is added.
Changed the original script to Globals off compatible.
All settings are now transferred into a config.php file.

Extra settings in config:
- max.number of comments to display,
- logging on or off,
- every new comment is send by email to webmaster (on/off).
- summary of all dirs that use commenter.
- automatic deletion of comments after xxx days (on/off)

Added a character counter in the input screen, so users can see how many characters are left.

Comments are stored in a txt file in a '/comment' subdir of the page's directory.
So if the directory of the page is 'main' the comments are in 'main/comments'
The text file has a code_64 base scrambled name for security.

You can see the script working at the bottom of this page.

In the bottom of your page add the following:

<?php
include_once("../commenter/commenter_cnt.php");
?>

change the path according to your needs
If you want the comments to be displayed directly (no count of comments)
<?
$showall=1;
include_once("../commenter/commenter_cnt.php");
?>

change the path according to your needs

That is all the script requires. See below for sample.

Aministrative section.

- admin. display / view of all comments. (commenter_list)
- can delete all comments of a certain page.
- edit comments through admin link on page that has comments added.

Leave the administrative portion in the admin dir so you can protect the files.
Protect the admin section with .htaccess or uncomment the authorization.

Version 1.04 now has badwords.txt included.
Any comment with a bad word is not published.
Version 1.05:
solves problem with automatic deletion of old comments and empty comment file.
Version 1.05A
solves some Firefox problems, display should be ok now.
Version 1.06
Has all language used in config file, for easy translation.
Checks on submission for empty name or empty comment.
Took out an admin error on deletion of last comment (15/3/06)
Added prevention of double adding comments.
Version 1.06a
Solved small error when last comment is deleted, comment file is now deleted too
Version 1.07:
If used with $showall=1 posting the message will cause the page to be reloaded with messages as tag.

You like this script?
Rate it now!

 

Number of ratings: 1101
Rating: 4.28


Please use the forum for any questions!
Comments on this page         Page: | 1 | 2 | 3 | 4 | 5 | 6 |
Mike [16-08-2008 03:51] 
is this script injectable ?
Julie Benz [14-08-2008 06:35] 
Sorry

janakiranjan [08-08-2008 15:37]  
Mail me some joomla cms doc
just testing [08-08-2008 01:38]  
just testing this thing
eeee [07-08-2008 07:59] 
eeee
e [07-08-2008 07:58]  
eee
julio [05-08-2008 04:08]  
dadede
aasas [03-08-2008 08:38] 
assas
dgdfg [02-08-2008 21:30]  
dfgdfgdfgdfgdfgdfgfg
tuhawks [29-07-2008 07:03] 
just testing this script
Add Comment    
Name
Email: (Optional)
URL: (Optional)
Comment:
Chars.left
 
Commenter v.1.07 by AB Webservices. [admin]


Copyright AB Webservices 2002-2008 Last modified on: 02-11-2007 08:13:04
Page generated with php in: 0.016 seconds. Page cached since:14:12:51, expires on 14:27:51
This page has been viewed 22,657 times since June 2003.