coppermine-gallery.com/forum

Support => cpg1.3.x Support => Older/other versions => cpg1.3 (BBS) Integration / Bridging => Topic started by: yeroen on July 29, 2004, 03:20:40 PM

Title: Used bridge on 1.31 and phpbb, but no admin on login
Post by: yeroen on July 29, 2004, 03:20:40 PM
Hi,

I installed the copeprminebridge for phpbb, but I don't have adminrights. Is there a way, to change the admin_id within cpg's code, instead of the user-database?(admin has to remain user_id 2)
great, tnx...

yeroen
Title: Re: Used bridge on 1.31 and phpbb, but no admin on login
Post by: Nibbler on July 29, 2004, 04:20:16 PM
Change ($USER_DATA['user_level'] == 1) to ($USER_DATA['user_level'] == 2) in 2 places. Might be more to it than that though.
Title: Re: Used bridge on 1.31 and phpbb, but no admin on login
Post by: yeroen on July 29, 2004, 10:09:07 PM
tnx for your advice,

u'll take a look at those lines.

greetz,

yeroen
Title: Re: Used bridge on 1.31 and phpbb, but no admin on login
Post by: yeroen on July 31, 2004, 04:34:56 PM
Hm,

I made some adjustments in includes/init.inc.php which made me admin, but everyone else with it  ;D
Anyway, I'll find it. tnx :)