JayT

About me: Sadly, we are closing our elgg project, Epic Years, due to circumstances which has limited the amount of time we could devote to improving and managing the site. Oh, well.

Send private message

You must be logged in to send a private message.

Friends

No friends yet.

Group membership

Activity

  • JayT replied on the discussion topic Chrome browser and image proxy plugin
    Just an FYI for those who have an https site and who are using the "Image Proxy" plugin: If images posted from photobucket don't show for members using Chrome and sometimes for members using IE, Safari and Firefox, there is a work... view reply
  • JayT commented on the plugin Image Proxy
    We recently opened our elgg site - elgg Release - 1.12.2, Version - 2015041400. It is https. We are using this image proxy plugin so that our members can embed comment graphics from any site. A few days ago, a member reported having problems...
  • JayT replied on the discussion topic Chrome browser and image proxy plugin
    @Cim The error log doesn't show anything. However, when using the devloper tools with Chrome, there is a list of errors. For one image from photobucket, it gives the image proxy url with the image url following it, then the token info. In the... view reply
  • JayT added a new discussion topic Chrome browser and image proxy plugin in the group Elgg Technical Support
    We recently opened our elgg site for people 40 years and older - elgg Release - 1.12.2, Version - 2015041400. It is https. We are using the image proxy plugin https://elgg.org/plugins/1874086 so that our members can embed comment graphics from any...
    • @Cim
      The error log doesn't show anything. However, when using the devloper tools with Chrome, there is a list of errors. For one image from photobucket, it gives the image proxy url with the image url following it, then the token info. In the image url, the colon and slash marks are replaced by character entities %3A and %2F respectively.
      The image was shown 2 times in the list with two different error messages, "Failed to load resource: the server responded with a status of 403 ()" and "Failed to load resource: net::ERR_SPDY_PROTOCOL_ERROR"

      The other 2 items in this group also had the "Failed to load resource: the server responded with a status of 403 ()" message
      One if is video from Facebook and one is an image from facebook. Both also had the character entities instead of the colon and slash mark in the direct link. I used Firefox to get the direct links to both the video and facebook image and then was able to use Chrome to view them.

      @ Steve Clay, Thank you for the link. I will do as you suggest.

    • Just an FYI for those who have an https site and who are using the "Image Proxy" plugin:

      If images posted from photobucket don't show for members using Chrome and sometimes for members using IE, Safari and Firefox, there is a work around. Ask your members to add an "s" after the http in the image tag for images stored on photobucket before they post. This includes images for the comment sharing site, Satisfaction.com, whose images are stored on photobucket.

      We have not found out why the plugin does not work "as is" with images from photobucket, and may never know, but adding the "s" works for now.

    • I guess it depends on the SSL and browser. I remember Elgg didn't show any of my images from non-secured links.

  • JayT replied on the discussion topic Attempting to update customstyle plugin to 1.12
    Thank you for the code. I'm getting a little closer to where I need to be. I did catch a typo in the last two sets of code you gave me. I'm pretty sure 'subtupe' should be 'subtype' (first line of each set of... view reply
  • JayT replied on the discussion topic Attempting to update customstyle plugin to 1.12
    Thank you! Thank you! I'll go test it out and let you know what happens. view reply
  • JayT added a new discussion topic Attempting to update customstyle plugin to 1.12 in the group Beginning Developers
    I'm not a coder. I would like to offer memberrs of our site  the ability to add style to their profile pages. I haven't been successful in previous attempts to combine/update plugins, so I'm starting over by attempting to update...
    • set_page_owner($_SESSION['user']->getGUID());

      elgg_set_page_owner_guid(elgg_get_logged_in_user_guid());

      $current_user = $_SESSION['user']->getGUID();

      elgg_get_logged_in_user_guid();

      $customstyle_object = $user->getObjects($metadata_name, 1, 0);

      $customstyle_object = elgg_get_entities_from_metadata(array(
      
      'metadata_names' => $metadata_name,
      'metadata_owner_guid' => elgg_get_logged_in_user_guid(),
      'limit' => 1,
      
      ));

      $customstyle_object = $current_user_entity->getObjects("customstylebackground", 1, 0);

      $customstyle_object = elgg_get_entities(array( 'type' => 'object', 'subtupe' => 'customstylebackground', 'owner_guid' => elgg_get_logged_in_user_guid(),'limit' => 1 ));

      $customstyle_object = $current_user_entity->getObjects("customstylecolors", 1, 0);

      $customstyle_object = elgg_get_entities(array( 'type' => 'object', 'subtupe' => 'customstylecolors', 'owner_guid' => elgg_get_logged_in_user_guid(),'limit' => 1 ));

       

      I've not tested it with this plugin so use it at your own risk.

    • Thank you! Thank you!

      I'll go test it out and let you know what happens.

    • Thank you for the code. I'm getting a little closer to where I need to be.

      I did catch a typo in the last two sets of code you gave me. I'm pretty sure 'subtupe' should be 'subtype' (first line of each set of code).

       I also made some other changes for code that was deprecated according to the code diagnostic plugin. I also updated the menu to the newer style. There is still a few other changes that the code diagnostic plugin suggests but the suggested change causes a white page with no explanation, so I'm leaving those alone for the moment.

      At this point, when I click to save changes from either the background or colors editing pages, the changes are not saved and I get an error message: "The action file for customstyle/savecolors was not found" OR "The action file for customstyle/savebackground was not found". So, I'll be back with more questions as soon as I dig a little more.

      Thanks again for the code.

      JayT

  • JayT added a new discussion topic Plugin to give members ability to style profile pages in the group Beginning Developers
    In the social network we are creating, we would like to offer members the ability change backgrounds on their profile pages and to make some other changes - like color choices and perhaps backgrounds for certain sections. We're using Elgg...