[module] Tag by group

floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Sun, 2012-03-25 23:35

http://codex.gallery2.org/Gallery3:Modules:tag_by_group

Allows the admin to choose a group that will be able to tag items even if they don't have permissions to edit the item.
Adds a sidebar block to tag photos/movies and a optional menu link to tag items in a album.

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
BillWill

Joined: 2008-08-28
Posts: 205
Posted: Wed, 2012-04-25 11:47

I've had a chance now to try this out with different users, and it works great. It allows one-time non technical users to add tags to photos from their own events without having the rest of the admin functions that would allow them to accidentally wreaking havoc.

Thanks for the module, floridave.
===========================
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

 
BillWill

Joined: 2008-08-28
Posts: 205
Posted: Sun, 2012-07-08 13:38

I'm having a couple of issues with both this and the captionator module.

One is new since the upgrade to .04, and the other is old, but I've been putting up with it.

1. Sometimes (yes, sometimes) when I type a comma after a tag to enter a new one, or if I try to use the tab key to move to the next field, the existing tags in the field are removed, and this string replaces everything:

<meta http-equiv="content-type" content="text/html; charset=utf-8">

In the same session, sometimes it takes a comma.

I have the new version of Gallery, I have disabled all the tag modules except for Tag by group and Tags.

I got rid of Clean Canvas, since it seems it has become a step child, and switch to Wind, which is maintained by the core group. However, that didn't make any difference, so I went back to Clean Canvas.

This is stripped down as far as it can, and the tags don't save, and the weird meta equiv message still pops up instead of commas.

2. The issue that has already existed is that after entering a tag, the cursor either gets "stuck" in the field, or bounces back to it, so when I click in another tag field, whatever I type goes into the last tag field I was using. If click four or five times into different field, it finally lets go, but it is rather time consuming.

===========================
Version: 3.0.4 (Ricochet)
Operating system: Linux 2.6.18-194.11.4.el5
Apache/2.2.21
PHP: 5.3.8
MySQL: 5.0.95
Clean Canvas theme
Graphics Toolkit = ImageMagick
Albums: 205
Photos: 70736

 
BillWill

Joined: 2008-08-28
Posts: 205
Posted: Sun, 2012-07-08 13:36

dddddddddddddd

 
BillWill

Joined: 2008-08-28
Posts: 205
Posted: Sun, 2012-08-05 17:02
BillWill wrote:
When I type a comma after a tag to enter a new one, or if I try to use the tab key to move to the next field, the existing tags in the field are removed, and this string replaces everything:

<meta http-equiv="content-type" content="text/html; charset=utf-8">

Please at least tell me how to fix this one. Between this and the bouncing cursor described above, this is far too labor intensive to even use.

Thanks (I hope)

===========================
Version: 3.0.4 (Ricochet)
Operating system: Linux 2.6.18-194.11.4.el5
Apache/2.2.21
PHP: 5.3.8
MySQL: 5.0.95
Clean Canvas theme
Graphics Toolkit = ImageMagick
Albums: 205
Photos: 70736

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Sun, 2012-08-05 17:15
Quote:
When I type a comma after a tag to enter a new one, or if I try to use the tab key to move to the next field, the existing tags in the field are removed, and this string replaces everything:

Is this issue just with this module or with tags in general?
PM me a url and login info so I can see the behaviour.

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
Sheb

Joined: 2011-10-30
Posts: 7
Posted: Sat, 2012-09-01 16:36

Hi,

I'm using gallery 3.0.4 and greydragon-theme. I can tag pictures using the "tag"-plugin and everything works fine.

If I install and activate the "tag by group" plugin, I experience some problems. Also as admin I see an empty page after clicking on a tag, where I should see all pictures which are tagged with this special tag. I see also an empty page, if I click on the sidebar to tag all picture in the current album. It seems to work with wind-theme, but it does not with greydragon-theme.

Usually I can use the "captionator"-plugin without any problems, but with the activated "tag by group"-plugin, I see there also an empty page instead of all pictures of the current album.

Do you have any suggestions, what the problem is and what I can do?

Thanks a lot!

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Sat, 2012-09-01 17:31

Can you confirm that it works as expected with the wind theme and not the GD theme. It would help in troubleshooting as I would have to install the GD theme to test.

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
Sheb

Joined: 2011-10-30
Posts: 7
Posted: Sun, 2012-09-02 06:59

I tested it just right now and with the wind theme it works (also the captionator module), but after changing to greydragon theme it is as I described before.

For the case, that the little changes I made to greydragon theme are the reason, I downloaded the recent version and installed it, but it also does not work.

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Wed, 2012-09-05 02:44

Please test the attached file.
save as gallery3/modules/tag_by_group/helpers/tag_by_group_block.php replacing the existing.
Report back if it works.

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
Sheb

Joined: 2011-10-30
Posts: 7
Posted: Mon, 2012-09-10 08:53

Hi,

it does work. The captionator module is working now again and I can also tag single pictures. I can see the overview of pictures, if I try "tag items in this album". But if I try to tag the pictures there I can write a tag into the form, but after pressing "Enter", the following appears in the tag field: <meta http-equiv="content-type" content="text/html; charset=utf-8">, ... and no tag is set.