Does anyone help me please?
I want to have Message Board Notifications in Live Notifications Ajax plugin ( http://community.elgg.org/plugins/1144603/1.8.0/new-live-notifications-ajax ) when someone post in your message board plugin but i still haven't found out how to do this :(
In the plugin page, Fernando Vega said that: "
To integrate a new event this plugin manually:
It is only necessary to call the function add_new_notification() with appropriate parameters, this would be called into elgg action where running the desired event.
add_new_notification($to_user_guid, $from_user_guid, $action_type, $entity_guid, $description);"
Is this function used to add a new notification type? Where should i call it?
Thank you very much.
PS: I'm sorry if i had any typing mistakes cause i'm not speaking English.
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.
- BillDre@billdre12
BillDre - 0 likes
- MPadmin@lamkityung
MPadmin - 0 likes
You must log in to post replies.Anybody helps me, please.
maybe at mod/messageboard/actions/add.php add :
add_new_notification($owner_guid, elgg_get_logged_in_user_entity(), $action_type, $entity_guid, $message_content);
after line 16, but for $action_type and $entity_guid, I have no idea what the value should be~