coppermine-gallery.com/forum

Support => cpg1.3.x Support => Older/other versions => cpg1.3 (BBS) Integration / Bridging => Topic started by: psyon on April 30, 2005, 04:24:55 AM

Title: PHPbb Integration Registered Users Permission Problem
Post by: psyon on April 30, 2005, 04:24:55 AM
Sorry for my only post being a plea for help but i am really lost off.
Basically whats happened is that i've (think) integrated everything sucessfully.
Users can login via the forum and they log into the gallery, the '[logout]Username' message appears at the top. Everything is great. However existing users despite logging in cannot upload, the 'You Have Permissions To No Albums' (paraphrased) message is diplayed. Naturally I'd assume all user information would be copied over into Coppermine's 'Registered users group' however this is not the case.

If i add users to a group in phpBB then Coppermine identifys the group, permissions can be assigned and everything works fine. But for normal 'ungrouped' registered users on the forums this is not the case. It would be rather tedious to get every user who signs up on the board also to join a group as well just to access the forums.

What could possibly be wrong? or are default registered users on the forums not transfered over to the, what i would like is, you sign up on the forums, you can post on forums (naturally) and in coppermine without joining a seperate group (ie. GalleryUsers).

I can post SQL information if that helps but i've had a look over and it appears that bar the administrator no other user is in the Coppermine table, just the phpBB, so it obviously doesn't read from Coppermine.

I sincerely apperciate any advice
Thanks
Title: Re: PHPbb Integration Registered Users Permission Problem
Post by: Nibbler on April 30, 2005, 02:50:46 PM
Everyone on the forums should be in the registered group in coppermine. Login as an affected user with debug mode enabled, and see what the groups displayed in the debug output are.
Title: Re: PHPbb Integration Registered Users Permission Problem
Post by: psyon on April 30, 2005, 09:32:07 PM
The User Info is as follows:

==========================
USER DATA:
------------------
Array
(
    [0] => 9
    [user_id] => 9
    [1] => test
    [user_name] => test
    [2] => 0
    [user_level] => 0
    [groups] => Array
        (
            [0] => 2
        )

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

... as far as i can tell everything seems to be in order.. the 'test' account is in members.

A funny thing that puts me off thinking that its not an error but something that i've overlooked is that I can create (under the test account , a private gallery) and upload into the users OWN gallery that I create. Test user can also see every album, the problem is he can't upload into it. Even when I set the permissions for the album to only be viewed by Members, the account can view it (which it wouldn't if the group wasn't being recognised).

I know its something i've messed up but i can't figure out what : ???
Title: Re: PHPbb Integration Registered Users Permission Problem
Post by: psyon on April 30, 2005, 10:37:39 PM
 :-\\
....... ok i think i've found the problem.. i had the option "Allow Vistors to upload" set to No, I'd mistakingly interpreted 'Visitors' to mean 'Guests' (ie. unregistered). Everything appears to ok now, if someone could just verfiy that this is indeed what is meant by visitors i'll be on my merry way to rejoining the board under a different name to avoid embarressment lol  ::)
Title: Re: PHPbb Integration Registered Users Permission Problem
Post by: Nibbler on May 01, 2005, 06:18:29 PM
Yes, visitors means anyone who visits the album. You would set group based upload permissions in the groups page.