Life's random bits By b1thunt3r (aka Ishan Jain)…
BBClone – Web Counter

BBClone – Web Counter

Ishan jain
I have used BBClone Web Counter for over 5 years, and sop far i haven’t found any replacement for it. As for now I am using CMSimple i decided to use bbclone again. I found out it would take some time to get bbclone streamlined CMSimple.

First i tried to make a plugin for CMSimple but it failed quite fatally. After that I just decided to modify/hack the most used php file in CMSimple, it happened to be <CMSimpleroot>/index.php.

This is how you streamline bbclone with CMSimple:

  • Download BBClone
  • Install BBClone (follow standard instructions)
  • Replace content of <CMSimpleroot>/index.php with:
    < ?php
    include('./cmsimple/cms.php');
    define("_BBCLONE_DIR", "/home/jain/www/info/bbclone/");
    define("_BBC_PAGE_NAME", $cf['site']['title']." - ".$h[$s]);
    define("COUNTER", _BBCLONE_DIR."mark_page.php");
    if (is_readable(COUNTER)) include_once(COUNTER);
    ?>
    

Note: Remember to set right permissions for <bbcloneroot>/var