2nd Admin Group 2nd Admin Group
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

2nd Admin Group

Started by ukrob12, October 04, 2006, 11:53:37 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

ukrob12

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?

Nibbler

Edit bridge/smf10.inc.php

$this->admingroups = array($this->use_post_based_groups ? 101 : 1);

Add the extra group into that array, so to add 123

$this->admingroups = array($this->use_post_based_groups ? 101 : 1, 123);

ukrob12

Ah OK, far simpler than I thought it would be. How do I find out what number a group is?

ukrob12

Never mind, found it. Thanks for the help.

Joachim Müller

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.

sarah85

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

sarah85