Display last topic poster name
Hi Guys, please help.
I would like to display the topic last poster name and avatar column header “topic on this link :
Im almost there, I achieved this by editing the Simple view counts plugin as follows :
$str1 = bbp_topic_post_count();
$post_id = get_the_ID();
$count = get_post_meta( $post_id, ‘bbp_svc_viewcounts’, true );
echo ‘<span class=”bbp-topic-started-by”> Posts & <b> ‘.$count.'</b> <b> ‘.$str1.’ </b> Views, </span>’;
echo bbp_topic_freshness_link() ;
echo ‘topic_last_poster)>” <topic_last_poster()> ‘;
I have struggled for days to insert the last poster so that the first line after
“Where can I get cheap business registrations” reads :
Started by: Pashy 9 Posts & 211 Views, 2 days, 6 hours ago by party.
Your assistance will be much appreciated.
- You must be logged in to reply to this topic.