Hi,
Some time ago I've upgraded phpBB to 2.0.18 and CPG to 1.4.2 (and later to 1.4.3).
Before the upgrade everything worked just fine for a long time, but since the upgrade I just can't CPG to work correctly. With my own knowledge of CPG internals and help from other developers, I managed to fix most problems - except this one:
CPG reads the groups from phpBB correctly. As I manage users/groups in phpBB, I only give CPG permissions to the imported groups, and disable all permissions of the default "Registered" group.
However CPG ignores user assignment to groups in phpBB, and instead lists the users as belonging to CPG's default "Registered" group. So my users don't have any permissions, and I can't find any way to convice CPG that the users belong to anything but the default "Registered" group.
An interesting anecdote - there are several (5 or so) users which CPG does read correctly. I can't see anything special about those users.
Of course I downloaded andinstalled the most recent bridge files, but to no avail. I also verified that CPG's user table is empty (except for the default admin account), so I'm certain that CPG reads the user list from phpBB.
Any ideas?
Thanks,
EZ.
Hello
Im having the same problem cpg 1.4.3 and phpBB 2.0.19
If a user joins a group though the join group and admin approves it every thing works great
but if the admin adds a user to a group though the ACP it does not tranfer to the cpg usergroup
Please help
Shawn
PicturePlex
Same here...
Can someone provide step by step instructions to replicate this issue ?
Im running phpBB 2.0.19 and cpg 1.4.3
If a user registers at my site then clicks on user groups..it displays the user groups available in the phpBB
The user clicks on join Podcaster group and the admin approves them to join the group
that user is add to the Podcaster group in cpg user groups correctly giving that user the assigned permissions
Work like a charm
*NOTE* my setup requires admin approval to join groups
But if the Admin goes into the phpBB Admin Control Panel...selects the user and adds them to the Podcaster Group from there
the user is not added to the Podcaster Group in the cpg and the user is still just a registered member but shows up in the phpBB Podcaster Group
Hope thats a little more helpful
Shawn
PicturePlex
I don't know how to add users to groups using the admin control panel. Please elaborate.
Nibbler -
Regardless of how exactly users are assigned to groups in phpBB, is there any reason that CPG ignores the grouping?
Thanks,
EZ.
It works perfectly for me, that's why I need to know how to replicate your problem.
ooohhh i see my problem ....im using the Admin Userlist MOD in phpbb to add the users to the group
from there its not working but from the default usergroup page in phpBB if i add a user it does work
Thanks for the look guys
Shawn
PicturePlex
edit that:
If the user has no uploads you can chan the group but if the user has already uploaded it is not changing their group in cpg
instead of group editing is there a mod for cpg 1.4.3 that allows the admin to change the user settings individually...permissions, quota, ect
shawn
PicturePlex
Nope, please try not to drift off-topic.
Nibbler -
I can give you full admin access to phpBB / CPG on my site, if that'll help.
If you want it, just PM/email me and I'll email you the username/password.
EZ.
I accidentally posted a new thread, but I'm having the same problem with 2.0.15. My membergroups are not reflected in CPG; everyone is "registered". I'm not using any mods to put people in groups either. Hope someone can figure this out since I can't go live without member distinctions.
Added: I learned something which should help the debug. I made two test accounts, one of them in a certain membergroup and one not. In CPG, being in the membergroup allows a personal gallery. Sure enough, the user in the group was allowed a private gallery and the other not. Problem is, when looking at the user list in CPG, they are both listed only as "registered" with the associated quota.
In the docs somewhere it says that when bridging is used, clicking the "users" button as admin will take you to the forums user admin page instead of CPG's. This isn't the case right now for me. Is that part of the problem?
Quote from: Nibbler on January 29, 2006, 08:48:14 PM
It works perfectly for me, that's why I need to know how to replicate your problem.
Nibbler -
Did you see my suggestion above?
EZ
Anyone with problems with the user manager display, try the attached bridge files.
It doesn't seem to have done anything for me. Do I just overwrite the old files, or do I also need to do something?
I didn't make a pre 2.0.18 version, sorry.
Bummer. I'm putting off upgrading because I have a lot of hand coded mods to 2.0.15.
If you take the get_users() function from the new php2018.inc.php into your bridge file it would probably work fine.
Awesome, it looks like it's working. Thanks! ;D
Quote from: Nibbler on February 10, 2006, 05:24:47 PM
Anyone with problems with the user manager display, try the attached bridge files.
I installed the given files, and the situation has improved but the problem is not entirely solved. Details:
Now users are listed (in CPG) as belonging to the correct (phpBB) group. Also users in groups with permissions for personal galleries, can access the menus for managing their albums.
However they still don't get "Upload File" link in their menu! So they can create albums and manage existing files in albums, but they can't upload any new file into their albums.
Only if I give the group permissions for public upload do they get an upload link, however I don't want anyone to upload files into public galleries. So it seems that another piece is missing in the puzzle.
As I've suggested before, if you need full admin access to my site I'll be glad to offer it.
EZ.
This is a configuration issue unrelated to bridging. You need to enable the option 'Public albums upload' to allow any uploads anywhere anyhow. It is the same as the option 'Can upload files' in cpg 1.3. If you don't want uploads into public albums then you block that in album properties.
I tried the new bridge file that you posted and on mine the groups are still not showing up. I have cpg1.4.3 and phpbb 2.0.19
Nibbler -
Thanks, for the updated bridge files and explanation.
phpBB groups are now recognized by CPG.
Regards,
EZ.
Now finally my bridging works too. Used the very latest bridge files and substituted the function get_users() with the one from Nibblers custom file.
There remains but one problem for me. My phpBB admin has user_id 7 and not 2. I took over the administration from the former admin who is now just a normal user. He has user_id 2 and I have user_id 7. Any way to make the function get_users() work for me? Cause now he is admin in CPG and I am not.
Thanks.