Announcement

  •  » Extensions
  •  » Community plugin, new generation for Piwigo 2.2+

#1 2011-02-25 22:19:11

plg
Piwigo Team
Nantes, France, Europe
2002-04-05
13132

Community plugin, new generation for Piwigo 2.2+

Hi Folks,

[extension by plg] Community

User upload, I mean the ability for non administrators to add photos, is removed from Piwigo 2.2 core features. It is now integrated into the Community plugin. Starting from version 2.2.a, the Community plugin is not bound to pLoader anymore: now you can activate the advanced upload form for users as well. Of course, users will also be able to add photos with remote softwares like pLoader, Lightroom, Shotwell, Digikam, iPhoto...

The Community plugin doesn't imply full trust anymore: you can say that photos added by Friends (the group) needs to be validated by an admin, while photos added by Paul (your father) are directly visible in the gallery. You can also give the right to create sub-albums.

1. the administrator creates upload permissions by answering following questions:
* who? any visitor, any registered user, a user, a group
* where? the whole gallery or a specific album
* level of trust? high (immediate visibility in the gallery) or low (photos needs to be validated)

http://piwigo.org/forum/showimage.php?pid=119650&filename=community_22a_en-01.png

2. if at least one permission matches the current user, a link Upload photos is added in the menu. This is the upload form, as full featured as it is in the administration panel: automatic resize, thumbnail creation, automatic rotation, several photos at once, progress bar...

http://piwigo.org/forum/showimage.php?pid=119650&filename=community_22a_en-02.png

If the user has a low level of trust for this album, photos are now pending for validation. Administrators are notified by email.

http://piwigo.org/forum/showimage.php?pid=119650&filename=community_22a_en-03.png

3. administrators open the pending photos screen and decide which photos to validate and which to reject. Admins can also edit photos and albums before validation.

http://piwigo.org/forum/showimage.php?pid=119650&filename=community_22a_en-04.png

TODO list:
* notify uploaders by email
* ask email address for guest users
* filter pending photos
* filter permissions (for a given user on a give album, display the summary of what he can do)


Uploaded Images


Latest blog post (May 3rd 2018) New subscription form

Offline

 

#2 2011-02-26 00:28:28

jonas
Translation Team
Sweden
2010-09-18
52

Re: Community plugin, new generation for Piwigo 2.2+

HMMMM nice and sweet


Hmmm is my sign
and i like to just be..
i like to go along when i having fun, but ...

Offline

 

#3 2011-02-26 01:00:13

jonas
Translation Team
Sweden
2010-09-18
52

Re: Community plugin, new generation for Piwigo 2.2+

hmmmm

some thing


desp
vanliga användare kan även  ladda upp bilder
------------------

$lang['Add a permission'] = ''Lägg till en behörighetsnivå'';
$lang['Who?'] = 'Vem?';
$lang['any visitor'] = 'alla besökare';
$lang['any registered user'] = 'alla registrerade användare'';
$lang['a specific user'] = 'en viss användare';
$lang['a group'] = 'en grupp';
$lang['Where?'] = 'Var?';
$lang['The whole gallery'] = 'Hela galleriet';
$lang['ability to create sub-albums'] = 'förmåga att skapa underliggande album';
$lang['Which level of trust?'] = 'Vilken nivå av förtroende?';
$lang['sub-albums creation'] = 'under album skapande';
$lang['Upload Permissions'] = 'Behörigheter för att ladda upp';
$lang['Pending Photos'] = 'Väntande bilder';
$lang['Permission added'] = 'Behörighet läggas till';
$lang['Permission removed'] = 'Behörighet borttagen';
$lang['%s (the user)'] = '%s (användaren)';
$lang['%s (the group)'] = '%s (gruppen)';
$lang['low trust'] = 'lågt förtroende';
$lang['uploaded photos must be validated by an administrator'] = 'uppladdade bilder måste godkännas av en administratör';
$lang['high trust'] = 'högt förtroende';
$lang['uploaded photos are directly displayed in the gallery'] = 'uppladdade bilder visas direkt i galleriet';
$lang['%d photos validated'] = '%d godkända bilder';
$lang['%d photos rejected'] = '%d bilder avvisas';
$lang['web size'] = 'web storlek';
$lang['Zoom'] = 'Zoom';
$lang['Upload your own photos'] = 'Ladda upp dina egna bilder';
$lang['%d photos uploaded by %s'] = '%d bilder uppladdade av %s';
$lang['Validation page: %s'] = 'Validering sida: %s';
$lang['%d photos uploaded into album "%s"'] = '%d bilder uppladdade till albumet "%s"';
$lang['Hi administrators,'] = 'Hej administratörer,';


Hmmm is my sign
and i like to just be..
i like to go along when i having fun, but ...

Offline

 

#4 2011-02-27 17:40:48

ddtddt
Piwigo Team
Quetigny - France
2007-07-27
6707

Re: Community plugin, new generation for Piwigo 2.2+

jonas wrote:

hmmmm

some thing


desp
vanliga användare kan även  ladda upp bilder
------------------

$lang['Add a permission'] = ''Lägg till en behörighetsnivå'';
$lang['Who?'] = 'Vem?';
$lang['any visitor'] = 'alla besökare';
$lang['any registered user'] = 'alla registrerade användare'';
$lang['a specific user'] = 'en viss användare';
$lang['a group'] = 'en grupp';
$lang['Where?'] = 'Var?';
$lang['The whole gallery'] = 'Hela galleriet';
$lang['ability to create sub-albums'] = 'förmåga att skapa underliggande album';
$lang['Which level of trust?'] = 'Vilken nivå av förtroende?';
$lang['sub-albums creation'] = 'under album skapande';
$lang['Upload Permissions'] = 'Behörigheter för att ladda upp';
$lang['Pending Photos'] = 'Väntande bilder';
$lang['Permission added'] = 'Behörighet läggas till';
$lang['Permission removed'] = 'Behörighet borttagen';
$lang['%s (the user)'] = '%s (användaren)';
$lang['%s (the group)'] = '%s (gruppen)';
$lang['low trust'] = 'lågt förtroende';
$lang['uploaded photos must be validated by an administrator'] = 'uppladdade bilder måste godkännas av en administratör';
$lang['high trust'] = 'högt förtroende';
$lang['uploaded photos are directly displayed in the gallery'] = 'uppladdade bilder visas direkt i galleriet';
$lang['%d photos validated'] = '%d godkända bilder';
$lang['%d photos rejected'] = '%d bilder avvisas';
$lang['web size'] = 'web storlek';
$lang['Zoom'] = 'Zoom';
$lang['Upload your own photos'] = 'Ladda upp dina egna bilder';
$lang['%d photos uploaded by %s'] = '%d bilder uppladdade av %s';
$lang['Validation page: %s'] = 'Validering sida: %s';
$lang['%d photos uploaded into album "%s"'] = '%d bilder uppladdade till albumet "%s"';
$lang['Hi administrators,'] = 'Hej administratörer,';

Thanks :-)
[Subversion] r9399


You love Piwigo so don't hesitate to participate, learn more on the "Contribute to Piwigo" page. If you don't have much time for contribution, you can also help the project with a donation.

Offline

 

#5 2011-03-02 09:44:56

plg
Piwigo Team
Nantes, France, Europe
2002-04-05
13132

Re: Community plugin, new generation for Piwigo 2.2+

New version 2.2.b :

* administrators get automatically full upload permissions
* no need to upload a first photo with admin form before using user upload
* delete a user deletes related upload permissions and pending photos
* delete an album deletes related upload permissions but keeps pending photos

* add Hungarian (Magyar) language thanks to samli
* add Swedish (Svenska) language thanks to jonas
* add Italian (Italiano) language thanks to sugar888
* add German (Deutsch) language thanks to sugar888
* add Slovak (Slovensky) language thanks to dodo
* add Spanish (Español) language thanks to jpr928
* add Latvian (Latviešu) language thanks to Aivars Baldone
* add Czech (Česky) language thanks to webprostor.eu


Latest blog post (May 3rd 2018) New subscription form

Offline

 

#6 2011-03-07 23:07:38

Rockyba
Member
1970-01-01
3

Re: Community plugin, new generation for Piwigo 2.2+

After I install 2.2e and activate it, it shows up under my plugin menu but if I click on Community it just takes me back to the Admin home page and does not give me the options you show in the pictures above, What am I doing wrong?

1.I downloaded 2.2e
2.uploaded the file to my Plugin folder
3. unziped it to the plugin folder
4. went into the admin part of my site  to "Manage Plugins"
5. Installed Community 2.2e
6. Activated 2.2e
7. Click on "community" under the plugin Menu
8. it takes me back to the admin homepage even though at the top it looks like this

http://www.Mysite/admin.php?page=plugin-community

Offline

 

#7 2011-03-07 23:09:40

plg
Piwigo Team
Nantes, France, Europe
2002-04-05
13132

Re: Community plugin, new generation for Piwigo 2.2+

Rockyba wrote:

After I install 2.2e and activate it, it shows up under my plugin menu but if I click on Community it just takes me back to the Admin home page and does not give me the options you show in the pictures above, What am I doing wrong?

I think you try to use Community 2.2.e on Piwigo 2.1.6. You need Piwigo 2.2.* to run Community 2.2.*


Latest blog post (May 3rd 2018) New subscription form

Offline

 

#8 2011-03-09 03:32:56

Paul
Guest

Re: Community plugin, new generation for Piwigo 2.2+

Hi!
First of all I want to say thanks for this amazing project. I've been looking for weeks into different solutions and two nights ago I found Piwigo, which it seems to do exactly what I want, specially in the User Permissions area. Anyways, there is something I'm trying to figure out how to do...
I want to have my photo Albums structured this way:

1.Personal Album (everyone can see it, but I'm the only one to upload)
2.Users Album (user personal albums, everyone ca see them, only UserN can upload in UserN Album, NOT allowed to create sub-albums)
  2.1.User1 Album
  2.2.User2 Album
  ----------------
  2.N.UserN Album

3. Weekly Photos (everyone can see, ALL users can upload only in CURRENT album, NOT allowed to create sub-albums)
   This will be the an Album with Weekly photo walks and maybe something like a Photo Contest
  3.1. First Week Photos
  3.2. Second week Photos
  --------------------------------
  3.C. Current Week Photo

I installed piwigo-2.2.0RC3 with community_2.2.e but I ran into a problem. When I try to set permission for users/ groups i can see the "upload" button only for "any visitor".
What do I have to do see the "upload" button for all the other type of users?

Thanks in advance!
Paul

 

#9 2011-03-09 14:33:45

plg
Piwigo Team
Nantes, France, Europe
2002-04-05
13132

Re: Community plugin, new generation for Piwigo 2.2+

I've forgotten to write about latest versions...

Version 2.2.c

* album list on user upload form is filtered with private/invisible albums
* a user uploaded photo with no moderation gets privacy level 0 (everybody can see it)
* a permission can be applied to sub-albums or not
* add Turkish (Türkçe) language thanks to Nakre

Version 2.2.d

* ability to edit a permission
* display number of pending photos on administration homepage, on administration menu and on tab title

Version 2.2.e

* bug fixed: implicit update of an existing permission based on album (the "where?")
* bug fixed: use the user defined language for the user upload form instead of the gallery default language
* in the Batch Manager, privacy "level 16" displayed as "Pending"
* convert permissions from Piwigo core 2.1
* convert permissions from Community 2.1
* bug fixed: do not display the upload link in the menubar if you can't create top level albums or if there is no album available for upload
* at plugin activation time, if there is no permission after upgrade from
community 2.1 and core 2.1, create a default permission : any registered
user, album "Community" (automatic creation), sub-albums + ability to create
new sub albums.

Version 2.2.f

* bug fixed: refresh user upload permissions when modifying an album or when updating user properties
* bug fixed: even when connecting you had the same user upload permissions as the guest user
* bug fixed: the list of parent albums for "create a new album" is filtered by the access permissions


Latest blog post (May 3rd 2018) New subscription form

Offline

 

#10 2011-03-24 14:23:14

plg
Piwigo Team
Nantes, France, Europe
2002-04-05
13132

Re: Community plugin, new generation for Piwigo 2.2+

Paul, can you confirm the problem is fixed with Community version 2.2.f ?


Latest blog post (May 3rd 2018) New subscription form

Offline

 

#11 2011-03-24 14:37:14

Paul
Guest

Re: Community plugin, new generation for Piwigo 2.2+

Yep, problem solved! Works perfect now!
Thank you guys!

 

#12 2011-03-26 19:27:50

markbed
Member
2011-03-24
6

Re: Community plugin, new generation for Piwigo 2.2+

hi plg,

i am testing both gallery and piwigo for my project, i am thinking to use piwigo coz it's User Friendly and so on but i have this issue.

A Registered user can't modify his own photo's,  i would like to know when you will implement this ?

Thanks in advance,

Regards,

Offline

 

#13 2011-03-26 21:15:25

plg
Piwigo Team
Nantes, France, Europe
2002-04-05
13132

Re: Community plugin, new generation for Piwigo 2.2+

Hi markbed,

markbed wrote:

A Registered user can't modify his own photo's,  i would like to know when you will implement this ?

This won't be implemented in the near future versions of Community, but I would like to add this kind of features later.

What kind of modification are you thinking about (moving to another album? changing properties like title, description, author, date, tags? deletion?)


Latest blog post (May 3rd 2018) New subscription form

Offline

 

#14 2011-04-02 20:35:53

markbed
Member
2011-03-24
6

Re: Community plugin, new generation for Piwigo 2.2+

Yeah

changing properties like title, description, author, date, tags? deletion and so no...

Thanks

Offline

 

#15 2011-04-03 17:59:38

Wallster
Translation Team
Skaftafell, Iceland
2010-10-22
48

Re: Community plugin, new generation for Piwigo 2.2+

Hi!

Im experiencing some problem now when I installed community plugin for 2.2.
When I hit the upload button nothing happens.

I've set so that visitors can upload pictures right now in case anyone wants to check it out and try if they experience the same problem.

http://icelandmyway.com/gallery/index.php?/add_photos

A tip anyone? :)

Offline

 
  •  » Extensions
  •  » Community plugin, new generation for Piwigo 2.2+

Board footer

Powered by FluxBB

github twitter facebook google+ newsletter Donate Piwigo.org © 2002-2018 · Contact