Intergrate BBClone into cpg142 Intergrate BBClone into cpg142
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

Intergrate BBClone into cpg142

Started by mainpower, December 11, 2005, 11:47:18 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

mainpower

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

mainpower

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

n3n

Ive also been working on this. Searching for a solution. ill let you know when i find something.

Joachim Müller

Quote from: mainpower on December 11, 2005, 11:47:18 AM
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.

mainpower

The question is clear .. how to intergrade BBClone (web stat counter) into coppermine (whatever version)...

Nibbler

1.4.2 probably was the most recent version at the time of the post, this is an old thread.