Esha

About me: WordPress Developer, Blogger, Traveller , Elgg Developer
Location:

Elgg Sites

No items to show

Send private message

You must be logged in to send a private message.

Friends

No friends yet.

Group membership

Activity

  • Esha commented on the plugin Login to download File
    I will explore chances of having Pro version of plugin. Please refer the official documentation that would help you
  • Esha replied on the discussion topic How to project file download button?
    Thanks for pointers. I am working on Elgg project (A Community Site of my own). This helped me get my hands dirty with Elgg. I have converted the requirement to Elgg plugin. So people can install the plugin instead of changing Core file. Below... view reply
  • Esha uploaded a new plugin: Login to download File
  • Esha replied on the discussion topic Pointers to help me create plugin for below use case
    Thanks for fast response. I am using 3.1.1 the latest stable version view reply
  • Esha added a new discussion topic Pointers to help me create plugin for below use case in the group Beginning Developers
    Hi, I am WordPress developer but using Elgg for one of my project. I have certain customization to make and considering creating plugin for them so that other Community members can use. I am listing one of the Use case below and any help in this...
    • Thanks for fast response. I am using 3.1.1 the latest stable version

    • 1.

      In first, you can try to disable option for allowing users to set their own suggested privacy setting;

      Administration -> Site settings (Content module)

      Also, you can use the hook in your custom plugin.

      start.php

      elgg_register_plugin_hook_handler('view_vars', 'input/access', 'disable_access_levels', 999);
      
      function disable_access_levels(\Elgg\Hook $hook) {
          $return = $hook->getValue();
          $return['disabled'] = true;
          return $return;
      }

      2.

      Use this hook in your custom plugin (start.php):

      elgg_unregister_plugin_hook_handler('view_vars', 'input/access', 'pages_write_access_vars');
      elgg_register_plugin_hook_handler('view_vars', 'input/access', 'disable_pages_write_access', 999);
      
      function disable_pages_write_access(\Elgg\Hook $hook) {
          $return = $hook->getValue();
          $return['value'] = ACCESS_PRIVATE;
          
          return $return;
      }

      Learn more about views.

      Read this trick also.

  • Esha joined the group Beginning Developers
  • Esha replied on the discussion topic Accessing Admin Performance Page Issue on Nginx
    I just solved this by wrapping above code in IF statement to check if Server is Apache Server. I tried creating a plugin but failed. If someone can point me one of my query it would help. I tried to create plugin and override the view by creating... view reply
  • Esha replied on the discussion topic Elgg Fatal error
    I faced similar issue in my local (EASYPHP) with Elgg 3.1.1. Though Elgg 3.1.1 works fine on my Nginx Debian setup. For Local I used Elgg 3.0.6 and it worked fine. May be you can try that version for now and see how it goes view reply