New version released in plugin pack from snow.
This plugin is nearly stable,but I still suggest to test it in a local site before use in a public site.
改进到现在已经比较稳定了,不过还是建议先在测试站点上试一下没问题在用在运营中的网站上
What's this?
A modify to the riverdashboard.
Installation
Extract the two folder,riverdashboard and pack_of_roaming_cat into your elgg's mod folder.
What's new in 0.53
What'new in 0.50
TO show image thumb for tidypic,edit tidypic/actions/upload.php,about line 120~130
add
add_to_river('river/object/image/create', 'create', $_SESSION['guid'], $file->guid);
before
} else { //file exceeds file size limit, so delete it
$file->delete();
array_push($not_uploaded, $name);
and make sure riverdashboard is below tidypics in the tool admin panel
==========================
Extra view useage:
echo elgg_view('river/item/extra',
array('performed_by' => $performed_by,
'object' => $object,
'body' => $body,
'show_comment' => TRUE,)
);
in some river item's view.
Examples:
blog/views/default/river/object/blog/create.php
<?php
/**
* Show full content of blog in river
*
* @package ImprovedRiverDashboard
*/
/**
* @author Snow.Hellsing <snow.hellsing@firebloom.cc>
* @copyright FireBloom Studio
* @link http://firebloom.cc
*/
$performed_by = get_entity($vars['item']->subject_guid); // $statement->getSubject();
$object = get_entity($vars['item']->object_guid);
$url = $object->getURL();
$url = "<a href=\"{$performed_by->getURL()}\">{$performed_by->name}</a>";
$summary .= elgg_echo("blog:river:create") . " <a href=\"" . $object->getURL() . "\">" . $object->title . "</a>";
$toggle = "<div><a onclick=\"$('#blog_details-{$object->guid}').toggle();return false;\" class=\"river_item_toggle_details\" href=\"\">".elgg_echo('toggle_details').'</a></div>';
$details = "<div id=\"blog_details-{$object->guid}\" class=\"blog_post\" style=\"display:none\">";
$details .= "<h2>$object->title</h2>";
$details .= elgg_view('output/longtext',array('value'=>$object->description));
$details .= '</div>';
echo elgg_view('river/item/extra',
array('performed_by'=>$performed_by,
'object'=>$object,
'body'=>$summary.$toggle.$details,
'show_comment'=>TRUE));
?>
=======================================================
这是什么?
riverdashboard的修改版
安装
把riverdashboard和pack_of_roaming_cat这俩文件夹解压到elgg的mod目录下
说明
Here comes the screenshot:
View Snow.Hellsing'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.
Can't post anything to the river. I get "The requested action (riverdashboard/post) was not defined in the system."
Hi im new to elgg. I have a problem when i go to Dashboard. At the top of the screen the elgg image ajax_loader.gif is loading all the time and not closing . As a result i have a white space around 20 px at the top of the site.
If i press something this disappears. Is there something i m missing ??
I also noticed that this happened when i enable pack_of_roaming_cat mod
How can i fix that??
@johndavidj99 I guess u need to have the folder renamed to riverdashboard!!