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

News:

CPG Release 1.6.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

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.