Send private message

You must be logged in to send a private message.

Friends

No friends yet.

Group membership

Activity

  • Kerjo replied on the discussion topic Live Chat
    Thank you. From a security perspective, is it sufficient to compare the cookie called "Elgg" received from the client and the one received from your snippet to consider the user "legit"? (Using only HTTPs) view reply
  • Kerjo added a new discussion topic Live Chat in the group Performance and Scalability
    Hello, I created my own live chat and live notifications plugins (for a demo). It works well. However, the website is not in production yet and I don't expect it to still work with a lot of users (I poll the server every...
    • Client sends his session cookies to AWS

      Use the below code snippet in your start.php init function. This function is called after the user has logged in successfully.
       
      elgg_register_plugin_hook_handler('action', 'login', function ($hook, $entity_type, $returnvalue, $params){
        // command to send session cookie to AWS
        return true;
      });
      

      Elgg would be able to revoke authorisations (e.g. on logout)

      elgg_register_plugin_hook_handler('action', 'logout', function ($hook, $entity_type, $returnvalue, $params){
        // command to destroy session cookie to AWS
        return true;
      });

      AWS contacts Elgg to verify client's tokens/AWS would periodically check tokens

      This can easily achieved using API

    • Thank you.

      From a security perspective, is it sufficient to compare the cookie called "Elgg" received from the client and the one received from your snippet to consider the user "legit"? (Using only HTTPs)

  • Kerjo joined the group Performance and Scalability
  • Kerjo replied on the discussion topic Upgrade to Elgg 3.0
    Thanks, this value wasn't defined and now it works. (I probably missed it during the upgrade) (Searching a specific emoji still behave weirdly by returning all entities containing 1 emoji. It seems to be caused... view reply
  • Kerjo has a new avatar
    Kerjo
  • Kerjo replied on the discussion topic Upgrade to Elgg 3.0
    Ok I got something. I edited the file : engine/classes/Elgg/Database/DbConfig.php (on master) : line 130 : changed 'utf8' by 'utf8mb4' and emojis are now correctly handled. However, I don't know if it is the... view reply
  • Kerjo replied on the discussion topic Upgrade to Elgg 3.0
    Exciting Thank you for your answer. I could run the upgrade modifing the line 121 with : $innodb_large_prefix = get_data_row("SHOW GLOBAL VARIABLES LIKE 'innodb_large_prefix'"); if( $innodb_large_prefix->Value !==... view reply
  • Kerjo added a new discussion topic Upgrade to Elgg 3.0 in the group Elgg Technical Support
    Hi, I am creating a social network using Elgg. As I was building my first plugins, I decided to upgrade Elgg from 2.3.7 to 3.0 so I won't have to do the work twice. In Elgg 3.0 administration, I have one last pending upgrade...