Moderators for Album pictures - Page 3 Moderators for Album pictures - Page 3
 

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

Moderators for Album pictures

Started by Abbas Ali, January 09, 2006, 09:01:58 AM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

Mr_Hat

Hi Abbas,

I've installed the mod editing manually all the files 'cause some of that files was modified by other mods...it seems to work but when I log in with the account of a user of the group that I've chosen to be moderator and I click to "Modify File" (I suppose that it's the translation in English of the Italian sentence that I read) the gallery says that I don't have the rights to access to that page...Am I making a mistake of the rights to set to the specified group? I've already enabled "Allow users to retain control over their pics in public galleries"...

ps: Thanks for the mod, it's exactly what I'm searching of....!  :D

Bye!

Abbas Ali

I forgot to mark one of the modified lines with ###### and since you applied the mod manually you didn't knew that.

In editpics.php

Replace


        if ($cat != FIRST_USER_CAT + USER_ID && !GALLERY_ADMIN_MODE) cpg_die(ERROR, $lang_errors['perm_denied'], __FILE__, __LINE__);


with


        if ($cat != FIRST_USER_CAT + USER_ID && !GALLERY_ADMIN_MODE && !MODERATOR_EDIT_MODE) cpg_die(ERROR, $lang_errors['perm_denied'], __FILE__, __LINE__);


This should solve your problem.


Abbas
Chief Geek at Ranium Systems

Mr_Hat

Thanks! Now it seems to work....thanks a lot!

zammers

Where do I download the zip file for this MOD?

Also is there an install script which will run the SQL Query? It is easier than trying to figure out the phpmyadmin thing

Sami

This is mod , it means you need to apply it manually.
zip files are attache to first (initial) post
‍I don't answer to PM with support question
Please post your issue to related board

zammers

Thanks - I didn't see the little attachment links at the beginning of the post. I was able to get the mod installed and LOVE IT... I hope this functionality is included in future releases

Sami

It's under ToDo List for feature version (1.5)
‍I don't answer to PM with support question
Please post your issue to related board

Stifler

Would it be possible to add a link to edit that specific image, next to the link "delete".
Just like an admin.

TapeWurm

Hello and thanks for the mod I've been needing forever!
But with the query, it sayd that cpgPrefix_albums doesn't exist. I can't find it anywhere. Coppermine claims I'm running 1.4.x so can you think of anything else that might be going on?
Thanks in advance!

zammers

change the part that say prefix to be whatever your coppermine is

mine was cpg143_albums

jans

Hi,

Is it possible anyhow to allow an album moderator or any other user / group to change file or picture properties?

I'd like to make a batch upload to a public album (mainly because a regular user cannot do a batch upload. :) but I'd like my co-workers to describe the files on my behalf. Currently only the original file owner seems to have permission to define keywords, set-up a titile or description. For obvious reasons, I don't want others to use my own account and password, especially, that I have administrator priviledges. :)

Thank you very much for your help in advance,

Best regards,

(js).
--
Regrads,

(js).

macekztrade


Abbas Ali

Quote from: jans on October 21, 2006, 11:45:48 PM
Is it possible anyhow to allow an album moderator or any other user / group to change file or picture properties?

This is exactly what the mod does. It allows the moderators to edit the files/pictures of the album to which the moderator is granted the permission.
Chief Geek at Ranium Systems

Stifler

Will this mod work with the latest version?

Joachim Müller

Thread is marked as being for cpg1.4.x, which means "any version from cpg1.4.0 to cpg1.4.10". So yes, it should work. Why don't you try and give us feedback if you succeeded?

Daft

I tried this and while its a great mod it leaves a little to be desired for the purposes I intend to use it for.

What I am trying to do is make moderators for help with approving user uploads once our traffic ramps up I basically want them to be able to do anything i can do as an admin with exception to viewing or changing server information or settings. Not that I dont trust my moderators but as they say *it happens so I'd like to have them not worry about messing things up as well.

in short i want them to be able to approve uploads in all categories (including user albums), Move filesfrom public albums to private and vice versa

Abbas Ali

This mod works per album basis. If you want to allow moderators to manage all the categories then you will have to edit each album and assign a moderator group to them. Apart from approving/editing/deleting pics moderators cannot do anything else as far as this mod is concerned.
Chief Geek at Ranium Systems

Daft

Ok well like I said it is close. is there a way to make the moderator group automatically gain control over new non-public albums?

I know im a tiny bit off topic but this is the closest thing to a eureka i've found (and i <3 CPG's look)

Abbas Ali

Yes this can be done by modifying the query where a new album is created and insert the moderator group id along with album details in database. The script which needs to be modified is delete.php.
Chief Geek at Ranium Systems

Daft

hmmm im not quite sure of what I am looking for here i have delete.php open do you know a keyphrase for that section?

Also wondering what the format of my modification would be.