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: 2nd Admin Group  (Read 5880 times)

0 Members and 1 Guest are viewing this topic.

ukrob12

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
    • TheMuse
2nd Admin Group
« 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?
« Last Edit: October 05, 2006, 02:08:21 am by Nibbler »
Logged

Nibbler

  • Guest
Re: 2nd Admin Group
« Reply #1 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);
Logged

ukrob12

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
    • TheMuse
Re: 2nd Admin Group
« Reply #2 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?
Logged

ukrob12

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
    • TheMuse
Re: 2nd Admin Group
« Reply #3 on: October 05, 2006, 01:44:30 am »

Never mind, found it. Thanks for the help.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: 2nd Admin Group
« Reply #4 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.
Logged

sarah85

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Re: 2nd Admin Group
« Reply #5 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
Logged

sarah85

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Re: 2nd Admin Group
« Reply #6 on: May 19, 2007, 09:45:07 pm »

anyone?  :'(
Logged
Pages: [1]   Go Up
 

Page created in 0.022 seconds with 19 queries.