forum.coppermine-gallery.net

Support => cpg1.4.x Support => Older/other versions => cpg1.4 bridging => Topic started by: Twizted on June 06, 2009, 05:46:43 am

Title: phpBB3 + CPG, no admin in cpg
Post by: Twizted on June 06, 2009, 05:46:43 am
I have the following issue when trying to bridge coppermine and phpBB3:

I am trying to use the bridge by nibbler located here http://forum.coppermine-gallery.net/index.php/topic,53678.0.html

The bridge actually works well for the most part but the issue I am running into is admin access. On our board we have staff that handle different aspects of the site and organization (we are a LAN party organization) and we are using CPG only for our gallery of pictures from LAN parties and not for others to upload. As such we have only a few people on staff who have the responsibility to post the new pictures. So after reading through the original post for the bridge several times with no luck, applying the patch file that someone contributed at the end of that thread (http://forum.coppermine-gallery.net/index.php/topic,53678.40.html) and also update the phpbb3.inc.php changing

Code: [Select]
$this->admingroups = array(5);
to the proper group for the group I created. The problem is that the group that I am setting in the above line is not the users default group which is why it is not working. The patch I mentioned above was suppose to fix this but it did not work. Basically we do not want to set those users default group to "Gallery Uploader" and we would prefer to just keep all staff as "Staff" for their default group. I need help to get past this issue if possible. Thank you.

Coppermine install: http://www.awollan.com/gallery
Forum install: http://www.awollan.com
Coppermine version: cpg1.4.24
Forum version: phpBB 3.0.4
Test user account: testaccount / testaccount

Code: [Select]
$default_bridge_data['phpbb3'] = array(
  'full_name' => 'phpBB version 3',
  'short_name' => 'phpbb3',
  'support_url' => 'http://www.phpbb.com/',
  'full_forum_url_default' => 'http://www.awollan.com',
  'full_forum_url_used' => 'mandatory,not_empty,no_trailing_slash',
  'relative_path_to_config_file_default' => '../',
  'relative_path_to_config_file_used' => 'lookfor,config.php',
  'use_post_based_groups_default' => '0',
  'use_post_based_groups_used' => 'radio,1,0',
   'cookie_prefix_default' => '',
   'cookie_prefix_used' => 'phpbb3_kq54z',
);

I hope this is posted correctly. If not I will fix it right away just let me know. Thanks again!
Title: Re: phpBB3 + CPG, no admin in cpg
Post by: Nibbler on June 08, 2009, 04:02:44 pm
You didn't say if you use post based groups or not. That patch will only help if you have that enabled.
Title: Re: phpBB3 + CPG, no admin in cpg
Post by: Twizted on June 08, 2009, 04:49:46 pm
Ah, my apologies.

I was not using Post Based Groups. I honestly never thought to enable that as part of my own troubleshooting.

Thank you :)
Title: Re: phpBB3 + CPG, no admin in cpg
Post by: phill104 on June 13, 2009, 08:36:02 pm
Is this fixed then? If so, can you mark your thread as solved please?
Title: Re: phpBB3 + CPG, no admin in cpg
Post by: Twizted on June 14, 2009, 10:24:47 am
Nibbler's post pretty much solved the issue I had. So yes, I would consider this solved.

Thanks again Nibbler.
Title: Re: phpBB3 + CPG, no admin in cpg
Post by: Joachim Müller on June 14, 2009, 10:34:26 am
If so, can you mark your thread as solved please?
http://forum.coppermine-gallery.net/index.php/topic,55415.msg270631.html#msg270631