Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.2 / 3....
  • LibreOffice 3.6.6 / 4.0.3
  • MPlayer 1.1.1
  • systemd 204
  • Arch Linux 2013.05.01
  • Blender 2.67
  • KDE Software Compilatio...
  • CrunchBang Linux Stable...
  • Elementary OS 0.1 / 0.2...
  • SystemRescueCd 3.6.0
  • Home > Linux > Office > News/Diary

    NanobloggerComments 1.1

    Download button

    No screenshots available
    Downloads: 482  View global page NEW!  Tell us about an update
    User Rating:
    Rated by:
    Good (3.4/5)
    15 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Witold Rugowski | More programs
    BSD License / FREE
    April 13th, 2006, 15:46 GMT
    ROOT / Office / News/Diary

     Read user reviews (0)  Refer to a friend  Subscribe

    NanobloggerComments description

    NanobloggerComments is a PHP/MySQL-based comment system for Nanoblogger.

    NanobloggerComments is a PHP/MySQL-based comment system for Nanoblogger.

    Installation:

    Login to mysql as user root and:

    create database sessions; grant all privileges on sessions.* to 'session'@'localhost'
    identified by 'PASSWORD';

    Chose and remember your own password

    Create database structure:
    mysql -u session -p sessions < db.sql

    Now modify your blog.conf

    First add new variables - BLOG_ADMIN and DB_PASS, will be used by install script. (If You have also changed database name or user edit after running install script consts.php to reflect this change)

    BLOG_URL_ACTION="cmt.php?article=" (remeber that $BASE_URL is added by nb -
    at least 3.2.3)

    In templates dir remove HTML comments (< !-- -- >) from entry.htm and permalink_entry.htm. You also have to change URL in those two templates to

    < a href="${BASE_URL}${BLOG_URL_ACTION}/$permalink_file" >
    < script >checkPosts("$permalink_file");< /script > < /a >

    And after every directive in templates (category_archive.htm,
    main_index.htm, makepage.htm, month_archive.htm, permalink.htm ) add:

    < script language="JavaScript"
    src="${BASE_URL}${BLOG_URL_ACTION}&act=showjs"
    type="text/javascript" > < /script >

    Now install whole thing :
    ./install YOUR_WWW_BLOG_DIRECTORY

    Script will check for blog.conf in current dir and if not found will check BLOG_CONF environment variable and target (install) directory. From this file will take all needed data to generate all headers, etc.

    Now update Your blog. In my environment it is done through:

    nb -u all && nb -P

    Requirements:

    · PHP 4.3.11
    · MySQL 4.1.11
    · Nanoblogger 3.2.3 (when upgrading from 3.1 - there are some issues in NB itself, like new templates, $permalink_entry is replaced by $permalink_file and others).

    What's New in This Release:

    · This release allows commenting articles, not just regular blog entries.



    Product's homepage

      


    TAGS:

    PHP comment system | MySQL comment system | PHP blogger | NanobloggerComments | PHP | MySQL

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM