cpg1.6.03 php7.1.7 phpbb3 bridge issue - no Admin Controls cpg1.6.03 php7.1.7 phpbb3 bridge issue - no Admin Controls
 

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

cpg1.6.03 php7.1.7 phpbb3 bridge issue - no Admin Controls

Started by sjj1805, August 15, 2017, 01:51:24 AM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

sjj1805

To Test cpg 1.6 I created a new installation alongside my existing one.
My Existing install of cpg 1.5.18 is bridged with my PHPBB 3.2.1 and cpg is located at C:\inetpub\wwwroot\forum
My Clean install of cpg 1.6.03 is located at C:\inetpub\wwwroot\bmark - This has its own dedicated Mysqli Database and so is seperate from the 1.5 installation.

I have no problems with Admin Controls on the original 1.5 installation.
However - If I do NOT use bridging and log into 1.6 as an Administrator I can see the Admin controls, There is an option under "My Gallery" To Hide Admin Controls, though I have not opted to do so.
If I then use the bridging option, if I log in with the same Admin user as before, I no longer have the Admin Controls. There are no options listed under "My Gallery"
The username and password in PHPBB3 and also CPG are identical.
Having activated the bridging method, the only way I can revert to it no longer being bridged is via PhpMyAdmin and manually editing the config table.

Anyone else having this problem?

Αndré

Quote from: sjj1805 on August 15, 2017, 01:51:24 AM
if I log in with the same Admin user as before

Actually it's not the same user, even if it's the same username and password in phpBB and Coppermine. If your gallery is bridged, you log in with your phpBB user. You need to check which group(s) that user belongs to in phpBB and verify if a group has admin privileges in Coppermine:
Code (bridge/phpbb3.inc.php) Select
$this->admingroups = $BRIDGE['admingroups_phpbb3'] ? explode(',', $BRIDGE['admingroups_phpbb3']) : array(5);

sjj1805

Finally Solved it. Yes it was to do with the bridging groups, I think what threw me was the fact it had all been working for several years.
I had to modify phpbb3.inc.php in the "Bridge" Sub-folder as per the following:

Go to your forum, log into AdminCP; click on the tab "Users and Groups" and go to "Manage groups". you'll see all your forum groups now and next to them 3 links (Settings/Members/Delete); click on "Settings" next to the group you want to give portal admin permissions. now take a look at the address line, which should similarly to this: http://yourdomain.com/phpbb3/adm/index.php?i=groups&sid=[randomnumbersandletters]&icat=12&mode=manage&action=edit&g=64 In our example above, the group's ID is 64;

Αndré