Advanced search  

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

Pages: [1]   Go Down

Author Topic: Table mod for phpnuke 5.5  (Read 4448 times)

0 Members and 1 Guest are viewing this topic.

sigi

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 68
    • http://www.allygally.de
Table mod for phpnuke 5.5
« on: October 02, 2003, 09:34:10 am »

i made a mod to config.inc.php in my coppermine:
[editors note= This may work in sigi's version...phpnuke 5.5 but not in 6.5+]
Code: [Select]

global $prefix;

// MySQL TABLE NAMES PREFIX
$CONFIG['TABLE_PREFIX'] =                 $prefix."_cpg_";


$CONFIG['MODUL_NAME'] = "coppermine";


and also changed the table names in the sql file to reflect the Nuke $prefix ...

that way you can have more than one coppermine installation in one database, as you can have more than one nuke installation in one database, thats what $prefix is for ...


could you add a little feature: locking of the right mouse button click - maybe as an option for the whle gallery or for a category or even for each album ?
Logged
Siegfried Schlosser

Berlin, Germany

had a big Coppermine gallery with more than 250.000 pics  at
www.allygally.de, but due to juristical problems that is closed now ....
Now trying Coppermine 1.4.x at http://walexis.pytalhost.de/
Pages: [1]   Go Up
 

Page created in 0.018 seconds with 19 queries.