[Solved]: Admin for CPG 1.3 but no Admin rights in phpBB [Solved]: Admin for CPG 1.3 but no Admin rights in phpBB
 

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

[Solved]: Admin for CPG 1.3 but no Admin rights in phpBB

Started by Chunky C, June 23, 2004, 08:33:18 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Chunky C

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.  :-[



What's the point of wearing your favorite rocketship underpants if nobody ever asks to see 'em?" --Calvin

Nibbler


Chunky C

grrrrr.

I know I should as this at the phpBB but ....

Do you know of a "non-standard" interface (read as MOD)?

What's the point of wearing your favorite rocketship underpants if nobody ever asks to see 'em?" --Calvin

Nibbler

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.

Chunky C

Thanks Nibbler.  I gave it a try and it does work.

Chunk
What's the point of wearing your favorite rocketship underpants if nobody ever asks to see 'em?" --Calvin

Priit Tamboom

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
 

Suede

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.