This is the update.sql I created for updating the group photo album module:
Geeks, making the world a better place |
After updating I am seeing a couple of issues. One is the group photo album block on the Home Page is showing albums that are marked to be viewed by group members only. The featured block also shows photos from albums that are marked group members when the logged in member is not a member of that group. There is no feature photo block on the group home page and I am not seeing it in the inactive items. Perhaps my update.sql did not include that? Geeks, making the world a better place |
Hello geek_girl, With regards to the privacy issue, give me some time, I need to investigate this question. |
I updated the package, and also I included your update.sql into the package. I changed INSERT INTO `sys_page_compose` ... (NULL, 'bx_events_main' (in the update.sql)
Two files (AGpalbumsModule.php and AGpalbumsImgSearch.php) were updated - you can update them. |
Thanks Andrew, will download the updates. I just want to take the time to say that you are one of the best developers on Boonex; you answer questions and issues in a timely matter and that means a lot. Again, Thanks. Geeks, making the world a better place |
I made sure to log in as a non-admin of the site. I checked the photo albums for their privacy level. All photos album on the home page were set to privacy level members (members of the site, not the group) What I am seeing is that if a group is a private group, then photo albums that are shared to members of the site can not be view, you get Access Denied. I am guessing this is from Dolphin not allowing the viewing of the photo album due to blocking non-members of the private group from viewing group content. If fixing this is going to be difficult or impossible, then I may just opt to remove the photo album block from the home page because of the access denied when trying to view the photo albums from private groups. The other solution for a private group would be to check if the group is private and then remove the privacy levels of public and members since the photo albums can not be viewed in a Private Group; that might be a workable solution. Update: I am not seeing the featured button on the photo view page after I updated the files. Geeks, making the world a better place |
Hi geek_girl, Yes, of course, privacy rules of a group is more important than privacy rules of its photo albums. We always should check for group's privacy rules when we are at inside pages of the group. But yes, you are right, that in two new blocks (feature photos) we don't check for privacy rules of it's parent groups, we check only for privacy settings of it's albums. If you need, I can show you how to add this extra check for group's privacy settings for both blocks of images. Send me a letter for this instruction |
With regards to the 'Feature' button, this button is in 'modules\andrew\gpalbums\templates\base\photo_unit_full.html' file. If your HTML cache is enabled, you will need to clean your caches before you see this button |
Hi Andrew, I have a strange request. I have the Group photo album installed and working fine as version 2.0.0 on D7.1.4 When I try to update to version 2.0.1 of the module and run the update (2.0.0-2.0.1).sql I get this error. ErrorSQL query: ALTER TABLE agrp_palbums_units ADD COLUMN `rate` float NOT NULL AFTER `Filename` ,
I looked at my database structure and could not find any tables with "agrp" So - how could my groups and group albums be working fine as version 2.0.0 but I am not able to update to 2.0.1 because the "table does not exist?" :) Example: http://molosserdogs.com/m/gphotos/group/Spanish-Mastiff-Mastín-Español/album/Some-Spanish-Mastiffs/ This is the sql ALTER TABLE agrp_palbums_units
Gary http://molosserdogs.com |
Hi Andrew, thanks for the good work, well done! It works very well, but after adding some photos, I was in need to set the main thumb for an album. For me it's quite simple by accessing mysql directly and change the data of the album record, but simple users can't do that of course. Is there actually no way to set the desired thumb in the available forms and functions, or did I miss something? Best regards, Tom |
Hello, 2 gsicard, please make sure that the table 'agrp_palbums_units' exists in your database. This is the main table of the module which was not added recently, but it was added long ago, in the first version of the module. 2 paeckchen, there is no need to do it, the module does it automatically: it sets last added image as album thumbnail Make sure that the module is properly installed (binary ftp mode) |
New features (v 2.0.2): |
Hello Andrew, thanks for the update! On application I encountered a problem: Do I have to apply the update.sql for 202->203 ? The regular 203 install.sql contains this sql-command also which obviously leads to an install error when installing a fresh 203 version. ---------------------------- Concerning thumbnails is my intention, that I like to choose and/or fix the thumbnail by myself. Because not always is the last picture my desired thumb, for example when I replace a picture but don't want to use it as the thumb.
Tom |
Hi Tom, |
I upgraded the module and applied the SQL updates. However, when I try to edit the photo title of a photo, it is not applied. I click on the button, the form opens up, I change the title, hit submit and the title stays the same. I even tried refreshing the page. Geeks, making the world a better place |
I upgraded the module and applied the SQL updates. However, when I try to edit the photo title of a photo, it is not applied. I click on the button, the form opens up, I change the title, hit submit and the title stays the same. I even tried refreshing the page. What I found out was that you have to include something in the description box as well; if you just have a title and no description, it won't change the title. Geeks, making the world a better place |
Hi GG, The module was updated accordingly your needs (in order to be able to edit only titles without descriptions, and vice versa). To update your version you can update the only file: AGpalbumsModule.php |
New update's features: possibility of adding (pin) pictures by URL (v2.0.3) small little badge (thumb) of a member who uploaded a photo (v2.0.4) |
kinda on/off topic request... any chance you can do a video albums for groups module!
Pleeeease :-) |
That is possible, but in case if it would be in demand. Is there anyone else who needs it? |
That is possible, but in case if it would be in demand. Is there anyone else who needs it? I think it would be a good addition to your group modules and I would be interested. However, and this is a big however, my team has no funds at this time for purchasing modules. Currently we are focused on upgrading the site files. So while I would like to add a video albums mod to groups, I can not tell you when we would be able to purchase such a module. Andrew, why not ask out in the main forums so that you can get a better idea since this is really the support forum for your photos album module and only those coming here for support and update messages even sees this. Geeks, making the world a better place |
Vid albums for group would be of interest to me when ready. |
Today the module was updated for dolphin 7.2.0 |
Today the module was updated for dolphin 7.2.0
Why add swfUpload to this module instead of using the new uploader in Dolphin 7.2? Me no understand :(
My opinions expressed on this site, in no way represent those of Boonex or Boonex employees. |
Hello,
Installed this module on my 7.2 site, and when another member of the group who is not the owner attempts to upload a photo to the album, it says access is denied, even when the group is set up to allow this. It appears that in the getFuploadFormFile function inside AGpalbumsUploaders.php, the first "if" statement is not being triggered by anyone except the album owner. Any ideas on how to fix? |
any chance of video albums for group mod soon? |
Hi C-X-H, the code is correct. By default, only website admin, group owner and group admins are able to perform all possible actions with groups. If you created album with enabled option that allow other group members to add photos - make sure that you are Fan of this group (you need to join the group). |
any chance of video albums for group mod soon? bump! |
Updated (for 7.2.x and 7.3.x) |
Still using swfupload. Why?? My opinions expressed on this site, in no way represent those of Boonex or Boonex employees. |