Well its been over a week since the first release and I am really excited to announce the next version.
This release make it easier for developers to make their plugins give live notificiations as it now uses the elgg notification handlers. all users have to do it add a new parameter $live = "has written on your wall...... etc.
take a look at the message board for example
notify_user($user->getGUID(), $_SESSION['user']->getGUID(), $subject = elgg_echo('messageboard:email:subject'),
$message = sprintf(
elgg_echo('messageboard:email:body'),
$_SESSION['user']->name,
$message_content,
$CONFIG->wwwroot . "pg/messageboard/" . $user->username,
$_SESSION['user']->name,
$_SESSION['user']->getURL()
),
$live = "has written on your message board <a href=\"". $CONFIG->wwwroot . "pg/messageboard/" . $user->username . "\"> click here to see it </a>"
);
New features
Please make sure that this plugin is at the bottom of your plugin list.
View Mark Harding's plugins
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.
does it work on 1.7.7?
Is there a way to add the users profile icon next to their name in the notifications> both on topbar and on "see all notifications"
I will be looking into updating this for elgg 1.8 shortly.
very good plugin im testing it right now :)
is there a way to change the default settings for notifications? (set in email only, want to change for both live and mail to all users)
using 1.7.8
i got plugin working. please tell, how to make it work on subdomains and folders
works only on mydomain.com but fails on my.mydomain.com and mydomain.com/my/
Great plugin Mark I wonder if you planning on porting for 1.8
Please ^_^ develop for 1.8
Also looking forward for 1.8 version :)
me too :P
1.8 ver please
so i customized this to work for me on 1.8 but i cant get the new messageboard plugin to have the live feature i just dont know where to add the code, so here is the new 1.8 messageboard add.php code, what should i add...?
<?php
/**
* Elgg Message board: add message action
*
* @package ElggMessageBoard
*/
$message_content = get_input('message_content');
$owner_guid = get_input("owner_guid");
$owner = get_entity($owner_guid);
$live = "has written on your message board <a href=\"". $CONFIG->wwwroot . "pg/messageboard/" . $user->username . "\"> click here to see it </a>";
if ($owner && !empty($message_content)) {
$result = messageboard_add(elgg_get_logged_in_user_entity(), $owner, $message_content, $owner->access_id);
if ($result) {
system_message(elgg_echo("messageboard:posted")
);
$options = array(
'annotations_name' => 'messageboard',
'guid' => $owner->getGUID(),
'limit' => $num_display,
'pagination' => false,
'reverse_order_by' => true,
'limit' => 1
);
$output = elgg_list_annotations($options);
echo $output;
} else {
register_error(elgg_echo("messageboard:failure"));
}
} else {
register_error(elgg_echo("messageboard:blank"));
}
forward(REFERER);
once i get this all figured out for 1.8 ill upload the plugin
717 Days Left !! Can't See Any Upgrade To Elgg 1.8 !! :(
Please upgrade this good plugin for the elgg 1.8.6 version
Hello.
After much consideration we hand decided NOT to support Elgg 1.8. The next major release of Elgg (1.9) will include a notifications overhaul and we will focus on contributing to that rather than developing a brand new plugin for 1.8.
I am sorry for the inconvienience this may cause you - if you desperatly need a solution then please feel free to contact me. Hopefully Elgg 1.9 wont be too far away!
Mark
this is not working for version elgg 1.7.8.