Hello everyone.
I am writing a small chat module and I want to trigger some actions and I don't know how to do.
I want to run some functions everytime the following actions will be performed.
My chat client is written in javascript and should be executed during login process because it needs user login and user passord.
I dont know which functions or views I should used.
I need your help
Best regard.
info@elgg.org
Security issues should be reported to security@elgg.org!
©2014 the Elgg Foundation
Elgg is a registered trademark of Thematic Networks.
Cover image by RaĆ¼l Utrera is used under Creative Commons license.
Icons by Flaticon and FontAwesome.
- ihayredinov@ihayredinov
ihayredinov - 0 likes
- Hermand Pessek@rheman
Hermand Pessek - 0 likes
- When "Friend request" is Approved or Declined.
- ihayredinov@ihayredinov
ihayredinov - 0 likes
You must log in to post replies.Depends on how the plugins manage the requests.
http://learn.elgg.org/en/stable/guides/events-list.html
Thanks a lot.
I am using elgg_register_event_handler('create', 'friendrequest', 'my_function') for handling friend request and everything work perfectly.
But I dont know which event I should used when the following action is performed:
Best regard
Look at the action and see what happens to the relationship when the request is approved or declined. Maybe the plugin triggers additional events.