bbclone implementation

kermie

No avatar

2007-04-13 00:29

Hi,
does anybody know where to place bbclone (http://www.bbclone.de) statistics code properly so one can see visitors on several pages?

Thanks for help!

» Quick.Cart v1.x

konradturek

No avatar

2007-04-13 15:43

maybe in page.tpl

kermie

No avatar

2007-04-13 21:49

No. Unfortunately, it does not seem to work with any .tpl
I put it into index.php but then every hit onto different pages will be counted with the same page name. I would be interested in a solution like this:


<?
if(!isset($status)){
if (
$s >= define("_BBC_PAGE_NAME"$h[$s]); else define("_BBC_PAGE_NAME"$h[0]); //WB~ checked $s to be positive
define("_BBCLONE_DIR""bbclone/");
define("COUNTER"_BBCLONE_DIR."mark_page.php");
if (
is_readable(COUNTER)) include_once(COUNTER);
}
?>



which works fine with CMSimple resolving the URLs behind the '?'

Any ideas?

Back to top
about us | contact