As per my other thread, we are currently using coppermine 1.2 and iB 1.3
Id like to be able to grant the super mods - and possible mods - from iB the same level of access on coppermine as the administrators
ie
can access all of coppermines admin functions
Is this even possible ?
If so, how ?
Thanks
You can change the bridge file to make anyone you like admin.
$USER_DATA['mgroup'] == IB_ADMIN_GROUP
Set that to
in_array($USER_DATA['mgroup'], array(IB_ADMIN_GROUP,7,8,9))
(in 2 places)
Where 7, 8 and 9 are the groups you want to be admin.
This is based on 1.3.2 code of course.
Cheers nibbler
:)
Only had to define once tho
in /image-gallery/bridge/invisionboard.inc.php
define('USER_GROUP', $USER_DATA['group_name']);
define('USER_GROUP_SET', '(' . $USER_DATA['group_id'] . ')');
// define('USER_IS_ADMIN', USER_ID ? ($USER_DATA['mgroup'] == IB_ADMIN_GROUP) : 0);
define('USER_IS_ADMIN', USER_ID ? (in_array($USER_DATA['mgroup'], array(IB_ADMIN_GROUP,4,6))) : 0);
where 4 = admin
where 6 = smod
Thanks again
Greatly appreciated