Hi Simon, thanks for responding. This is a plugin to download for some time, I think it was from here. This is the plugin:
Code:
Product : Latest Posts
Hook Location: global_start
Plugin PHP Code:
Code:
$stats_thread_char_limit = $vbulletin->options[stats_thread_char_limit];
$latest_threads = $vbulletin->db->query_read("SELECT threadid, title, dateline FROM " . TABLE_PREFIX . "thread ORDER BY dateline DESC LIMIT " . $vbulletin->options[stats_thread_limit] . "");
while($thread = $vbulletin->db->fetch_array($latest_threads)){
$replacer = "...";
if(strlen($thread[title]) > $video_forums_video_title_limit){
$thread[title] = (preg_match('/^(.*)\W.*$/', substr($thread[threadtitle], 0, $stats_thread_char_limit+1), $matches) ? $matches[1] : substr($thread[title], 0, $stats_thread_char_limit)) . $replacer;
} else {
$thread[title] = $thread[threadtitle];
}
eval('$stats_latest_threads .= "'.fetch_template('stats_threadbit').' ";');
}
Think that can be modified?

Regards!