Problem with Plugin "External tracker" Problem with Plugin "External tracker"
 

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

Problem with Plugin "External tracker"

Started by DJKat, August 11, 2011, 09:20:27 AM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

DJKat

Hi @ all!

I just updated my gallery to the current 1.5 Coppermine Version and found out, that my bbclone does not work as it did with 1.4.
So I installed the external tracker plugin. It seems to work well, but only when I'm logged in as admin.
Where can I change this?

Regards, Dany

Αndré

Have you looked at the source code as each admin, regular user and guest to find out that the tracker works just for the admin? Please post a link to your gallery.

DJKat

I haven't looked at the source code yet for I dont know where exactly to look at,  but I noticed the effect by looking at the bbclone stats...

the gallery: http://fotos.danyalexander.de
bbclone: http://fotos.danyalexander.de/bbclone

Αndré

Please have a look at codebase.php. There's a line that reads
    if (!GALLERY_ADMIN_MODE) {
        $stats = 'yes';
    }

which usually tells the script to execute for every non-admin user. You could try to debug that variables by adding
    var_dump(GALLERY_ADMIN_MODE);
    var_dump($stats);

below that code.

DJKat

Tried your lines but the problem is still there.
BBclone still counts only me when I'm logged in.  :-\

Any more hints?

Αndré

Of course the debug code won't fix anything. I can now see the content of the variables, which is
Quotebool(false) string(3) "yes"

So everything should work fine from the plugin side. I'm not the author of the plugin nor use it myself, so I cannot help you further with that issue.

DJKat

I think it all occurs because of the new coppermine version...  :-\

Restored my old gallery which was 1.4.23 and restore also my bbclone call I added manually to displayimage.php, index.php and thumbnails.php.

Now everything works fine again.

Thanks anyway for your work and help André!!!

Regards Dany