Advanced search  

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]

Pages: [1]   Go Down

Author Topic: Intergrate BBClone into cpg142  (Read 4575 times)

0 Members and 1 Guest are viewing this topic.

mainpower

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 30
    • Photo album of ... (with CPG)
Intergrate BBClone into cpg142
« 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
Logged

mainpower

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 30
    • Photo album of ... (with CPG)
Re: Intergrate BBClone into cpg142
« Reply #1 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
Logged

n3n

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 173
Re: Intergrate BBClone into cpg142
« Reply #2 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.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Intergrate BBClone into cpg142
« Reply #3 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.
Logged

mainpower

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 30
    • Photo album of ... (with CPG)
Re: Intergrate BBClone into cpg142
« Reply #4 on: September 09, 2006, 07:30:21 pm »

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

Nibbler

  • Guest
Re: Intergrate BBClone into cpg142
« Reply #5 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.
Logged
Pages: [1]   Go Up
 

Page created in 0.02 seconds with 19 queries.