}
else
$nickname = $a->user['nickname'];
+
$profile_name = ((strlen($item['author-name'])) ? $item['author-name'] : $item['name']);
+ if($item['author-link'] && (! $item['author-name']))
+ $profile_name = $item['author-link'];
$sp = false;
$profile_link = best_link_url($item,$sp);
$arr = array('item' => $item, 'output' => $tmp_item);
call_hooks('display_item', $arr);
- $threads[$threadsid]['id'] = $arr[$item['item_id']];
+ $threads[$threadsid]['id'] = $item['item_id'];
$threads[$threadsid]['html'] .= $arr['output'];
}
$profile_name = (((strlen($item['author-name'])) && $diff_author) ? $item['author-name'] : $item['name']);
+ if($item['author-link'] && (! $item['author-name']))
+ $profile_name = $item['author-link'];
+
+
$sp = false;
$profile_link = best_link_url($item,$sp);
if($sp)