Can I make an Admin for CPG 1.3 integrated with phpBB 2.0.8 where the CPG admin doesn't have admin privileges for the board? I'm guess not. :-[
Not using the standard interfaces, no.
grrrrr.
I know I should as this at the phpBB but ....
Do you know of a "non-standard" interface (read as MOD)?
Just a minor change to includes/init.inc.php,
replace
define('GALLERY_ADMIN_MODE', USER_IS_ADMIN && $USER['am']);
with
define('GALLERY_ADMIN_MODE', (USER_IS_ADMIN || USER_ID == xxx) && $USER['am']);
You can put someone's id in xxx to give them admin mode, but it's not really a clean way to do it.
Thanks Nibbler. I gave it a try and it does work.
Chunk
Heip!
I tried, it's working well.
However, I would like to use GROUP_ID (phpbb) instead of USER_ID. Because then it's much easier to add some more people to a group of admins (under phpbb group).
Do you know how I can use phpbb group id?
Priit
http://www.phpbb.com/phpBB/viewtopic.php?t=27470&highlight=external+group [though this may be the more current link... http://www.phpbb.com/phpBB/viewtopic.php?t=85737 ]
Ive used this for other things with my phpbb guildsites - will take some tweaking but I think will do what you are looking to do.