This would be a very custom and core-destructive modification, but still possible.
First modify bb_func_ldisc.php file and add the following fields to the topic selection request:
if($cols=db_simpleSelect(0, $Tt, 'topic_id, topic_title, topic_poster, topic_poster_name, topic_time, forum_id, posts_count, topic_last_post_id, topic_views, topic_last_post_time, topic_last_poster, topic_status, sticky','','','',$orderBy,$viewlastdiscussions)){
also as modify the array below:
$colls[]=array($cols[0], $cols[1], $cols[2], $cols[3], $cols[4], $cols[5], $cols[6], $cols[7], $cols[8], $cols[9], $cols[10], $cols[11], $cols[12]);
Into bb_plugins.php, paste the function below (or merge with the existing function's code):
function parseTopic(){
/* Displaying topic icons in Latest Discussions */
if($GLOBALS['action']==''){ if ($GLOBALS['cols'][11]==1 and $GLOBALS['cols'][12]==1) $tpcIcon='stlock'; elseif ($GLOBALS['cols'][12]==1) $tpcIcon='sticky'; elseif ($GLOBALS['cols'][11]==1) $tpcIcon='locked'; elseif ($GLOBALS['numReplies']<=0) $tpcIcon='empty'; elseif ($GLOBALS['numReplies']>=$GLOBALS['viewmaxreplys']) $tpcIcon='hot'; else $tpcIcon='default';
$GLOBALS['tpcIcon']='topic_'.$tpcIcon.'.gif';
}
/* --Displaying topic icons in Latest Discussions */
}
So in templates/main_lastdiscuss_cell.html you will have:
<img src="https://www.minibb.com/forums/img/{$tpcIcon}" style=...... |