PHP Classes

PHP Comments: Manage comments stored in a MySQL database

Recommend this page to a friend!
  Info   Screenshots Screenshots   View files View files (24)   DownloadInstall with Composer Download .zip   Reputation   Support forum (2)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2024-01-09 (2 months ago) RSS 2.0 feedNot enough user ratingsTotal: 592 All time: 5,235 This week: 68Up
Version License PHP version Categories
php-comments 1.9BSD License5.2PHP 5, Content management
Description 

Author

This package can manage comments stored in a MySQL database.

The main class can generate forms to let the user to enter new comments or reply to existing comments, as well display the comment threads on a Web page.

The class can also access a MySQL database to save comment entries in a comments table, as well to delete single comments or whole threads.

Picture of rche
Name: rche <contact>
Classes: 1 package by
Country: Russian Federation Russian Federation
Age: 38
All time rank: 306084 in Russian Federation Russian Federation
Week rank: 312 Up13 in Russian Federation Russian Federation Up

Details

/* * * PHP script comments. * Version: 1.0 (beta) * Late: 06.11.2012 * Autor: Chernyshov Roman * Site: http://rche.ru * E-mail: houseprog@ya.ru * */ Install: 1. Create table in Data Base, import in DB install.sql 2. Seup connection to DB in file config.php 3. Insert to page code(for output comments): <?php // At beginning php script include("config.php"); ?> <?php // output comments and form $comments->outComments(); ?> 4. For work Ajax comment and output WISIWIG editor. Download and exract this addition package http://rche.ru/exaples/commentsENG/js.zip For administarte comments, add in URL, GET var: pass=12345 (password setup in config.php) Example admin: http://example.com/comments.php?pass=12345 http://example.com/components/articles/?pass=12345 http://example.com/?pass=12345 Files description: /.install.sql mySQL dump for install /capcha.php this file is out generate capcha in class.capcha.php /class.captcha.php this class for generate capcha /class.comments.php This class is generate comments form, output comments list. Is primary class in this package /class.controller.php for init registry class /class.dbsql.php class worked with BD MySQL /class.registry.php Registry class. this class is save vars and objects /config.php Configurate class /functions.php Support functions for comments class /index.php Example /markdown.php A text-to-HTML conversion tool for web writers /markhtml.php Clear html cod, delete XSS code /readme.txt Installation instruction /css/rcheComment.css CSS Style for output forms /js/rcheComment.js JavaScript for Ajax and output WISIWIG

Screenshots  
  • comments
  Files folder image Files  
File Role Description
Files folder imagecss (1 file)
Files folder imageimages (2 files, 1 directory)
Files folder imagejs (1 file)
Accessible without login Plain text file .install.sql Data mySQL dump for install
Accessible without login Plain text file capcha.php Aux. this file is out generate capcha in class.capcha.php
Plain text file class.captcha.php Class this class for generate capcha
Plain text file class.comments.php Class This class is generate comments form, output comments list. Is primary class in this packageinit
Plain text file class.controller.php Class for init registry class
Plain text file class.dbsql.php Class class worked with BD MySQL
Plain text file class.registry.php Class Registry class. this class is save vars and objects
Accessible without login Plain text file config.php Example Configurate class
Accessible without login Plain text file functions.php Appl. Support functions for comments class
Accessible without login Plain text file index.php Example Example
Plain text file markdown.php Class A text-to-HTML conversion tool for web writers
Plain text file markhtml.php Class Clear html cod, delete XSS code
Accessible without login Plain text file readme.txt Doc. Installation instruction

  Files folder image Files  /  css  
File Role Description
  Accessible without login Plain text file rcheComment.css Data CSS Style for output forms

  Files folder image Files  /  images  
File Role Description
Files folder imagecomment (7 files)
  Accessible without login Image file boy48.gif Icon Icon image
  Accessible without login Image file girl48.gif Icon Icon image

  Files folder image Files  /  images  /  comment  
File Role Description
  Accessible without login Image file ajax-bar.gif Icon Icon image
  Accessible without login Image file btn120.gif Icon Icon image
  Accessible without login Image file favcom.gif Icon Icon image
  Accessible without login Image file flagred.gif Icon Icon image
  Accessible without login Image file minus.gif Icon Icon image
  Accessible without login Image file plus.gif Icon Icon image
  Accessible without login Image file tip-gray.gif Icon Icon image

  Files folder image Files  /  js  
File Role Description
  Accessible without login Plain text file rcheComment.js Data Auxiliary data

 Version Control Unique User Downloads Download Rankings  
 96%
Total:592
This week:0
All time:5,235
This week:68Up