Advanced search  

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]

Pages: [1]   Go Down

Author Topic: [Solved]: Admin for CPG 1.3 but no Admin rights in phpBB  (Read 4915 times)

0 Members and 1 Guest are viewing this topic.

Chunky C

  • Contributor
  • Coppermine novice
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 23
[Solved]: Admin for CPG 1.3 but no Admin rights in phpBB
« on: June 23, 2004, 08:33:18 pm »

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



« Last Edit: June 25, 2004, 01:07:06 am by GauGau »
Logged
What's the point of wearing your favorite rocketship underpants if nobody ever asks to see 'em?" --Calvin

Nibbler

  • Guest
Re: Admin for CPG 1.3 but no Admin rights in phpBB
« Reply #1 on: June 23, 2004, 09:21:35 pm »

Not using the standard interfaces, no.
Logged

Chunky C

  • Contributor
  • Coppermine novice
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 23
Re: Admin for CPG 1.3 but no Admin rights in phpBB
« Reply #2 on: June 23, 2004, 09:35:44 pm »

grrrrr.

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

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

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

Nibbler

  • Guest
Re: Admin for CPG 1.3 but no Admin rights in phpBB
« Reply #3 on: June 23, 2004, 09:57:25 pm »

Just a minor change to includes/init.inc.php,

replace
Code: [Select]
define('GALLERY_ADMIN_MODE', USER_IS_ADMIN && $USER['am']);
with
Code: [Select]
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.
Logged

Chunky C

  • Contributor
  • Coppermine novice
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 23
Re: Admin for CPG 1.3 but no Admin rights in phpBB
« Reply #4 on: June 24, 2004, 01:00:13 am »

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

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

Priit Tamboom

  • Coppermine newbie
  • Offline Offline
  • Posts: 1
Re: [Solved]: Admin for CPG 1.3 but no Admin rights in phpBB
« Reply #5 on: July 20, 2004, 12:19:30 pm »

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
 
Logged

Suede

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Re: [Solved]: Admin for CPG 1.3 but no Admin rights in phpBB
« Reply #6 on: July 23, 2004, 11:31:51 pm »

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.
Logged
Pages: [1]   Go Up
 

Page created in 0.017 seconds with 15 queries.