forum.coppermine-gallery.net

Support => cpg1.4.x Support => Older/other versions => cpg1.4 bridging => Topic started by: mainpower on December 11, 2005, 11:47:18 am

Title: Intergrate BBClone into cpg142
Post by: mainpower on December 11, 2005, 11:47:18 am
Hi there,

I need some help, what would be the best place to intergrate BBClone with the new cpg142 ???
I did read some messages about BBClone with cpg but it's not fully working, meaning from all pages within cpg.

Myself was thinking about theme.php and would be nice to grab the title as page name.

Any help would be nice.

Cheers,
MainPower
Title: Re: Intergrate BBClone into cpg142
Post by: mainpower on December 19, 2005, 05:57:09 pm
So far I added the following code to the thumbnails.php;
$BBC_PAGE_TEXT="Holidays ".$CURRENT_ALBUM_DATA['title']." Page ".$page;
define("_BBC_PAGE_NAME", $BBC_PAGE_TEXT);
define("_BBCLONE_DIR", "bbclone/");
define("COUNTER", _BBCLONE_DIR."mark_page.php");
if (is_readable(COUNTER)) include_once(COUNTER);

However I am not able to grep the category out of the data, anyone know what variable to take ???

PS .. the text Holiday (hard-coded) is in my case the category.

Thanks,
MainPower
Title: Re: Intergrate BBClone into cpg142
Post by: n3n on September 09, 2006, 07:03:32 pm
Ive also been working on this. Searching for a solution. ill let you know when i find something.
Title: Re: Intergrate BBClone into cpg142
Post by: Joachim Müller on September 09, 2006, 07:27:16 pm
with the new cpg142
cpg1.4.2 is far from being the most recent version. In fact, it's very outdated. It's mandatory to upgrade to the most recent version (currently cpg1.4.9). The fact that you consider cpg1.4.2 as the most recent version indicates that you have used an auto-installer (probably Fantastico). You shouldn't do that, but use the most reent version we provide.

Not sure what you're trying to do exactly in thumbnails.php, but it looks wrong in my opinion if you're actually trying to integrate Coppermine into another app (both in terms of user management aka bridging as well as visual integration). Post what exactly you're trying to accomplish.
Title: Re: Intergrate BBClone into cpg142
Post by: mainpower on September 09, 2006, 07:30:21 pm
The question is clear .. how to intergrade BBClone (web stat counter) into coppermine (whatever version)...
Title: Re: Intergrate BBClone into cpg142
Post by: Nibbler on September 09, 2006, 07:54:41 pm
1.4.2 probably was the most recent version at the time of the post, this is an old thread.