Advanced search  


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

Pages: [1]   Go Down

Author Topic: Cpg & BBclone integration  (Read 3260 times)

0 Members and 1 Guest are viewing this topic.


  • Coppermine newbie
  • Offline Offline
  • Posts: 18
Cpg & BBclone integration
« on: November 05, 2005, 01:01:15 pm »


first let me say Ive searched the forum not finding a solution to my question.

secondly Im using Cpg on several sites .. works like a charm ... Im also using bbclone web statistics ( also works just fine ..

bbclone works with an php snippet added to the sites phppages ... in this case Ive 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 ...

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 Im 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 youre doing with cpg /Jens


  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 30
    • Photo album of ... (with CPG)
Re: Cpg & BBclone integration
« Reply #1 on: December 11, 2005, 12:02:13 pm »

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

Pages: [1]   Go Up

Page created in 0.018 seconds with 19 queries.