Coppermine not recognising phpBB user list Coppermine not recognising phpBB user list
 

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

Coppermine not recognising phpBB user list

Started by Mr Tee, August 08, 2006, 11:28:02 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Mr Tee

I have the following issue when trying to bridge coppermine and phpBB2.0.21:
Whilst the bridge is enabled and I click on users I am shown the coppermine user list, I understand I should see the phpBB user list. This means that the phpBB groups are not recognised, therefore when someone from our Full Members group uploads an image it has to be admin authorised, because the member is recognised only as registered (set to authorise)

Coppermine install: http://thestudio-online.co.uk/gallery/
Forum install: http://thestudio-online.co.uk/
Coppermine version: cpg1.4.8
Forum version: phpBB 2.0.21
Test user account: testaccount/ test2

BridgeManager settings:
Forum URL:  http://www.thestudio-online.co.uk
Relative path to your BBS's config file:  ..// 
Use post-based groups?:  1 

I have just transferred my site to a new host. Everything else seems to work fine. This was working OK on the last host.

Thanks

Nibbler

Make sure you have the correct permissions set on your groups page. Being able to see the memberlist while bridged is not a problem but a feature.

Mr Tee

All permissions are set correctly. I ran the debug whilst uploading and it is showing the member as registered and not full member. I was under the impression that once the bridge was enabled, you were shown the BB user list not the coppermine one? obviously I have read that wrong.


Nibbler

Can you re-enable debug mode and post what group the test account is from or post the output when logged in as a 'full member'. Also please confirm that you have post based groups enabled.

Mr Tee

The test account is a full member, yes post based groups is enabled. I dissabled it and it reverted to the coppermine groups, so that works, I have no enabled again. This is the output when I try to upload

USER:
------------------
Array
(
    [ID] => f44604076003a5fd2c18a1262b26fa98
    [am] => 1
    [lang] => english
    [liv] => Array
        (
           
  • => 3504
                [1] => 3336
            )

    )

    ==========================
    USER DATA:
    ------------------
    Array
    (
        [user_id] => 325
        [user_name] => testaccount
        [groups] => Array
            (
               
  • => 2
                [1] => 311
            )

        [disk_max] => 1024
        [disk_min] => 0
        [can_rate_pictures] => 1
        [can_send_ecards] => 1
        [ufc_max] => 3
        [ufc_min] => 3
        [custom_user_upload] => 0
        [num_file_upload] => 5
        [num_URI_upload] => 3
        [can_post_comments] => 1
        [can_upload_pictures] => 1
        [can_create_albums] => 1
        [has_admin_access] => 0
        [pub_upl_need_approval] => 1
        [priv_upl_need_approval] => 0
        [group_name] => Registered
        [upload_form_config] => 3
        [group_quota] => 0
        [can_see_all_albums] => 0
        [group_id] => 2
    )

    ==========================
    Queries:
    ------------------
    Array
    (
       
  • => SELECT extension, mime, content, player FROM cpg133_filetypes; (0.001s)
        [1] => select * from cpg133_plugins order by priority asc; (0s)
        [2] => SELECT * FROM cpg133_bridge (0.001s)
        [3] => SELECT u.user_id AS user_id, u.user_password AS password, u.user_level FROM `db173133074`.forum_users AS u, `db173133074`.forum_sessions AS s WHERE u.user_id=s.session_user_id AND s.session_id = 'c5d783a18f6b13acf8271c9878bfee78' AND u.user_id > 0 (0.001s)
        [4] => SELECT u.user_id AS id, u.username AS username, u.user_password AS password, ug.group_id AS group_id FROM `db173133074`.forum_users AS u, `db173133074`.forum_user_group AS ug WHERE u.user_id=ug.user_id AND u.user_id='325' (0s)
        [5] => SELECT ug.group_id+100 AS group_id FROM `db173133074`.forum_users AS u, `db173133074`.forum_user_group AS ug, `db173133074`.forum_groups as g WHERE u.user_id=ug.user_id AND u.user_id='325' AND g.group_id = ug.group_id AND  group_single_user = 0 (0s)
        [6] => SELECT MAX(group_quota) as disk_max, MIN(group_quota) as disk_min, MAX(can_rate_pictures) as can_rate_pictures, MAX(can_send_ecards) as can_send_ecards, MAX(upload_form_config) as ufc_max, MIN(upload_form_config) as ufc_min, MAX(custom_user_upload) as custom_user_upload, MAX(num_file_upload) as num_file_upload, MAX(num_URI_upload) as num_URI_upload, MAX(can_post_comments) as can_post_comments, MAX(can_upload_pictures) as can_upload_pictures, MAX(can_create_albums) as can_create_albums, MAX(has_admin_access) as has_admin_access, MIN(pub_upl_need_approval) as pub_upl_need_approval, MIN( priv_upl_need_approval) as  priv_upl_need_approval FROM cpg133_usergroups WHERE group_id in (2,311) (0.001s)
        [7] => SELECT group_name FROM  cpg133_usergroups WHERE group_id= 2 (0s)
        [8] => SELECT user_favpics FROM cpg133_favpics WHERE user_id = 325 (0.001s)
        [9] => SHOW TABLES LIKE 'cpg133_cms_config' (0.001s)
        [10] => SELECT * FROM cpg133_cms_config (0.001s)
        [11] => DELETE FROM cpg133_banned WHERE expiry < '2006-08-08 22:15:35' (0.001s)
        [12] => SELECT * FROM cpg133_banned WHERE (ip_addr='82.12.190.90' OR ip_addr='82.12.190.90' OR user_id=325) AND brute_force=0 (0s)
        [13] => SELECT aid FROM cpg133_albums WHERE visibility != '0' AND visibility !='10325' AND visibility NOT IN (2,311) (0s)
        [14] => SELECT aid, title FROM cpg133_albums WHERE category < 10000 AND uploads='YES' AND (visibility = '0' OR visibility IN (2,311)) ORDER BY title (0s)
        [15] => SELECT aid, title FROM cpg133_albums WHERE category='10325' ORDER BY title (0s)
        [16] => DELETE FROM cpg133_temp_data WHERE timestamp < 1155071735 (0.001s)
        [17] => SELECT COUNT(*) FROM cpg133_pictures WHERE approved = 'NO' (0s)
    )

    ==========================
    GET :
    ------------------
    Array
    (
    )

    ==========================
    POST :
    ------------------
    Array
    (
    )

    ==========================
    Page generated in 0.172 seconds - 18 queries in 0.009 seconds - Album set : AND aid NOT IN (104,106,107,108,112,114,115,117,121,127,201,203) ; Meta set: ;

Nibbler

The bridge is recognising that the test user is in both the registered and full member groups and should be giving you the best permissions of both groups. Please post a screenshot of your groups page.

Mr Tee


Nibbler

You have public upload approval enabled for both the full members group and for the registered group. If you don't want to have to approve uploads then set upload approval to 'No'.

Mr Tee


Mr Tee

OK, I seem to have hit the right combination. I need approval for the public albums but not for private. I can see now that as long as the full member group permissions are better than the registered, it works as I need it.

Thanks very much for the help, back to normal now.

Evol

Mr Tee could u point me to a page where I can download the bridge u've been using for phpBB 2.0.21 and cpg1.4.8? thanks

Nibbler

It's a part of Coppermine, you don't need to download anything extra.