Send private message

You must be logged in to send a private message.

Friends

No friends yet.

Group membership

Activity

  • seri_ng replied on the discussion topic Activating Customized Plugins on Elgg 3.0 Error
    Thanks for your response Ismayil. I removed  the remove_private_setting() and replaced it with $this->getPrivateSetting($name); see the code below. // engine/classes/Elgg/Database/Plugins.php $name =... view reply
  • seri_ng added a new discussion topic Activating Customized Plugins on Elgg 3.0 Error in the group Elgg Technical Support
    I have my website running on Elgg 2.7 and wanted to try out Elgg 3.0. After installing everything, Elgg 3.0 worked fine on browsers. Then i rsync my customized plugins with Elgg.3.0 plugins and it still worked. But when I tried to...
  • seri_ng joined the group Elgg Technical Support
  • seri_ng replied on the discussion topic how to get metadata names for specific subtype?
    Thanks again iionly. I know I left out the type and subtype in my query above :). I am going to study those Elgg Developer tools as you suggested view reply
  • seri_ng replied on the discussion topic how to get metadata names for specific subtype?
    Thanks iionly! What I wanted to achieve is to create a filter function that takes metadata_value as an input, i.e. "SELECT * FROM my_table WHERE metadata_name = 'metadata_value'". view reply
  • seri_ng added a new discussion topic how to get metadata names for specific subtype? in the group Beginning Developers
    $metadata = array('name' => 'metadata_name', value => 'metadata_value'); $options = array(    'type' => 'object',    'subtype' =>...
    • Thanks iionly! What I wanted to achieve is to create a filter function that takes metadata_value as an input, i.e. "SELECT * FROM my_table WHERE metadata_name = 'metadata_value'".

    • I don't see how a general filter of metadata names for unspecific entity types/subtypes would make sense. You can use the entity explorer of the Elgg Developer tools plugin to get an idea what kind of metadata are connected to different type of entities. For example, blogs have metadata "status", "comments_on" and "excerpt". I don't see how any of these metadata types would give any useful search results. It might be different for some specific entity subtypes where some metadata would make sense to be used in a filter. But then I would think it would still be the only useful way to build up the filter specifically limited to certain entity subtypes and corresponding metadata_names (which you could either find out about using the entity explorer or maybe still better by looking into the code to figure out under what condititions a metadata exists in the first place).

      The activity page already has a filter for entity subtypes. Maybe you could use the code used for this filter to have a subtype filter. Then you might want to add an additional criteria for limiting search results for example by time_created between lower and upper limits (elgg_g* functions have parameters for that). I don't know what other features for a filter would make sense.

    • Thanks again iionly. I know I left out the type and subtype in my query above :). I am going to study those Elgg Developer tools as you suggested

  • Thank you very much in advance for your help.  I tried codes below. But after I clicked to upload my file, it returned register_error('No file').    // In myplugin/views/default/forms/myForm.php $myfile =...