What exactly is it that you guys expect from the "multiple users" feature?
Do you want to give your friends the ability to create their own albums and upload their pictures without affecting the rest of the gallery?
Is there anything else you want to see implemented?
There are many ways this can be done, let's not just copy the feature over from some other gallery, but instead create something new and actually useful.
Personally, I don't need this feature. But what you mention could be a handy feature in some cases: the ability to add another user (with its own password) who can upload/manage only specific collections. I can't think of anything else really :).
Considering as a personal gallery; as you said - "Do you want to give your friends the ability to create their own albums and upload their pictures without affecting the rest of the gallery?" Thats an Yes there.
Considering as a site which is completely based on the script, - Allow people to get an account and submit their images, - Admin to review the image, description, category... and enable the image to appear in teh gallery. - Admin/mod users (mods can also approve images and manage the gallery)
Another: link to user/moderator's home page I dont think we can link to the users website from the image page. Instead of showing a link to his home page from the image he submitted, we can show it from his user page. May be something sililiar to this: http://www.plogger.org/forum/account.php?u=40
Looks like you guys are really rolling with development and thats great. For me I would like users to be able as you said create and manage their own galleries, but as gangavalli says ultimately an ability to approve images in any gallery would be nice if desired by the site admin. I also think profile wise it would be nice if users could add fields like Vanilla does for profiles. Other then that private gallery could be something other to consider.
My needs for this are simple at this point. I would like to see the ability for a second or more administor that does not have access to the areas that change the configuration area. Perhaps an Administrator level and a sub-Admin level? This way my family or clients could add their photos w/o messing w/things they have no business messing with.
I'd like to see all images added to the gallery just as they would by normal admin uploading. Ofcourse a private feature is always nice.
Here are 2 ideas I had:
The first one is more of a personal request though. I would like it if I could batch import pictures and assign them to a user-/Full name. Or even allow those added users to batch import their own pictures.
As for the second one. Many galleries nowadays allow multiple users to have access. Having tested quite some of those galleries one thing that was always bugging me is how this is reflected in your file structure (whereas most of them don't have a logical file structure at all). You really can't tell who uploaded what file. I think plogger could make a difference here. For example have it like this: username/collection/album.
Personally I wouldn't like to see this back in the gallery though as in userbased albums (or using mod_rewrite even, although support for it is always nice). But whatever you guys choose to go with I think this would be a great feature.
Other then that I can't really think of anything. The same plogger with those features would be great !
It wouldn't be hard to create a script that allowed upload access to the ./uploads folder, and have you then decide which files you wanted to import.
This could be made as a new "plugger", but couldn't (for a variety of reasons, mainly security) yet be incorporated into Plogger itself.
However, as I've mentioned in other threads, a full-blown user system is a ways off (as I understand it), if it does get implemented, as each extra feature moves us further away from the "lightweight gallery script" Plogger was envisioned to be.
It's a hard call. I hear the request for multiple users from a lot of people, but I think even more people do not need the added complexity. Besides it being a huge amount of work to get coded properly, I'm not sure a complex system is necessary.
I think a simple user system is appropriate in this case, however, the best way to implement this is still not fully fleshed out. Like Derek said, creating a simple "user-upload" form based on plog-upload.php would be really easy. You could put it in the uploads directory itself, make it password protected, etc.
When I found Plogger I thought, finally this is what I'm looking for but the lack of multiple users is the only feature missing. I have friends touring around Asia for the year and they keep emailing me all their photos but ideally I want them to have a username and password so they can upload the photos themselves.
It doesn't need to have fancy permissions, just the ability to add photos and hide the other aspects of the admin area. I might even have a look in to how hard it would be to do this myself. Any tips welcome!
Why not just give them the admin password? They are friends right? The worst they could do would be deleting a collection or album accidentally, but I don't think it would be a problem. Tell them to stay away from the configuration settings, I think they would be able to figure it out.
If you wanted to write this functionality yourself, you could do a really basic "tab hiding" scheme where certain users could only see certain tabs. Basically you would have to rewrite /admin/plog-globals.php to check username and passwords other than the main admin password, you would probably have to create a user table in the database with a username, password, and maybe a user level. Then you would have to write a simple utility that creates users by populating that table (optionally, you could always do it manually).
Next you would just modify that function "display" in admin/plog-globals.php to conditionally display tabs based on userlevels. Like user level of 3 would see all the tabs, user level of 2 would get upload and manage, and user level of 1 would just get upload. Of course you can make that however you want.
It would just be a matter of adding some logic to determine which tabs to build based on the user. It really wouldn't be that hard, but you would have to know what you were doing.
Thanks Mike, and as I'm a newbie, thanks for Plogger!
The other option is to integrate it with my blog which all my friends are registered with. Like you say, it's fairly straightforward logically and I'm sure if your code is as clean as Plogger itself then it will be a doddle.
If they run on the same database, you should be able to change the login authentication to check for different credentials by changing the SQL; though you won't be able to track which user did what, etc, it will give the basic functionality you're after.
edit: Also note that authentication in one zone (your Blog) will not allow them to directly access Plogger admin. They will still have to login again; it will just check for the same username and password they use on the blog. The credentials your blog gives will be different from Plogger, and vice-versa.
Yep, I don't think they'd mind logging in again. It's my no means a sophisticated set up, I mean we really should have gone wtih a basic message board rather than a blog, but it does the job.
I would love to be able to take advantage of a parent apps user system. In other words, I could read in the existing session data to validate a user and assign them a "base" collection that would act as their home directory - the could not access collections outside of the base collection. Perhaps this could be done by including a "customization" file within the main admin folder - people could then adjust variables in there to help set whether a member is logged in and what their base collection is.
It seems like something like this would keep plogger light, but still give it the flexibilty to work with other systems.
Any chance of an update of how the "multipule users" might be integrated in V3?
I thought there were some very good suggestions in this thread, but it is clear that they are varied because people are using Plogger for different things. Obviously something that is in the middle of "lightweight" and "feature-rich" is going to be up to the dev team, and I am really looking forward to see what they come up with
I managed to get my wishes accomplished (see above) by changing a a good chunk of code in the current version. I don't know if I could begin to document all my changes, but it really wasn't that hard.
I don't think the multiple user thing is going to be in the next release unfortunately, in the interest of getting something out the door soon we will probably push it with themes and multiple language support. Multiple users is still a possibility for the future though, just not enough time or manpower to implement it ATM.
I just discovered this thread, here's my idea: Each uploaded photo could have an additional 'owner' ID assigned. So while keeping the full admin area only available to the admin, other users could have a basic admin area (only manage + import) that gives them the right to change / delete the things they created / own. This method would be both simple and powerful.
Here's what I would like from a Multiple users feature: 1: each have their own password 2: only upload to specified albums (limit the access and where they can upload to)
Plan to use it as a way to share photos, taken from several photographers, with each respective model.
Hi Im wondering as well if theres any beta or info you can share about multi -user. Ive tried coppermine and gallery2 extensivly but was not happy with the layout and user control options, I think plogger is great and simple, just what I need except Id like users to be able to upload thier own photos as well, thanks.
I think what people are looking for is the ability for users to register for an account with different privileges than the admin user. This user should then be able to add/edit/delete their own images within their own album or maybe "public" albums...
It would be a very useful feature and would broaden the scope of what plogger can be used for. Eat your heart our flickr :)
i agree with sicruise, multiple admin logins would be nice, but adding in support for user supported galleries would be a monster to write.
but i think multiple admin logins with multi-tierd permissions (especially in the management section) would allow people to have their own galleries without too much of a bulk re-write of plogger.
I'd like to hace som user features. I would like at least 2 User, an Admin and a "normal" User which can only upload pictures. Im nor sure ife I need also some more features with that. The Problem is, that I use the Ploger for my sportsclub and I dont want that every budy can see or change the Admin rights. So it would be nice to have at least 2 different User. Or I could make some user as many as I want and give them the rights they need ...
I see it like sicruise that would be perfect. That's the deluxe version ;-)
excellent, nvts. There have been some improvements (mostly bug fixes) like having all of Plogger translatable. If you want, the most current, up-to-date code can be found here -> latest SVN trunk
But I think if you base it on 3.0 Beta, that would be great too! :D
Yes, I am finished with User module for the Admin side and the User side for their collection. I am now documenting and creating a install for this. It works great on my site.
I almost chose another gallery script over Plogger just because it didn't have multiple-user support. But hopefully this will work out just fine. Thank you so much nvts.
A few questions: Can administrators and users be assigned to the same album, so they can both edit it? Also, is it possible to take away actions from basic users, like disallowing them to delete files in specified albums? This is probably a stretch, but I'm just curious. :)
nvts, I am hearing since so long that you have finished the user module and its working great on your site. Many times people have even requested you to provide the files but still I see nothing here. Could you be so kind to let me know from where I can download your version of Plogger?
just to kind of answer your first question. I think multiple users should just open up the back-end to have more than just 'admin' and also make available a user management tab and a simplified version of the back-end for users so they can upload photos, create albums and collections, but not mess with anything not created by them. That way the front end stays simple and as-is, but you can have new users register or be created by the admin, then have access to add stuff.
Also, for the front end, you might want to have a 'members only' section that can be turned on or off and requires a user login to view tagged collections/albums/photos that are 'members only'
Mine is completed and documented now. I am on holidays at this time in Mexico. The code is on my development computer in Canada. I will be able to upload when I get back or even maybe before. I will post some screen shots of the modules that I added to Plogger admin and the User admin for adding to their own collections.
It has been working great for over a month on my site with several different users.
Oh dear. I finished installing a nicely customized Plogger system on a new website today. I have just been told that they need visitors to be able to upload pics and have them approved by an admin. Unfortunately I have to get this done today so I'll have to find another gallery :(