All Site Activity

  • casper replied on the discussion topic Insert iframe in plugin
    Hi iionly, thanks for your reply. You were right. The problem was in some other part. A missing break in the page handler. Now the page stays on the view page, but no frame appears. I've made the changes you suggested. I have put... view reply
  • iionly replied on the discussion topic "Like" action is too slow
    Sorry. I guess I understoof you wrong then regarding some general network trouble. If it's only the liking that is slow then I think that everything is fine with routing and nameserver. Which version of Elgg are you using? The last... view reply
  • Hermand Pessek replied on the discussion topic "Like" action is too slow
    Thanks a lot for your answer. Only the like action is slowed page loads is not slow. I am using nameserver. I using domain name, so I maked an entry in the hosts file of each computer in my network (/etc/hosts). I dont have network or routing... view reply
  • iionly replied on the discussion topic Insert iframe in plugin
    I'm not sure if the problem is in this part of code you have updated. It does not look wrong. You could try with $content = elgg_view("output/iframe", array("src" => $iframe_d, 'width' => '100%',... view reply
  • casper added a new discussion topic Insert iframe in plugin in the group Beginning Developers
    Hello, I'm updating the OpenMeetings plugin of Krasi to the latest version with OM 4.0.3. It's my way of getting more into Elgg programming. I'm a little bit stucked with the implementation of the view of OM. In the old version it is...
    • I'm not sure if the problem is in this part of code you have updated. It does not look wrong. You could try with

      $content = elgg_view("output/iframe", array("src" => $iframe_d, 'width' => '100%', 'height' => '640px'));

      // layout 'content' or 'one_column' should both work
      $body = elgg_view_layout('content', [
          'content' => $content,
          'title' => $title,
      ]);

      echo elgg_view_page($title, $body);

      as there's an output view for iframes offered by Elgg. Layout could be either 'content' or 'one_column' to have a sidebar or not.

      My guess is that the problem might be some other part of code that you haven't updated properly yet. You might want to look into the error log and/or browser console to see if there are any entries explaining what might be wrong. Unfortunately, you won't get proper errors sometimes when updating plugins if you haven't fixed some outdated code yet as the execution doesn't even reach the part of code that would throw a useful error. So you might need to change a lot especially for old plugins before you can even start testing it properly. It can be frustrating especially at the beginning. But keep up trying.

      It might help to add some debug output like

      elgg_dump('This line of code reached', false, 'NOTICE');

      to know if the execution gets to the point at all you think the error is. You can also output variable values with the debug output if necessary.

      What you might need to do if you haven't yet is to replace usage of $CONFIG variable with elgg_get_config() as $CONFIG is no longer used by recent versions of Elgg. With elgg_get_config() you can get the necessary config variable values now.

    • Hi iionly,

      thanks for your reply.

      You were right. The problem was in some other part. A missing break in the page handler.

      Now the page stays on the view page, but no frame appears.

      I've made the changes you suggested.

      I have put a var_dump($iframe_d); above the elgg_view_page. It gives the following output.

      string(84) "http://localhost:5080/openmeetings/hash?&secure=6e1d67f5-9eda-4cbf-abdf-8786aa900c9a"

      I also replaced the iframe src with a youtube link to see if it works, but without success.

      When I echo $content or $body I get an empty frame.

      Any suggestions?

  • iionly replied on the discussion topic easytheme2 tipypics
    I've just tested myself and it works fine for me. I've tested on Elgg 2.3.6 with the latest version of Easytheme2 available here on the community site with default plugin settings and default images and with the latest version of Tidypics... view reply
  • iionly replied on the discussion topic "Like" action is too slow
    If you have network trouble (or have I understood you wrong?) then this might be the reason for the slowness. If you test in your local network, how have you configured the routing? If there's some error in the routing configuration there might... view reply
  • jmperu replied on the discussion topic easytheme2 tipypics
      when i devalide tidypics i have no problem as soon as i revalid it here is the screenshot https://driving-lovers.com/copie ecran.docx   I did not find any other way to pass you the screenshot view reply
  • Ismayil Khayredinov replied on the discussion topic Adding button for attach files from my computer
    hypeWall supports file uploads out of the box, you just need to install all the suggested dependencies. In the plugin list, click on the plugin name and see what other plugins are suggested. view reply
  • rakesh has a new avatar
    rakesh
  • CrazyPhrog added a new discussion topic Adding button for attach files from my computer in the group Beginning Developers
    Hello, I'm new to the ELGG system, and still trying to understand my ways around here. I'd wish to add a button to the hypeWall plugin (the textbox for fast commenting) that will allow users to attach a file from their computer, and so...
  • Hermand Pessek added a new discussion topic "Like" action is too slow in the group Beginning Developers
    Hi everyone, When I use browser of my local server, and when I "like" a content, The "like" action is performed quickly and the the confirmation message "you now like this item" is displayed. But when I try to use...
    • If you have network trouble (or have I understood you wrong?) then this might be the reason for the slowness. If you test in your local network, how have you configured the routing? If there's some error in the routing configuration there might be trouble resolving the route to the computer with the Elgg site on. Is it really only the like action that is slow or are other action / page loads also slow? Have you set up your Elgg site with an IP address as site url or have you set up a "domain name". And how are you accessing the site from the other computers: in the same way as on the Elgg site server (IP or domain name) or do you enter a different url? The simpliest way to set up would be to use some domain name (not localhost) as site url, e.g. myelggsite.home.nil and then make an entry in the hosts file of each computer you want to access the site from to route this domain to the IP of the Elgg server. If you don't do it this way, you would need to set up a local nameserver for the routing (if you haven't done so yet).

    • Thanks a lot for your answer. Only the like action is slowed page loads is not slow.

      I am using nameserver. I using domain name, so I maked an entry in the hosts file of each computer in my network (/etc/hosts).

      I dont have network or routing trouble beause other website on the same network works perfectly.

      Best regard.

    • Sorry. I guess I understoof you wrong then regarding some general network trouble. If it's only the liking that is slow then I think that everything is fine with routing and nameserver.

      Which version of Elgg are you using? The last significant change in code in the likes plugin was made with the release of Elgg 2.3.0. So, it might help to upgrade to Elgg 2.3 if you are not using it yet (if you are still on Elgg 1.x this might not be a suitable solution on short term though).

      Have you tested if some other 3rd party plugin causes the issue. Maybe some other plugin interferres here and slows down the like action. If you temporarily disable all other 3rd party plugins you could test out if this makes any difference for the like action. Unfortunately, I have no other ideas at the moment and can't point out any plugin that might be a candidate for causing trouble with the likes plugin.

  • iionly replied on the discussion topic easytheme2 tipypics
    I think I don't fully understand the problem. Is it showing only with EasyTheme enabled or due to some other 3rd party plugin you use? Have you modified any plugin/Easytheme or does the problem show with unmodified plugin code already? Can you... view reply
  • iionly replied on the discussion topic administration plugin click on the plugin name
    The error is most likely caused by one of the 3rd party plugins you have installed not being fully compatible with the version of Elgg you use. Try it with all 3rd party plugins disabled. Do you still get the error then? You can also look for errors... view reply
  • iionly replied on the discussion topic Difficulty for new members to register on elgg 2.3.6
    I've just tested and it works fine for me on Elgg 2.3.6 with restricted page access enabled. Could it be that you have installed a 3rd party plugin on your site that fails to work (at least partly) with walled garded mode (restriced access)... view reply
  • iionly replied on the discussion topic Email
    With regards to validation emails the uservalidationbyemai plugin should work out-of-the-box if sending of emails (like email notifications from Elgg) from your Elgg site works. view reply
  • iionly replied on the discussion topic Email
    Somewhere along the way of the email it most likely gets rejected because the sending server (the MTA on your server) is not a gmail server. By default, Elgg requires a MTA to be configured on the server that handles sending of mails. If the MTA... view reply
  • iionly replied on the discussion topic Customizing Timeline
    Elgg uses mainly php. There's also some javascript code but for a start coding in php should cover the basic customization cases. Best would be you just install Elgg and try for yourself. view reply