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: phpbb3 - extra groups as 'adminstrator'  (Read 3015 times)

0 Members and 1 Guest are viewing this topic.

timo31

  • Coppermine newbie
  • Offline Offline
  • Posts: 1
phpbb3 - extra groups as 'adminstrator'
« on: April 21, 2009, 06:02:51 am »

I have bridged cpg1.4 with phpbb3 with use post-based groups turned off, however i wanted to allow forum certain forum usergroups administrator access also, so heres what i did...

Edit phpbb3.inc.php and replace
Code: [Select]
$this->admingroups = array(5);
With:
Code: [Select]
$moderator_group = array(4);
$administrator_group = array(5);
$this->admingroups = array_merge($moderator_group, $administrator_group);

4 and 5 being moderator and adminstrator forum group codes respectivly.
Logged
Pages: [1]   Go Up
 

Page created in 0.016 seconds with 20 queries.