Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: 1 2 [3] 4 5 6 7 ... 11   Go Down

Author Topic: Moderators for Album pictures  (Read 158592 times)

0 Members and 1 Guest are viewing this topic.

Mr_Hat

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Re: Moderators for Album pictures
« Reply #40 on: August 28, 2006, 02:42:23 pm »

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!
Logged

Abbas Ali

  • Administrator
  • Coppermine addict
  • *****
  • Country: in
  • Offline Offline
  • Gender: Male
  • Posts: 2165
  • Spread the PHP Web
    • Ranium Systems
Re: Moderators for Album pictures
« Reply #41 on: August 29, 2006, 08:04:07 am »

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

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

with

Code: [Select]
        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
Logged
Chief Geek at Ranium Systems

Mr_Hat

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Re: Moderators for Album pictures
« Reply #42 on: August 29, 2006, 08:44:20 pm »

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

zammers

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
Re: Moderators for Album pictures
« Reply #43 on: October 12, 2006, 03:51:28 pm »

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
Logged

Sami

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 3686
  • BMossavari
    • My Project
Re: Moderators for Album pictures
« Reply #44 on: October 12, 2006, 04:12:58 pm »

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

zammers

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
Re: Moderators for Album pictures
« Reply #45 on: October 12, 2006, 05:20:05 pm »

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
Logged

Sami

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 3686
  • BMossavari
    • My Project
Re: Moderators for Album pictures
« Reply #46 on: October 12, 2006, 05:32:36 pm »

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

Stifler

  • Coppermine newbie
  • Offline Offline
  • Posts: 10
Re: Moderators for Album pictures
« Reply #47 on: October 15, 2006, 06:59:11 pm »

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

TapeWurm

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Re: Moderators for Album pictures
« Reply #48 on: October 17, 2006, 07:59:29 pm »

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!
Logged

zammers

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
Re: Moderators for Album pictures
« Reply #49 on: October 17, 2006, 10:15:10 pm »

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

mine was cpg143_albums
Logged

jans

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 2
Re: Moderators for Album pictures
« Reply #50 on: October 21, 2006, 11:45:48 pm »

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).
Logged
--
Regrads,

(js).

macekztrade

  • Coppermine newbie
  • Offline Offline
  • Posts: 1
Re: Moderators for Album pictures
« Reply #51 on: October 30, 2006, 05:43:32 pm »

Hi!
I´m offering this mod for version 1.4.10

http://www.divadlo.mezimesti.cz/moderator1.1.zip
Logged

Abbas Ali

  • Administrator
  • Coppermine addict
  • *****
  • Country: in
  • Offline Offline
  • Gender: Male
  • Posts: 2165
  • Spread the PHP Web
    • Ranium Systems
Re: Moderators for Album pictures
« Reply #52 on: November 02, 2006, 08:03:40 am »

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.
Logged
Chief Geek at Ranium Systems

Stifler

  • Coppermine newbie
  • Offline Offline
  • Posts: 10
Re: Moderators for Album pictures
« Reply #53 on: November 05, 2006, 02:41:34 am »

Will this mod work with the latest version?
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Moderators for Album pictures
« Reply #54 on: November 06, 2006, 07:08:26 am »

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?
Logged

Daft

  • Coppermine newbie
  • Offline Offline
  • Posts: 11
Re: Moderators for Album pictures
« Reply #55 on: November 15, 2006, 03:01:25 am »

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
Logged

Abbas Ali

  • Administrator
  • Coppermine addict
  • *****
  • Country: in
  • Offline Offline
  • Gender: Male
  • Posts: 2165
  • Spread the PHP Web
    • Ranium Systems
Re: Moderators for Album pictures
« Reply #56 on: November 15, 2006, 06:03:50 am »

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.
Logged
Chief Geek at Ranium Systems

Daft

  • Coppermine newbie
  • Offline Offline
  • Posts: 11
Re: Moderators for Album pictures
« Reply #57 on: November 15, 2006, 07:59:07 am »

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)
Logged

Abbas Ali

  • Administrator
  • Coppermine addict
  • *****
  • Country: in
  • Offline Offline
  • Gender: Male
  • Posts: 2165
  • Spread the PHP Web
    • Ranium Systems
Re: Moderators for Album pictures
« Reply #58 on: November 15, 2006, 08:13:21 am »

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.
Logged
Chief Geek at Ranium Systems

Daft

  • Coppermine newbie
  • Offline Offline
  • Posts: 11
Re: Moderators for Album pictures
« Reply #59 on: November 15, 2006, 10:43:28 am »

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.
Logged
Pages: 1 2 [3] 4 5 6 7 ... 11   Go Up
 

Page created in 0.024 seconds with 20 queries.