Coppermine after bridging. Coppermine after bridging.
 

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

Coppermine after bridging.

Started by HoundSP, June 14, 2006, 07:40:57 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

HoundSP

After I bridged coppermine with IPB 2.0.3 some coppermine functions seems missing, such as view specific user last uploaded file or letest comments. After clicking on the uploader name, it redirect to the IPB user profile. Is there anything I can do whith this issue?

Another problem is OnlineStats fails after bridging. It shows "There was an error while processing a database query". I assume that because the gallery use IPB usr database, actually I only need the currently online username not the whole stat. Is there anything I can do whith this issue?

Thanks in advance.  ;)

Joachim Müller

1) When requesting bridge support - mandatory!
2) One issue per thread!
3) Online Stats is a mod that doesn't come with the coppermine packages. Mods don't get supported on the regular support board, but on the thread that deals with it. Enable debug_mode to find out what query actually fails. Use the plugin version instead of the mod for upgrade stability
4) Missing profile when bridged and subsequent missing links to "last uploads by user" is a known issue/missing feature.

HoundSP

Thanks a lot for your support! Finally I get the onlinestats work  ;)
* Sorry that I didn't read through the "Who is online" plugin *experimental" topic, my fault....  :'(

Reclarify it again (Thanks to nibbler and proxenus)
in onlinestats/codebase.php

Line 119:
find :
$result = cpg_db_query("SELECT COUNT(*) FROM {$CONFIG['TABLE_USERS']}");
replace with :
$result = cpg_db_query("SELECT COUNT(*) FROM {$CONFIG['TABLE_USERS']}", $cpg_udb->link_id);


Line 130:
find :
$result = cpg_db_query("SELECT $user_id, $user_name FROM {$CONFIG['TABLE_USERS']} ORDER BY $user_id DESC LIMIT 1");
replace with :
$result = cpg_db_query("SELECT $user_id, $user_name FROM {$CONFIG['TABLE_USERS']} ORDER BY $user_id DESC LIMIT 1", $cpg_udb->link_id);

Original thread : http://forum.coppermine-gallery.net/index.php?topic=26532.60

Joachim Müller

Thanks for returning and resolving your thread.