Allowing Multiple User Groups To Be Admin Allowing Multiple User Groups To Be Admin
 

News:

CPG Release 1.6.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

Main Menu

Allowing Multiple User Groups To Be Admin

Started by Elemental Crisis, November 26, 2009, 03:24:34 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Elemental Crisis

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

Nibbler

Just add the IDs of the additional groups.


$this->admingroups = array($INFO['admin_group'], 5, 8, 9);

Elemental Crisis