Cpg & BBclone integration Cpg & BBclone integration
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

Cpg & BBclone integration

Started by jensb, November 05, 2005, 01:01:15 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

jensb

Hi!

first let me say I´ve searched the forum not finding a solution to my question.

secondly I´m using Cpg on several sites .. works like a charm ... I´m also using bbclone web statistics (www.bbclone.de) also works just fine ..

bbclone works with an php snippet added to the sites phppages ... in this case I´ve added :

//------ Counter -----------------------------------
define("_BBC_PAGE_NAME", "Test");
define("_BBCLONE_DIR", "../bbclone/");
define("COUNTER", _BBCLONE_DIR."mark_page.php");
if (is_readable(COUNTER)) include_once(COUNTER);

to theme.php ...

now this works .. in a fashion ... it unique visits correctly ... but ... it counts all pages as "test"  .. ie all hits is counted as on that one page ...

http://www.sportbar.se/bbclone/

what I ant to ask u is this: has any of u managed to get bbclone to count the individual album/pic pages ? (this is my dream sceario :D)

or ... is there a variable cpg is using that could (possibly) be used to identify the indiviual pages cpg creates? if any of You could supply me with that maybe I could see if I can modify bbclone to use that instead of:

define("_BBC_PAGE_NAME", "Test");

or as it will probably en up .. taking the variable and going to bbclones forum to ask them ;) since I´m a complete newbie when it comes to coding hehe

thanks in advance for any help You can give me and keep up the great worrk you´re doing with cpg /Jens

mainpower

Any luck so far ??? I was also thinking about intergrating BBClone into the theme.php code.

Cheers,
MainPower