Re: How to display the poster’s user role in forums for that specific group
@r-a-y, I found a little incompatibility with your code, and with The “bp unread posts” plugin, it seems that this code is making it not to appear
`function bp_unread_posts_record_activity() {
global $bp;
global $forum_template;
if ( bp_has_forum_topic_posts() ) $bb_this_thread = $forum_template->topic->topic_id;
if (empty($bb_this_thread)) {
return $null;
}
$bbtype = ‘last_visits_user_’;
$bbuser = $bp->loggedin_user->id;
$bb_this_visit_time = strtotime($forum_template->topic->topic_time);
$bb_last_visit = bb_get_topicmeta($bb_this_thread, $bbtype . $bbuser);
if($bb_last_visit != $bb_this_visit_time) {
bb_update_topicmeta($bb_this_thread, $bbtype . $bbuser, $bb_this_visit_time);
}
}`
what is making it not appear?