coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 bridging => Topic started by: Elemental Crisis on November 26, 2009, 03:24:34 PM

Title: Allowing Multiple User Groups To Be Admin
Post by: Elemental Crisis on November 26, 2009, 03:24:34 PM
Hello,

I was wondering if anyone could help me make it so I could have multiple forum user groups have admin access in coppermine? I've found the line of code where it pulls the admin group ID from IPB.
$this->admingroups = array($INFO['admin_group']);
Is there anyway I can change it so I can specify which groups should have admin acesss for Coppermine?

Thank You.

Coppermine install: http://rpgcrisis.net/resources
Forum install: http://mysite.tld/my_forum_folder/
Coppermine version: cpg1.4.24
Forum version: IPB 2.3.6
Test user account: test/test123

BridgeManager settings:
Forum URL:  http://rpgcrisis.net/forums
Relative path to your BBS's config file:  ../conf_global.php
Use post-based groups?:  0
Cookie name/preifx Coppermine
Title: Re: Allowing Multiple User Groups To Be Admin
Post by: Nibbler on November 26, 2009, 03:27:33 PM
Just add the IDs of the additional groups.


$this->admingroups = array($INFO['admin_group'], 5, 8, 9);
Title: Re: Allowing Multiple User Groups To Be Admin
Post by: Elemental Crisis on November 26, 2009, 03:37:06 PM
Hello,

Thank you, that worked perfectly!