Advanced search  

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

Pages: [1]   Go Down

Author Topic: phpbb3 - extra groups as 'adminstrator'  (Read 2964 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.019 seconds with 19 queries.