Send private message

You must be logged in to send a private message.

Friends

No friends yet.

Group membership

Activity

  • Higros added a new discussion topic Altering system messages in the group Beginning Developers
    Hello there, i am developing a plugin that sends messages to the user via system_message what a certain event and condition met, but i would like them to be more visible to the user so my question is, can i make those messages appear in the middle...
    • System messages layout is defined in CSS in

      views/default/elements/layout.css.php
      views/default/elements/components.css.php

      (partly also customized for example in the Aalborg theme plugin in these files overriding the core CSS files).

      Search for the classes containing "elgg-message" and "elgg-state" in their names (there are several classes for different kind of messages). Best would be to customize the CSS in a plugin of your own and not alter the core files.

  • Higros replied on the discussion topic Measuring text speed
    Solved by extending both views that are related to the case of my plugin, thanks for the help. view reply
  • Higros replied on the discussion topic Measuring text speed
    Thank you, I think I've managed to calculate the typing speed and transfer it to the php engine by using a hidden input as you proposed, but the problem is that there are sometimes cases when the user makes a post and there is no wall, so i put... view reply
  • Higros added a new discussion topic Measuring text speed in the group General Discussion
    I want to measure the typing speed of people in the php code of the hook that is triggered when someone makes a post, can this be done? I know i can do it in javascript using jquery, but I am not sure if i can do it in the php code. Need to do it...
    • Not sure what exactly you want to achieve. Time between display and submit of a form? Or the actual speed (keystroke/second)? I don't think that a plugin hook triggered when the post is submitted alone would help in any case, because you would also have to fetch the starting time and not only the end time. Maybe it would work to add a hidden input to the form with the value populated with time() and then again fetch the time in the action that processes the form input to be able to get the time difference. But a lot depends on what exactly you want to achieve in the first place.

    • Thank you, I think I've managed to calculate the typing speed and transfer it to the php engine by using a hidden input as you proposed, but the problem is that there are sometimes cases when the user makes a post and there is no wall, so i put the input in the page itself to assure that it will always be there. How can i extract an input with get_input() when this input is in a form that extends 'page/elements/html' view?

    • Solved by extending both views that are related to the case of my plugin, thanks for the help.

  • Higros added a new discussion topic HypeInteractions in the group Beginning Developers
    Hello there, i was trying to add a new functionality to the comments of hype interactions by extending the comments view, like I did with the wall view of the hypeWall plugin (using 'forms/wall/status'), but apparently...
  • Higros added a new discussion topic Retrieving related entities in the group Beginning Developers
    Hello, is there a function to extract entities related to others? (I want to extract the messages that are replies of other messages). For example, having the identifier of the original message, extracting all its replies or other entities...
  • Higros replied on the discussion topic showing views
    Thanks for the replies, I would appreciate very much a reply also on the question about blue system messages too. view reply
  • Higros replied on the discussion topic showing views
    On a side note, does anyone know the function for showing blue system messages? I know system_message() displays a green message, and register_error() for the red messages. But what about the blue ones? view reply