Hey everyone !
I'm still investigating my problem regarding usergroups in Coppermine... For the ones who don't remember what my issue is here's a summary :
- I have a PhpBB board where I'm the only admin
- I've installed and integrated Coppermine to PhpBB (and I need the two of them to work together), so far so good, it all works like a charm
- Since I'm the only admin in PHPBB I'm the only one who can upload in coppermine
- Because I need *some* other PhpBB *members* (not admins or mods) to be able to upload in coppermine, I created a new usergroup in PHPBB that I called "uploaders" and added the members I needed to upload.
- Back in Coppermine, when I check my usergroups, it imported my usergroup "uploaders" perfectly well. Which means people from "uploaders" group should be able to upload. But they are not.
I've been trying to find a cause to that, but I'm no PHP expert (I'm even the contrary). After a lot of tweaks and all, I've came to the conclusion that MAYBE Coppermine does not fetch a user's usergroup when it checks the user info.
My question is quite simple for the php gurus out there : I would like to check that, in a very simple way : how do I display, in profile.php for example, my usergroup ?
Right now I have
Username
Joined
Location
Interests
Home page
Occupation
and the last comment posted.
I would like to display "Member of" with the list of groups I'm a member of. This should help me find out if the usergroups are correctly fetched or not, what do you think ?
I'd also like to check this is working on index.php (still in coppermine), where I have this link : "Logout [mels] ". How do I display "Logout [mels + usergroup] " instead ?
Thanks in advance for your help! I'm almost sure these questions are easy and might seem stupid... but I'm willing to get rid of this bug all phpbb users seem to have, and I don't have the necessary knowledge to do it on my own... so I guess I need your help !
Take care,
Mels