phpbb3 - extra groups as 'adminstrator' phpbb3 - extra groups as 'adminstrator'
 

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]

Main Menu

phpbb3 - extra groups as 'adminstrator'

Started by timo31, April 21, 2009, 06:02:51 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

timo31

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
$this->admingroups = array(5);

With:
$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.