本帖最后由 qyl3qyl3 于 2009-9-20 17:27 编辑
刚看了下,提供解决办法如下
演示www.juesha.com
测试账号test 密码123456
查找source/space_feed.php- while ($value = $_SGLOBAL['db']->fetch_array($query)) {
- if(ckfriend($value['uid'], $value['friend'], $value['target_ids'])) {
- realname_set($value['uid'], $value['username']);
- $feed_list[] = $value;
- }
- $count++;
- }
- } else {
复制代码 替换为- while ($value = $_SGLOBAL['db']->fetch_array($query)) {
- if(ckfriend($value) && ckicon_uid($value)) {
- realname_set($value['uid'], $value['username']);
- $feed_list[] = $value;
- }
- $count++;
- }
- //分页
- $multi = smulti($start, $perpage, $count, $theurl);
- } else {
- //好友动态
- $space['filter_icon'] = empty($space['privacy']['filter_icon'])?array():array_keys($space['privacy']['filter_icon']);
- while ($value = $_SGLOBAL['db']->fetch_array($query)) {
- if(empty($feed_list[$value['hash_data']][$value['uid']])) {
- if(ckfriend($value) && ckicon_uid($value)) {
- realname_set($value['uid'], $value['username']);
- $feed_list[$value['hash_data']][$value['uid']] = $value;
- }
- }
- $count++;
- }
- }
- $olfriendlist = $visitorlist = $task = $ols = $birthlist = $myapp = array();
- $namestatus = $addfriendcount = $mtaginvitecount = $myinvitecount = $pokecount = $newreport = 0;
- if($space['self'] && empty($start)) {
复制代码 |