Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: Allowing Multiple User Groups To Be Admin  (Read 4544 times)

0 Members and 1 Guest are viewing this topic.

Elemental Crisis

  • Contributor
  • Coppermine novice
  • ***
  • Offline Offline
  • Posts: 21
Allowing Multiple User Groups To Be Admin
« 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.
Code: [Select]
$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
Logged

Nibbler

  • Guest
Re: Allowing Multiple User Groups To Be Admin
« Reply #1 on: November 26, 2009, 03:27:33 pm »

Just add the IDs of the additional groups.

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

Elemental Crisis

  • Contributor
  • Coppermine novice
  • ***
  • Offline Offline
  • Posts: 21
Re: Allowing Multiple User Groups To Be Admin
« Reply #2 on: November 26, 2009, 03:37:06 pm »

Hello,

Thank you, that worked perfectly!
Logged
Pages: [1]   Go Up
 

Page created in 0.016 seconds with 19 queries.