coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 permissions => Topic started by: HoundSP on June 30, 2006, 01:04:18 PM

Title: User upload ratio
Post by: HoundSP on June 30, 2006, 01:04:18 PM
Referred to this topic : http://forum.coppermine-gallery.net/index.php?topic=12110.0

Is there any way to make this mod works with CPG 1.4.x ? I've tried it but seems didn't worked. No errors occured, however, users which has no uploaded pics can still access the full size images.

I already tried to change cpg132_pictures to cpg146_pictures

I'm using CPG 1.4.6 bridge with IPB 2.0.x

Thanks.
Title: Re: User upload ratio
Post by: Stramm on June 30, 2006, 01:10:40 PM
you'd need to use the prefix that you set when installing coppermine or you use the named constant $CONFIG

=> replace cpg132_pictures with {$CONFIG['TABLE_PICTURES']}
at least coppemine should be able to access the table. The rest .... ???? haven't checked