Facebook like river dashboard/模仿Facebook的river dashboard v0.40

Release Notes

I uploaded wrong file in this version,plz download the newer version.And apologize.And,should I delete this version?

这个版本我上传了错误的文件,请下载新版本。抱歉。

THIS IS A EXPERIMENTAL PLUGIN,DO NOT INSTALL ON NON-TESTING SITE.

这是一个开发中的插件,请不要在非测试站点使用

Some little fix:

views/default/riverdashboard/css.php,line 15-18

.collapsable_box .item_body img{
    width:200px;
    height:150px;
}

replace them like this:

.item_body img{
    max-width:98%;
    height:auto;
    padding:2px;
    border-top:1px #AAA solid;
    border-right:2px #333 solid;
    border-bottom:2px #333 solid;
    border-left:1px #AAA solid;
}
/* IE6 */
.item_body img{   
    *width:expression(this.clientWidth > 601?"600px":"auto");
}
.collapsable_box .item_body img{   
    *width:expression(this.clientWidth > 201?"200px":"auto");
}

What'new in 0.40&0.30

  • Now can post a longtxt,include pic even video to the river!
  • Added compatity for elgg's default river view
  • Fixed some CSS for IE6.Fuck IE6!
  • Now u can use extra view for a river item.

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.Example:

$performed_by = get_entity($vars['item']->subject_guid);
$object = get_entity($vars['item']->object_guid);

$body = '<div class="wire_post">';
$body .= '<span class="start_quote">"</span>';
$body .= "<span class=\"post_content\">{$object->description}</span>";
$body .= '<span class="end_quote">"</span>';
$body .= '</div>';
   
echo elgg_view('river/item/extra',
                 array('performed_by' => $performed_by,
                    'object' => $object,
                     'body' => $body,
                     'show_comment' => TRUE,)
                  );

A little modified to the riverdashboard and thewire.

  • Comment on a river item right on the riverdashboard.
  • List comments of a river item
  • Toggle the comment list and input form show/hide

0.3和0.4的修改

  • 现在可以往river里粘贴长文字、图片甚至视频
  • 兼容elgg默认的river格式,和大量的兼容性修改
  • 修改了已经发现的几个IE6bug

对riverdashboard和thewire的一些小修改

  • 在dashboard回复river中的一个条目
  • 显示一个条目的所有回复
  • 展开/折叠所有回复

Here comes the screenshot:

image

ImprovedRiverDashboard riverdashboard

ImprovedRiverDashboard widget

Snow.Hellsing

This cat has travelled far far away and dont know when will come back.I still remember my promises.Sorry,guys.

Stats

  • Category: Uncategorized
  • License: GNU General Public License (GPL) version 2
  • Updated: 2014-11-17
  • Downloads: 35508
  • Recommendations: 5

Other Projects

View Snow.Hellsing's plugins