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.
Amazing Job !!!!
Nice job! Only one thing I lost my user usericon on the top left and also my wire textarea width shrunk.
Oh one more thing also it says" %s uploaded" right next to the picture looks like its missing the users name.
From looking at the screen shots this plugin looks great but althought i have uploaded both folders, i can still not comment. In fact, there is not even a comment link. - Why?
You can see it live at www.maestrozone.com
One more bug:
%s uploaded
The quickly fix is edit tidypics's languages file,edit line 'image:river:create'=>'%s uploaded'.
The elegantly fix will be include in next version.
==========================
Thewire panel in the left side bar have been removed.As I think it's useless for riverdashboard.
==========================
@747
That river item is added by tidypics.I think only show image when uploading is enough.So I didn't modify comment river item.
And I don't quite get what does "commented river item do not getting up" mean.I'm sorry about my English.
===========================
@Chrislace may I see ur site?
@Mark Harding Did u enabled them both?
@747 Do u mean,just look like Facebook completely?
Awsome Plugin , i guess couple of changes and we can beat facebook river .I have a suggestion ,not sure its possible or not.
Curretly " What are you doing tell everyone on the river?" means evryone see this and can comment on it,
If we can give user more options like
"What are you doing Tell ur friends?" like that and only friends can view that and comment
Just like other widgets user can change the access levels...
Urh,I think I got it.But I've to go to eat and have a rest for the rest of weekend.I will do this next weekend^^
@snow.hellsing -
yes they are both enabled. - i cant understand why it is not showing!
Great change bud!
I cant wait for the update with the fixed "%´s uploaded" Tidy problem and do you think it would be possible to ad a button on the top?
expand/collapse all
Thank you for this great plugin. I am kinda new to this Elgg thing and I'm reallly starting to love it. I was just wondering is it possible to put in river you know like user xxx signed in and user xxx signed out.
Wow... nice! thanks
Did anyoe figure out the fix for %
%s uploaded
The quickly fix is edit tidypics's languages file,edit line 'image:river:create'=>'%s uploaded'.
More often than not when I click on the activity link in the tools menu (its the way i have riverdashboard set) I just end up with a plain html set of links... Anyone any ideas why this happens?
Okay fixed it by putting it at the very top of the plugins list!
One other thing - the contributors name overwrites the icon on the left of the listings.
Clues? is this just a CSS problem?
Boy this plugin is awfully twitchy.
I accidentally re-enabled the river plugin and then disabled it and the riverdashboard goes straight to white page mode now - Solutions anyone?
@jededitor I'm sorry for that and I need more information to determain why that happened.May I visit your site?
About the %´s uploaded problem
Just go to the tidypics/languages/yourlanguaege,find the entry "image:river:created" and remove the %
@Invizogen well,this river is not real time so is signin/out really useful?
@Snow
I'm using in the tools > activity mode
http://www.jedsite.info/
Anyone tell me where the relevent code is for each entry on the riverdashboard activity list?
As you can see the icon is overlapped by the text and I need to shift the text to the right but am unble to locate the code...
I have a question about comment deleting ...
When you delete a comment that was made on a blog for example, the forward(); function takes you back to the $entity->getURL, taking you to the blog page thats fair enough. But when you delete a comment from a river-added post/discussion, the forward function takes you to a view of the details for the action. action/comments/delete is used to delete generic comments, but is seperate from the facebooklike riverdashboard package so doesnt take into account that one may be posting from the river and not an object like a blog.
hello, i'm new to elgg, just installed elgg 2 days ago and trying to work it out...
is there a way for this dashboard to display activities for both friends and yourself, like the way facebook does? thanks
Take a look at the image a couple of messages up - it provides a great clue to to the answer ;-)
jededitor
for the text displaying over the icon proble, i removed the icon entry in the css file
\mod\mod_name\views\default\css.php
for example:
.river_object_thewire_create {
}
.river_user_messageboard {
/* background: url(<?php echo $vars['url']; ?>mod/theme_elgg_example/graphics/river_icons/river_icon_comment.gif) no-repeat left -1px; */
}
not sure what all the affects are but at least you dont have the problem anymore lol