News:

CPG Release 1.6.28
added submissions from {406man}
cleaned up a few PHP (8.4) deprecations
fixed PHP deprecation in calendar
removed security vulnerability
(please upgrade when possible)

Main Menu

Table mod for phpnuke 5.5

Started by sigi, October 02, 2003, 09:34:10 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

sigi

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+]

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 ?
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/