phpBB3 + CPG, no admin in cpg phpBB3 + CPG, no admin in cpg
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

phpBB3 + CPG, no admin in cpg

Started by Twizted, June 06, 2009, 05:46:43 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Twizted

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

$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

$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!

Nibbler

You didn't say if you use post based groups or not. That patch will only help if you have that enabled.

Twizted

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 :)

phill104

Is this fixed then? If so, can you mark your thread as solved please?
It is a mistake to think you can solve any major problems just with potatoes.

Twizted

Nibbler's post pretty much solved the issue I had. So yes, I would consider this solved.

Thanks again Nibbler.

Joachim Müller