Send private message

You must be logged in to send a private message.

Friends

No friends yet.

Group membership

Activity

  • Jani replied on the discussion topic Want to make little thing disappear
    Big thanks! view reply
  • Jani added a new discussion topic Want to make little thing disappear in the group Beginning Developers
    So I have now with my friend some time tried to find out and crawl whole core + hypeWall plugin. When users post to their wall, there is option to choose from Public / Friends / Private. We haven't found where this "menu" is located....
    • Extend the access input's view:

      $access_id = elgg_extract('access_id', $vars, ACCESS_DEFAULT);
      
      if (!elgg_is_admin_logged_in()) {
          $access_options[ACCESS_LOGGED_IN] = elgg_echo('LOGGED_IN');
         
          $user_guid = elgg_get_logged_in_user_guid();
         
          $dbprefix = elgg_get_config('dbprefix');
      
          $query = "SELECT * FROM {$dbprefix}access_collections
                   WHERE owner_guid = {$user_guid}
                   AND site_guid = 1
                   ORDER BY name ASC";
          $collections = get_data_row($query);
      
          foreach($collections as $collection){
              $access_options[$collection->id] = $collection->name;
          }
         
          $field = [
              '#type' => 'access',
              'name' => 'access_id',
              'value' => $access_id,
              'options_values' => $access_options,
              'entity_type' => 'object',
              'entity_subtype' => 'hjwall',
              '#label' => elgg_echo('access'),
          ];
      
          echo elgg_view_field($field);
      }
  • Jani replied on the discussion topic Changing default wall filter
    With just "throw" that did not work and not removed nothing I saw but I will check tomorrow how that works. Looks promising tho. Thank from that.. view reply
  • Jani joined the group Elgg Finland
  • Jani replied on the discussion topic Changing default wall filter
    I have now tried to figure out that how about if I example want blogs and groups and posts to show but not others like profile picture changes? Or is there then another way to approach this thing by removing something rather than this way? I'm... view reply
  • Jani joined the group Elgg Technical Support
  • Jani joined the group Beginning Developers