NanoBlogger Comments

Shortuct to download section

NBCom is tool to support Nanoblogger (, and gives ability to add dynamic comments to Your NB-powered blog.

It is written with famous KISS rule in mind.

It is written in PHP 5.1 (I did not use any special features - not countig $_POST, $_GET from 4.x series, so using it with older PHP versions should be easy) and uses MySQL as a backend. MySQL 4.1 or later WAS a must to 0.9.5 release. from 0.9.6 it should work with older MySQL's. I tested it with 4.1 and 3.23.58. With 3.x are some quirks with timestamps format, but it does works ;-)))

As showed on image protection is very weak - but I did not pretend that it is something more than basic protection. More about

Current status:

I'm currently (2006-04-10) adding new features. Now it is possible to add comments to articles (try it at this article), and I'm preparing basic support for html tags like <B>, <I>, <A> (only allowed atribute HREF and with filtering to prevent XSS).

Version history:
  • 1.1 (2006-04-12) - it is possible to add comments to articles, not only to blog entries. Changed default settings (now CAPTCHA is not required to post comments for logged users)
  • 1.0.4a (2006-04-03) - bugfixes, version 1.0.4 due to my mistake is completly not usable. 1.0.4.tar.gz is hardlinked to 1.0.4a.tar.gz
  • 1.0.4 (2006-04-03) - bugfixes - typos and some missing PHP closing tags (like ?>), which should remove some unpredictable behavior.
  • 1.0.3 (2006-02-06) - RSS feed improvements, bugfixes, JS XHTML compliant. Requires updatde in templates when upgrading.
  • 1.0.2 (2006-01-06) - documentation update, minor changes in RSS (feed name is no more static - it is $BLOG_TITLE)
  • 1.0.1 (2006-01-05) - NBCom archive have new extension - tar.gz (not tgz) and is packed from parent directory (so when You untar it, files will be in nbcom-1.0.1 directory ). There is RSS feed with 10 most recent comments - read deatils in INSTALL.txt in ADDONS section.
  • 1.0 is finally here ! Changes from 0.9.8 are minor. Some bugfixes, documentation improvement, and possibility to verify comments via text2img for both logged and anonymous users.
  • 0.9.8 (2005-11-22) - many bugfixes, anonymous comments posting, password reminder, basic spam protection. REMEBER upgrading requires change in DB - Anonymous user is user with ID 1 - can be manually fixed in cmt.php, saveComment function.
  • 0.9.7b (2005-11-07) - bugfixes in comid handling, better error checking, fixed minor errors in INSTALL.txt
  • Version 0.9.7a (2005-10-18) - changed SQL table, and other bugfixes. Again, short test phase has it's drawbacks.... :((((
  • Version 0.9.7 (2005-10-17) - now countig comments is made in pure JS (code from Instalation is even simplier. Tested with NB 3.2.3.
  • Version 0.9.6 (2005-07-10) - many improvements - now NBCom DOES NOT NEED MySQL 4.1 !!!
  • (2005-07-07) FlySpray - bug&idea tool - feel free to use it at
  • Version 0.9.5 (2005-06-29) - rev 64 - a lot bugfixes, admin panel improved , basic logging, deleting comments (admin), countig comments on main page and more
  • Version 0.9.3b (2005.05.30) - install script, bugfixes
  • Version 0.9.2c just arrived ;)) - adds some basic CSS, admin panel, bugfixes.
    ERRATA I forgot to remove HTML header info taken from my blog, so You have to wait to next release in few days or fix it manually (html.php).
  • Version 0.9.1b available - 2005.05.12 - from subversion's log:
    Bugfixes... Also default is to show comments and later 
    ask for login... Now You dont have to log in to SEE 
    others comments...
  • Version 0.9.1a available !!! - 2005.05.11 - minor bugfixes
  • Version 0.9.1 available !!! - 2005.05.10

And finally - fetch code from here.

All versions available for download:
nbcom.tgz (0.9.4)

Instalation is easy ;)), details are in INSTALL.txt
Enjoy !!

Want to add comment to this article (experimental)?

(c) 2005-2006 Witold Rugowski

$Id: nbcom.txt,v 1.9 2006/04/12 22:08:08 viciu Exp $