Announcement

#1 2012-09-08 00:06:20

deljones
Member
2012-09-06
59

Users deleting their own pictures

Hi

Only been using this wonderful app for 24 hours. Im doing ok with some great help here on the forums.

Here is my latest issue.

Im running the latest piwigo with Simple grey theme. I have two users who when they log in can see their own albums to which they can view and upload. All good. However what they cant seem to do is delete their own pictures.

I have installed community which is all good. I found on the forums an extension called Icy which is supposed to help do just that. When I activate it the "upload photo" is removed from the users log in and I cant find any configuration or details for Icy, If I deactivate Icy "Upload Photos" returns... Have  missed something?

Can anyone help?


Regards

Del jones

Offline

 

#2 2012-09-08 00:13:40

mistic100
Former Piwigo Team
Lyon (FR)
2008-09-27
3277

Re: Users deleting their own pictures

Offline

 

#3 2012-09-08 00:21:20

deljones
Member
2012-09-06
59

Re: Users deleting their own pictures

Er yes I did read this but before posting but it didnt really help...

I installed the" ICY Modify picture"s but i cant see it anywhere. It is not in the plugins list when activated.

As for  'modify picture'-button' When my users log in they do not see this anywhere when ICY is activated.

Deljones

Offline

 

Notice: Undefined offset: 5 in /var/www/piwigo.org/forum/include/parser.php on line 551

#4 2012-09-08 00:27:52

mistic100
Former Piwigo Team
Lyon (FR)
2008-09-27
3277

Re: Users deleting their own pictures

Icy's plugin is kind hard of use because it doesn't use common interface
I never used it but I know the full doc is available on github
https://github.com/icy/icy_picture_modi … /README.md
and it uses a custom syntax for configuration file [Github] icy_picture_modify file README.md">https://github.com/icy/icy_picture_modi … /README.md
and it uses a custom syntax for configuration file

Offline

 

#5 2012-09-08 00:31:46

deljones
Member
2012-09-06
59

Re: Users deleting their own pictures

Thanks for your response.....

That all looks a bit to complicated for me right now, getting covered in too much grease there...!

I was hoping that there would be an easier way. Oh well....


Thanks again

D

Offline

 

#6 2012-09-08 10:09:12

IGraham
Member
UK
2011-09-28
193

Re: Users deleting their own pictures

To get both Community and ICY working together isn't to hard
Install ICY
put this (attached) 'icy_acl.zml' in the piwigo/local/config folder
And that's it, I've got two installations working ok

The attached file contains only (below), it does need the icy entry
If it doesn't work for you your only lost a few minutes - I lost hours

default:
  edit_image_of: owner
  delete_image_of: owner
  upload_image_to: sub
  moderate_image: no
  create_gallery_to: sub
  associate_image_to:
  present_image_to:


  icy:
  upload_image_to: any
  edit_image_of: owner
  associate_image_to:
  present_image_to:
  delete_image_of: owner
  moderate_image: no
  create_gallery_to:


--
seems i cant attach the file, email me if you want it

Last edited by IGraham (2012-09-08 10:11:18)

Offline

 

#7 2012-09-08 12:52:01

deljones
Member
2012-09-06
59

Re: Users deleting their own pictures

IGraham

I would love to get the two to work together and thanks for the offer...

I'll put your hours to good use, being able to have users have basic control is a must.

Try derekj63 at Hotmail dot com

Many thanks

Deljones

Offline

 

#8 2012-09-08 16:37:58

IGraham
Member
UK
2011-09-28
193

Re: Users deleting their own pictures

just emailed it to you

should work ok

Offline

 

Board footer

Powered by FluxBB

github twitter newsletter Donate Piwigo.org © 2002-2024 · Contact