Group activity

  • @Isabelle: I can't confirm the issues 1-3 you are describing. Which version of Tidypics are you using for testing on Elgg 1.9? Is it 1.9.1beta13? The $vars["url"] deprecated issue can definitely not be caused by Tidypics, because it's not used... view reply
  • @iionly : Initial testing results - Fresh installation of both 1.9 and plugin Deprecated errors in /photos/siteimagesowner/guid = Deprecated in 1.8: Do not rely on $vars["url"] being available in views No page owner is beign set... view reply
  • As far as I can see upgrading is okay. Upgrade script is working. view reply
  • Not all tags can be related to a specific part of an image. Some tags aim rather at the whole image. These tags can be added by the image uploader during upload or at a later time when editing the image - like with ANY other type of site content.... view reply
  • Taggging, in the sense, marking on the photo takes too many steps compared to real world user nets. Please see the attached image file. Most often the new member may not know that this feature is there. When tags are listed by the side of the tag... view reply
  • The number of images in an album is not limited as such, so the number of thumbnail images of the album to be shown in these river entries must be limited. I understand. Thanks.   If you want a behaviour that's somewhere between these... view reply
  • The testing is not about upgrading from an older version of Elgg but about upgrading from an older version of Tidypics. The upgrade script in the new version of Tidypics fixes the existing river / comment / like entries made on the activity page to... view reply
  • the main intention I asked for feedback: how does the upgrade script included in beta 13 works for you? I tested on a default installation of Elgg 1.8.19 so that there is no possibility of conflict with anything else. So to test upgrade script I... view reply
  • Thanks for the the suggestions. But that is not what I would first of all need to know - the main intention I asked for feedback: how does the upgrade script included in beta 13 works for you? The memory requirement for image resizing when using... view reply
  • Still testing .......... 1)    Cannot upload sample  image file - 4000 x 3000 pixel but size is very little, approx 200 kb - error message : too many pixels problem with php ini settings ?? problem with tidypics or elgg?? 2)... view reply
  • This is a great work being done. Thanks for the update. Feedback soon. This is the most important plugin that one needs apart from the core - so once again huge huge thanks to iionly! view reply
  • Ready for TESTING means: Please do not use it on any productive sites yet! Therefore, the upcoming next release of Tidypics is only available on github for now. What's new: The major change is the handling of comments and likes made via the...
    • @Isabelle: I can't confirm the issues 1-3 you are describing. Which version of Tidypics are you using for testing on Elgg 1.9? Is it 1.9.1beta13? The $vars["url"] deprecated issue can definitely not be caused by Tidypics, because it's not used within the code of Tidypics anymore anywhere. Do you have any other 3rd party plugins enabled? Other plugins might result in the issues you are describing if they are interferring with the views and pages of the Tidypics plugins. Please try again with no other 3rd party plugins enabled. Does the same problem happen again.

      Issue 4: the popup will only show the albums of the logged in user - no exception for admins. I don't think it would make sense to display all albums of the site for admins because the dropdown menu might contain a very high number of albums then without any chance of seeing who is the album owner. If you want to add images to an album of another user please go this the page of this album and use "Upload photos to this album".

      Any feedback regarding the upgrade script - if you are indeed testing beta13 on Elgg 1.9 and have already existing Tidypics content on this test installation?

    • @iionly : sorry for the wrong reporting on error 1. I was just going to post that, before you made this post. 

      • #1 is not due to tidypics
      • #2 still exists. I have gone through the code of pages/list/siteimagesowner.php and I could not find where you are setting the pageowner entity.
      • #3 - I will check once more.

      I am using https://github.com/iionly/Elgg_1.9_tidypics version number 2014040201.

      I haven't tested it on an upgrade installation. I dont have any big installation of 1.8 at the moment.

       

    • #2: images of a certain user page is called either by http://site.url/photos/siteimagesowner or http://site.url/photos/siteimagesowner/<user_guid&gt;

      If there's a user guid in the url (in case you want to see the images of this other user), the guid is retrieved in the pagehandler function in start.php:

      if (isset($page[1])) {
          set_input('guid', $page[1]);
      }

      Then in siteimagesowner.php:

      $owner_guid = get_input('guid');
      $owner = get_entity($owner_guid);
      if(!$owner || !(elgg_instanceof($owner, 'user'))) {
          $owner = elgg_get_logged_in_user_entity();
          $filter = elgg_view('filter_override/siteimages', array('selected' => 'mine'));
      } else {
          $filter = '';
      }

      Here the user's guid is retrieved. If there's no guid in input or it isn't a valid user guid the owner (page viewer) is assumed to be the currently logged in user in session. The page has indeed no "owner" retrieved by elgg_get_pageowner* or set by elgg_set_pageowner*.

  • iionly replied on the discussion topic add photos to album of friends
    The admin user access level permissions is not something you can rely on here. Elgg core already allows an admin user to have read/write access to everything. A corresponding access level handling is not implemented for friends in core. The handling... view reply
  • Hanzolo replied on the discussion topic add photos to album of friends
    Wow, sounds more complicated than I thought. My guess was I had to change $admin to $friends somewhere ;) Thank you again, iionly! I will have a closer look, maybe with success. view reply
  • iionly replied on the discussion topic add photos to album of friends
    Not easy - I'm not able to tell you what you would have to modify to get the uploading of images to friends working without some detailed code review - and I don't have the time to do that currently. Sorry. But it should be possible for sure. For... view reply
  • Hanzolo replied on the discussion topic add photos to album of friends
    Thanks Krischan! I would give it a try, but I have several plugins that depend on tidypics. And I am pretty happy with it, too. I think I have to find out, where the write permissions are set and change it to $friends or something. view reply
  • Krischan replied on the discussion topic add photos to album of friends
    Have a look at the alternative hype-gallery plugin which supports this and is generally a very nice photo-plugin too. view reply
  • Hanzolo replied on the discussion topic add photos to album of friends
    I mean: Should be the same as the permission for group members to post photos to a group album - or am I wrong? view reply
  • Hanzolo added a new discussion topic add photos to album of friends
    Hi there, how do I change the code to enable friends adding photos to albums? Right now only admins can add photos to an album. But I want friends to add photos to my albums as well. Should be possible, right?   Cheers
    • Not easy - I'm not able to tell you what you would have to modify to get the uploading of images to friends working without some detailed code review - and I don't have the time to do that currently. Sorry.

      But it should be possible for sure. For example, the container_guid/entity is used to verify if a user is allowed to upload images to an album. The container entity of an album is either a user or group. You would need to modify this check to add also a check for friend relationships to allow for other users to add images to an album. But you would need to change more: "Upload photos to this album" button show up also for friends, "Upload photos" (album selection) to also show up friends's albums and you would also need to grand writing permissions for the album entities in the actions, modify the edit pages for images and albums. And I think there might also be other things to change that I miss right now...

    • Wow, sounds more complicated than I thought. My guess was I had to change $admin to $friends somewhere ;) Thank you again, iionly! I will have a closer look, maybe with success.

    • The admin user access level permissions is not something you can rely on here. Elgg core already allows an admin user to have read/write access to everything. A corresponding access level handling is not implemented for friends in core. The handling of content within groups is also slightly different. On the one hand, there are some additional restrictions possible (like no access for non-group members) but it also makes collaborative access handling easier to implement for group members.

      What I missed to mention is the existence of the permission plugin hooks available in Elgg core (this mechanism is also used in Tidypics for handling access / upload sharing on group albums). Adding an appropriate callback function to allow write access to albums for friends of a user might make the implementation slightly easier. Still, you would need to modify the views also for the upload buttons to show up for friends and maybe still modify other things.

  • rjcalifornia replied on the discussion topic How To Upload Image From URL?
    TinyMCE supports this option. If you want to do it with the files plugin, you need to extend it to allow this feature, because I don't think this has been done. Rodolfo Hernandez Arvixe/Elgg Community Liaison view reply