Support > cpg1.5 bridging

Assigning groups permissions to delete pictures

<< < (2/4) > >>

Αndré:
That's not possible in cpg1.5.x. Please search our board for "moderator mode" for more information. It's a feature that has been added during the development of cpg1.5.x, but has been disabled for certain reasons. Might be possible to re-activate it or create a custom mod to achieve what you need.

DavidSpivey:
Well, that stinks. :(
Oh well.

DavidSpivey:
Now that I have had some time to work with Coppermine in bridge mode, I find that I also cannot give user groups besides administrators the permissions to edit their own photos tags and so forth.

I need to make an official request that this feature be enabled in the future versions. After all, having the administrators delete every unexpected duplicate upload, or add tags to all the user's files is an inefficient use of administrators' time.

DavidSpivey:
I have not understood many of the posts regarding moderator mode that I have read. Is there a simple way to give the GLOBAL_MODERATORS group administrator status? What code should I change to do this?

Αndré:

--- Quote from: DavidSpivey on October 01, 2015, 11:21:48 pm ---Is there a simple way to give the GLOBAL_MODERATORS group administrator status? What code should I change to do this?

--- End quote ---

Open bridge/phpbb3.inc.php, find

--- Code: ---$this->admingroups = $BRIDGE['admingroups_phpbb3'] ? explode(',', $BRIDGE['admingroups_phpbb3']) : array(5); // workaround - store admin and guest group IDs in bridge database in cpg1.6.x
--- End code ---
and add your global moderators group ID to the array, like this:

--- Code: ---$this->admingroups = $BRIDGE['admingroups_phpbb3'] ? explode(',', $BRIDGE['admingroups_phpbb3']) : array(5, 123); // workaround - store admin and guest group IDs in bridge database in cpg1.6.x
--- End code ---

You'll need to re-apply the above mod after each Coppermine upgrade. If you don't like that, you can also store the admin groups in Coppermine's bridge table, as explained here: http://forum.coppermine-gallery.net/index.php/topic,77383.msg375239.html#msg375239

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version