coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 bridging => Topic started by: jhon on June 10, 2006, 07:41:19 PM

Title: Make more Coppermine Admins form vb-Moderators
Post by: jhon on June 10, 2006, 07:41:19 PM
Hi @ll,

in the last version I had installed (1.3.2), I had a small hack (I think in the Bridge File) to make my Mods Coppermine Admins too (useing their usergroup).
I didn't find this possibility in the new bridge file, unfortunately I#m not very good in PHP.

Maybe, Someone has a hint what to change?

Best regards

JHon
Title: Re: Make more Coppermine Admins form vb-Moderators
Post by: Nibbler on June 10, 2006, 08:56:04 PM
You can easily define the admin groups in the bridge file.

$this->admingroups = array(6);
Title: Re: Make more Coppermine Admins form vb-Moderators
Post by: jhon on June 11, 2006, 12:47:51 AM
Wow, thank you, that helps a lot. Several groups seperated by semicolons, I guess?
Title: Re: Make more Coppermine Admins form vb-Moderators
Post by: Nibbler on June 11, 2006, 01:10:37 AM
Commas

$this->admingroups = array(6, 7, 8, 9);
Title: Re: Make more Coppermine Admins form vb-Moderators
Post by: Joachim Müller on June 11, 2006, 10:48:45 AM
I wouldn't recommend this: if you trust some users in your BBS app a little more than average and make them moderators there, but not admins (because you don't fully trust them), what's the point of fully trusting them in Coppermine by making them admins there?
Coppermine admins can mess up things pretty badly and ruin the entire site in no time.

Instead, I suggest looking at this the other way 'round: what special privilege do your vb mods need in Coppermine? Allow them access to this particular privilege (even if this means to apply a hack), e.g. upload approval or similar. There are already some pre-made hacks that tell you how to accomplish this.
Title: Re: Make more Coppermine Admins form vb-Moderators
Post by: jhon on June 12, 2006, 10:41:04 AM
Quote from: Nibbler on June 11, 2006, 01:10:37 AM
Commas

$this->admingroups = array(6, 7, 8, 9);

Works great, thank you!
Title: Re: Make more Coppermine Admins form vb-Moderators
Post by: jhon on June 12, 2006, 10:47:55 AM
Quote from: GauGau on June 11, 2006, 10:48:45 AM
I wouldn't recommend this: if you trust some users in your BBS app a little more than average and make them moderators there, but not admins (because you don't fully trust them), what's the point of fully trusting them in Coppermine by making them admins there?
Coppermine admins can mess up things pretty badly and ruin the entire site in no time.

Instead, I suggest looking at this the other way 'round: what special privilege do your vb mods need in Coppermine? Allow them access to this particular privilege (even if this means to apply a hack), e.g. upload approval or similar. There are already some pre-made hacks that tell you how to accomplish this.

I understand your warnings, but the structure of rights in my vB is no matter of trust, it's a lack of know how in vB form the mods. CPQ is much easier to handle and has less opportunities to make mistakes, because there are less options. In fact, the mods should be able to edit titles, comments and move pictures to support the users - if there would be options for this in CPQ, this little hack wouldn't be necessary for me.
Last but not least: The CPG is just a small goodie for my users - if it's destroyed by accident, it's not soooooo important. And it will be restored from a backup very quick.

Greetz

JHon