Advanced search  

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

Pages: [1]   Go Down

Author Topic: phpBB3 + CPG, no admin in cpg  (Read 5403 times)

0 Members and 1 Guest are viewing this topic.

Twizted

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
phpBB3 + CPG, no admin in cpg
« 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!
Logged

Nibbler

  • Guest
Re: phpBB3 + CPG, no admin in cpg
« Reply #1 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.
Logged

Twizted

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Re: phpBB3 + CPG, no admin in cpg
« Reply #2 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 :)
Logged

phill104

  • Administrator
  • Coppermine addict
  • *****
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 4885
    • Windsurf.me
Re: phpBB3 + CPG, no admin in cpg
« Reply #3 on: June 13, 2009, 08:36:02 pm »

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

Twizted

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Re: phpBB3 + CPG, no admin in cpg
« Reply #4 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.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Logged
Pages: [1]   Go Up
 

Page created in 0.016 seconds with 19 queries.