I have activated the user registaration, and when I'm doing that user can add
on the permissions, it let the user add albums and photos.
How can I change it so they would only could add photos?
Thanks, Yarik.
Currently, no. We're considering a major improvement to permissions in 3.1, but we haven't yet decided how we're going to make it work.
I remember seeing some modification to the UI to prevent that showing but can't find it.
Does anyone remember what the mod Dave referenced? Seems like this might be a good bandaid for what I'm wanting until 3.1 comes out.
floridave wrote:
Currently, no. We're considering a major improvement to permissions in 3.1, but we haven't yet decided how we're going to make it work.
I remember seeing some modification to the UI to prevent that showing but can't find it.
I installed it, but it doesn't quite get at what I'm looking to do right now.
I see throughout the forum that 3.1 MAY have more finely tuned permissions, and that the release date for 3.1 is not set.
In gallery2, I had a usergroup called "Taggers", who could only tag photos, and I realize this isn't currently possible. It was a very useful feature, and while I realize that someday, whenever 3.1 comes out, and if it has permissions like this, I may be able to do it.
However, in the is there some if/else statement that could be used, either in a module or in a template that would remove the ability for registered users to be able to ONLY tag photos, and nothing else beyond the guest permissions?
However, in the is there some if/else statement that could be used, either in a module or in a template that would remove the ability for registered users to be able to ONLY tag photos, and nothing else beyond the guest permissions?
I don't understand that question. Can you rephrase?
Currently, if an admin is logged in, by hovering over a thumbnail on the album page, there are many options, including delete this photo, rotate this photo, edit this photo, etc. Under "edit this photo" is a line to add tags.
If a registered user is logged in, none of these options are available.
So somehow the code determines if a person is logged in or not, and further, determines if the logged in user is an admin or a registered user.
Currently, the code determines what level a person is (admin, registered, guest), and then gives them different options).
I was just guessing this was some sort of "If admin allow everything", else allow nothing)
I realize that 3.1 when if comes out may do this, and in fact may again have the abilty to have a usergroup specifically for taggers like G2 had. But in the meantime, I was hoping for a workaround, that would allow me to give people the abilty to just tag. As far as I can see, the options are currently all (admin) or nothing (visitors and registered users).
I just put a block called "Popular Tags" in the sidebar, which has at the bottom an entry field and an "Add Tag" button, which would be perfect for my needs, if there was just a way to restrict who can tag.
So, if I understand correctly; you want to have a specified group "taggers" be able to add tags to items?
I think I can see this done in 2 ways:
1. A new module that adds the tag form to the sidebar _if_ the user is a member of the "taggers" group.
2. Change the behavior of the tag module to not pay attention to the edit permissions check in various places.
I'm leaning to #1 as it might be a bit easier to code and would not mess with the existing core module.
In Gallery 2, I was able to do this. Plus, when a "tagger" added a tag, they were presented with a link that allowed them to edit multiple tags in one page. That way, if there were a lot of images that needed a tag, you could do a screenful at a time.
Is this the way things are intended to work in the much discussed gallery 3.1? There is mention that permissions will be enhanced, and I think saw somewhere that the tagging process would be improved. Right now, it's either one at a time, or an entire album at once. Are there any plans to slide in "multiple" between all or one?
I'm just at a loss here, since I don't know
a. What 3.1 will provide in terms of permissions and tags.
b. When 3.1 will come out. Next month? Next year?
Obviously answers to both of these questions would help in the decision as well. Do you know anything about either or both of these?
What 3.1 will provide in terms of permissions and tags.
I'm not sure.
Quote:
When 3.1 will come out. Next month? Next year?
Don't know that either.
Quote:
1. A new module that adds the tag form to the sidebar _if_ the user is a member of the "taggers" group.
2. Change the behavior of the tag module to not pay attention to the edit permissions check in various places.
I can assist in a module development if #1 is what you are after.
I can assist in a module development if #1 is what you are after.
That would be great. Is there a chance that the mod would also show a screen full of thumbs and form fields so the taggers could tag a bunch at one shot, even if the images weren't consecutive, and the tags wouldn't all be the same on each page? For example, let's say these are the first 6 thumbnails on the first "multiple tag" page:
What about the captionator module? It does tags for items in the album.
I guess you want something like that except only the "taggers" group have permissions to do the tags and not the other meta data?
I'll at Captionator and let you know. Seems like I had some difficulty with Captionator, but I'll look at it again and let you know.
I looking for one of two solutions, either of which would work for me. One is to have a "taggers group" who can only add tags as we're discussing here, or let everyone add tags, but placed in a moderation queue for the admins to approve or delete before they were published. This would prevent a spamfest in the tags.
I would not have a clue how to add a moderation queue. So I will see if I can copy the captionator module and edit it to only have tags and then edit it so that a special group can access it.
A bit out of my comfort zone for coding but will take a stab at it.
I meant after you leave your comfort zone to copy the captionator module and edit it to only have tags and then edit it so that a special group can access it.
===========================
Gallery 3.0.2
PHP - 5.3.8 cgi-fcgi
Apache/2.2.21 (Unix)
mysqli 5.0.92
Clean Canvas theme
Do you want these "taggers" to be able to tag albums or just items. I think just items as it is hard to distinguish through the UI that the thumb is a album and not a item.
I will start that way anyway to get a module going and you can test and provide some feedback.
Posts: 27300
Currently, no. We're considering a major improvement to permissions in 3.1, but we haven't yet decided how we're going to make it work.
I remember seeing some modification to the UI to prevent that showing but can't find it.
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 205
Hello -
One of the things I miss most from g2 is the ability to parse out permissions by usergroup.
I understand that this is supposed to be part of v3.1 which has no release date that I can see.
For now, I'd like to find a workaround to be able to do one of two things:
- give registered users the ability to add tags, or
- let anyone add tags but have the tags go into a review queue for admin to approve or delete.
Is there a simple way to achieve either one of these goals?
thanks,
BW
===========================
Gallery 3.0.2
PHP - 5.3.8 cgi-fcgi
Apache/2.2.21 (Unix)
mysqli 5.0.92
Clean Canvas theme
Toolkits = Exif, Gd, ImageMagick
Posts: 205
Does anyone remember what the mod Dave referenced? Seems like this might be a good bandaid for what I'm wanting until 3.1 comes out.
===========================
Gallery 3.0.2
PHP - 5.3.8 cgi-fcgi
Apache/2.2.21 (Unix)
mysqli 5.0.92
Clean Canvas theme
Toolkits = Exif, Gd, ImageMagick
Posts: 27300
http://codex.gallery2.org/Gallery3:Modules:remove_add_album
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 205
Thanks Dave.
I installed it, but it doesn't quite get at what I'm looking to do right now.
I see throughout the forum that 3.1 MAY have more finely tuned permissions, and that the release date for 3.1 is not set.
In gallery2, I had a usergroup called "Taggers", who could only tag photos, and I realize this isn't currently possible. It was a very useful feature, and while I realize that someday, whenever 3.1 comes out, and if it has permissions like this, I may be able to do it.
However, in the is there some if/else statement that could be used, either in a module or in a template that would remove the ability for registered users to be able to ONLY tag photos, and nothing else beyond the guest permissions?
===========================
Gallery 3.0.2
PHP - 5.3.8 cgi-fcgi
Apache/2.2.21 (Unix)
mysqli 5.0.92
Clean Canvas theme
Toolkits = Exif, Gd, ImageMagick
Posts: 27300
I don't understand that question. Can you rephrase?
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 205
Currently, if an admin is logged in, by hovering over a thumbnail on the album page, there are many options, including delete this photo, rotate this photo, edit this photo, etc. Under "edit this photo" is a line to add tags.
If a registered user is logged in, none of these options are available.
So somehow the code determines if a person is logged in or not, and further, determines if the logged in user is an admin or a registered user.
Currently, the code determines what level a person is (admin, registered, guest), and then gives them different options).
I was just guessing this was some sort of "If admin allow everything", else allow nothing)
I realize that 3.1 when if comes out may do this, and in fact may again have the abilty to have a usergroup specifically for taggers like G2 had. But in the meantime, I was hoping for a workaround, that would allow me to give people the abilty to just tag. As far as I can see, the options are currently all (admin) or nothing (visitors and registered users).
===========================
Gallery 3.0.2
PHP - 5.3.8 cgi-fcgi
Apache/2.2.21 (Unix)
mysqli 5.0.92
Clean Canvas theme
Toolkits = Exif, Gd, ImageMagick
Posts: 205
I just put a block called "Popular Tags" in the sidebar, which has at the bottom an entry field and an "Add Tag" button, which would be perfect for my needs, if there was just a way to restrict who can tag.
===========================
Gallery 3.0.2
PHP - 5.3.8 cgi-fcgi
Apache/2.2.21 (Unix)
mysqli 5.0.92
Clean Canvas theme
Toolkits = Exif, Gd, ImageMagick
Posts: 27300
So, if I understand correctly; you want to have a specified group "taggers" be able to add tags to items?
I think I can see this done in 2 ways:
1. A new module that adds the tag form to the sidebar _if_ the user is a member of the "taggers" group.
2. Change the behavior of the tag module to not pay attention to the edit permissions check in various places.
I'm leaning to #1 as it might be a bit easier to code and would not mess with the existing core module.
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 205
In Gallery 2, I was able to do this. Plus, when a "tagger" added a tag, they were presented with a link that allowed them to edit multiple tags in one page. That way, if there were a lot of images that needed a tag, you could do a screenful at a time.
Is this the way things are intended to work in the much discussed gallery 3.1? There is mention that permissions will be enhanced, and I think saw somewhere that the tagging process would be improved. Right now, it's either one at a time, or an entire album at once. Are there any plans to slide in "multiple" between all or one?
I'm just at a loss here, since I don't know
a. What 3.1 will provide in terms of permissions and tags.
b. When 3.1 will come out. Next month? Next year?
Obviously answers to both of these questions would help in the decision as well. Do you know anything about either or both of these?
Thanks,
bw
===========================
Gallery 3.0.2
PHP - 5.3.8 cgi-fcgi
Apache/2.2.21 (Unix)
mysqli 5.0.92
Clean Canvas theme
Toolkits = Exif, Gd, ImageMagick
Posts: 27300
I'm not sure.
Don't know that either.
I can assist in a module development if #1 is what you are after.
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 205
That would be great. Is there a chance that the mod would also show a screen full of thumbs and form fields so the taggers could tag a bunch at one shot, even if the images weren't consecutive, and the tags wouldn't all be the same on each page? For example, let's say these are the first 6 thumbnails on the first "multiple tag" page:
1. Aunt Thelma
2. Josie Biggs
3. Aunt Thelma
4. Aunt Thelma
5. Henry Flyswatter
6. Josie Biggs
===========================
Gallery 3.0.2
PHP - 5.3.8 cgi-fcgi
Apache/2.2.21 (Unix)
mysqli 5.0.92
Clean Canvas theme
Toolkits = Exif, Gd, ImageMagick
Posts: 27300
What about the captionator module? It does tags for items in the album.
I guess you want something like that except only the "taggers" group have permissions to do the tags and not the other meta data?
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 205
Thanks Dave.
I'll at Captionator and let you know. Seems like I had some difficulty with Captionator, but I'll look at it again and let you know.
I looking for one of two solutions, either of which would work for me. One is to have a "taggers group" who can only add tags as we're discussing here, or let everyone add tags, but placed in a moderation queue for the admins to approve or delete before they were published. This would prevent a spamfest in the tags.
Is one way easier to code than another?
===========================
Gallery 3.0.2
PHP - 5.3.8 cgi-fcgi
Apache/2.2.21 (Unix)
mysqli 5.0.92
Clean Canvas theme
Toolkits = Exif, Gd, ImageMagick
Posts: 27300
I would not have a clue how to add a moderation queue. So I will see if I can copy the captionator module and edit it to only have tags and then edit it so that a special group can access it.
A bit out of my comfort zone for coding but will take a stab at it.
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 205
Looks like captionator is the way to go.
Thanks Dave
===========================
Gallery 3.0.2
PHP - 5.3.8 cgi-fcgi
Apache/2.2.21 (Unix)
mysqli 5.0.92
Clean Canvas theme
Toolkits = Exif, Gd, ImageMagick
Posts: 27300
Glad that will work out for you.
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 205
I meant after you leave your comfort zone to copy the captionator module and edit it to only have tags and then edit it so that a special group can access it.
===========================
Gallery 3.0.2
PHP - 5.3.8 cgi-fcgi
Apache/2.2.21 (Unix)
mysqli 5.0.92
Clean Canvas theme
Toolkits = Exif, Gd, ImageMagick
Posts: 27300
Oh OK.
Perhaps this weekend
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 27300
Do you want these "taggers" to be able to tag albums or just items. I think just items as it is hard to distinguish through the UI that the thumb is a album and not a item.
I will start that way anyway to get a module going and you can test and provide some feedback.
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 205
Hi Dave -
Just photos would be best.
===========================
Gallery 3.0.2
PHP - 5.3.8 cgi-fcgi
Apache/2.2.21 (Unix)
mysqli 5.0.92
Clean Canvas theme
Toolkits = Exif, Gd, ImageMagick
Posts: 27300
http://codex.gallery2.org/Gallery3:Modules:tag_by_group
it might be still rough around the edges.
I will start a new thread after you test it. Update the docs as your contribution, please.
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 27300
Started a new thread after updating the module to have a optional menu link.
http://gallery.menalto.com/node/105828
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team