My favorites | Sign in
Project Home Downloads Wiki Issues Source
Project Information
Members
Featured
Downloads
Links

JQuery/PHP/MySQL script that adds comments without page reloading


Please download the latest fast-comment-0.1-4.tar.bz2

WHAT IT DOES

You don't have to reload the browser window when adding and reading comments.

PURPOSE

The purpose of this script is to give an idea how do posts get added to DB and displayed without page reloading.

DEMO

Demo page here: http://shimansky.biz/bitbucket/code/fast-comment/

INSTALL

Uses jQuery, PHP and MySQL

1. Setup needs to edit config file /fast-comment/inc/regional.php

and creating a table using provided dump file /fast-comment/pt_guestbook_demo.sql

2. Admin script based on phpMyEdit class available in /fast-comment/scripts/ and web-interface at /fast-comment/scripts/admin.php (rememeber to secure this page)

Read doc/INSTALL for successful setup.

FILES

  1. /fast-comment/lib/lib_global2.php - functions that prepare posts and write them to DB
  2. /fast-comment/inc/vars2.php - variables that need not be changed, but can be when you know why
  3. /fast-comment/inc/regional.php - MySQL connection settings
  4. /fast-comment/scripts/guestbook.php - gets new posts and writes them to DB
  5. /fast-comment/scripts/load_pt_guestbook.php - loads posts via jQuery on index.html page (should be examined for html display of the posts)

ADMINISTERING

To enter admin page go to http://localhost/fast-comment/scripts/admin.php

LICENSE

GPL license. You are free whatever you wish to change in the code.

Powered by Google Project Hosting