All Site Activity

  • Satheesh PM added a new discussion topic Roles and Media Plugin in the group General Discussion
    While I have been a fan of Elgg since 2010, I have observed some areas where it could be improved. Notably, Elgg currently lacks (I feel so) certain default bundled plugins, such as photo and video sharing capabilities, which are increasingly...
  • Satheesh PM commented on the plugin Market
    Code does not work for me. I just made the change getIconURL('large'), to getIconURL('master'),
  • Nikolai Shcherbin commented on the plugin Market
    how to show a larger image in elgg-lightbox Lightbox is enabled for all images and should work. If you mean to increase the width of the image in the lightbox, you can change this code on: echo elgg_view('output/url', [  ...
  • Satheesh PM commented on the plugin Market
    thanks i disabled gd and enabled imagick. webp was enabled while gd is in active. Now its working after I uploaded new images. Just one more question how to show a larger image in elgg-lightbox thanks
  • Nikolai Shcherbin commented on the plugin Market
    I can't reproduce it. All works as expected. Are you sure your server supports the WEBP image extension?
  • Satheesh PM commented on the plugin Market
    i have installed market but the photos uploaded to the market post doesn't visible. span></a></li><li class="elgg-item"><a...
  • Thanks, iionly. I tried doing this with different variations of the code. For example, this one: $file = new \ElggFile(); $filename = time() . 'file.txt'; $file->setFilename($filename); $file->filestore_prefix =... view reply
  • As Jerome said, setting $file->owner_guid = $user->guid; is the reason. Have you tried NOT setting owner_guid at all? It also seems you're not setting container_guid in the code of your latest post. I guess you could still... view reply
  • Thanks for your reply. Unfortunately, nothing helped. I tried to do this: $file = new \ElggFile(); $file->owner_guid = $user->guid; $filename = elgg_strtolower('file/' . time() .... view reply
  • Nothing is wrong this is completely expected behavior. You set $file->owner_guid to $user->owner_guid thus the file contents gets saved there. When generating icons we try to keep them with the entity the icons relate to. In this case the... view reply
  • Jerome Bakker published a blog post Elgg 6.0.4 has been released
    A bugfix release for Elgg 6.0 is now available
  • Hello. I'm trying to create a file not from the local storage: $temp = new \ElggTempFile(); $temp->open('write'); $temp->write($content); $temp->close(); $file = new \ElggFile(); $file->owner_guid =...
    • Thanks for your reply.

      Unfortunately, nothing helped.

      I tried to do this:

      $file = new \ElggFile();
      $file->owner_guid = $user->guid;
      $filename = elgg_strtolower('file/' . time() . 'file.jpg');
      $file->setFilename($filename);
      $file->filestore_prefix = 'file';
      
      $file->open('write');
      $file->write($content);
      $file->close();
      
      

      There was a typo in the previous example not $user->owner_guid but $user->guid.

      But that didn't help either.

      I'm using Elgg 5.1.9

    • As Jerome said, setting

      $file->owner_guid = $user->guid;

      is the reason.

      Have you tried NOT setting owner_guid at all?

      It also seems you're not setting container_guid in the code of your latest post. I guess you could still set

      $file->container_guid = $user->guid;

      to preserve the owner information after omitting to set owner_guid.

    • Thanks, iionly.

      I tried doing this with different variations of the code.
      For example, this one:

      $file = new \ElggFile();
      $filename = time() . 'file.txt';
      $file->setFilename($filename);
      $file->filestore_prefix = 'file';
      
      $file->open('write');
      $file->write('Test');
      $file->close();

      But the file is still saved in the logged in user's folder, but not under its own GUID

  • Selen commented on the plugin Widget Manager
    A note: I realize that now Widget manager 14.1.1 has an extra setting for group widgets "Number of widget columns in a group". In my case set to 2. This was not there in VM 8.3.2. Probably it is related to new behaviour. cheers!
  • Selen commented on the plugin Widget Manager
    Thank you for your prompt reply! No, this was never a feature. Maybe you have this mixed up with only a partial topbar row  Maybe you are right for the Custom Index. If I chose "Two columns aligned left" for "Show a top...
  • Selen commented on the plugin Login Redirector
    Make sense! Depending on my final decision whether to upgrade from Elgg 2.x, I shall consider both options. Thank you for your prompt reply! cheers
  • Jeroen Dalsem commented on the plugin Login Redirector
    With the correct funding we can update this for Elgg 6 if you need it, or if you are a developer, you could try to update it yourself
  • Jeroen Dalsem commented on the plugin Widget Manager
    Is there a mechanism to simulate the effect of 'Show a top row on the index page' plugin setting in previous versions? No this has been removed in v12  Is there a mechanism also to make a widget to spread over more than one...
  • Selen commented on the plugin Login Redirector
    This was a good plugin...
  • Selen commented on the plugin Widget Manager
    Hello Is there a mechanism to simulate the effect of 'Show a top row on the index page' plugin setting in previous versions? Is there a mechanism also to make a widget to spread over more than one column (like in old versions) while...
  • Nikolai Shcherbin released a new version of the plugin IndieWeb