forum.coppermine-gallery.net

Support => cpg1.4.x Support => Older/other versions => cpg1.4 bridging => Topic started by: ukrob12 on October 04, 2006, 11:53:37 pm

Title: 2nd Admin Group
Post by: ukrob12 on October 04, 2006, 11:53:37 pm
I have coppermine v1.4.4 bridged with SMF 1.1 RC3 and would like to give a group admin rights in coppermine. I've done a bit of searching on how to do this, but am unable to understand what exactly to do.

How do I do this?
Title: Re: 2nd Admin Group
Post by: Nibbler on October 05, 2006, 12:04:00 am
Edit bridge/smf10.inc.php

Code: [Select]
$this->admingroups = array($this->use_post_based_groups ? 101 : 1);
Add the extra group into that array, so to add 123

Code: [Select]
$this->admingroups = array($this->use_post_based_groups ? 101 : 1, 123);
Title: Re: 2nd Admin Group
Post by: ukrob12 on October 05, 2006, 01:08:34 am
Ah OK, far simpler than I thought it would be. How do I find out what number a group is?
Title: Re: 2nd Admin Group
Post by: ukrob12 on October 05, 2006, 01:44:30 am
Never mind, found it. Thanks for the help.
Title: Re: 2nd Admin Group
Post by: Joachim Müller on October 05, 2006, 05:50:29 am
I don't understand though why you wouldn't trust those users to administer your forum, yet you trust them to administer coppermine. By accident or on purpose they could ruin your entire site in both applications.
Title: Re: 2nd Admin Group
Post by: sarah85 on May 17, 2007, 10:45:51 pm
i'm sorry to bring back the topic

but i tried this method i'm not sure if i done it the correct way

the admin group have id 16
so i tried replacing
Quote
$this->admingroups = array($this->use_post_based_groups ? 101 : 1);
with


Quote
$this->admingroups = array($this->use_post_based_groups ? 101 : 1, 14);
then with this
Quote
$this->admingroups = array($this->use_post_based_groups ? 101 : 1, 114);

but don't work? what should i do please  ???
thanks
Title: Re: 2nd Admin Group
Post by: sarah85 on May 19, 2007, 09:45:07 pm
anyone?  :'(