2006-04-29, 07:21 AM
2006-04-29, 10:07 AM
Hello there,
Open ./index.php
find
replace by
now find
above it add
now in Admin CP > Tempaltes > Modify / Delete > Forum Bit templates > forumbit_depth2_forum
find
replace with
Regards
Open ./index.php
find
$query = $db->query("SELECT f.*, t.subject AS lastpostsubject FROM ".TABLE_PREFIX."forums f LEFT JOIN ".TABLE_PREFIX."threads t ON (t.tid = f.lastposttid) WHERE active!='no' ORDER BY f.pid, f.disporder");
replace by
$query = $db->query("SELECT f.*, t.subject AS lastpostsubject, t.icon, i.iid, i.path AS iconpath FROM ".TABLE_PREFIX."forums f LEFT JOIN ".TABLE_PREFIX."threads t ON (t.tid = f.lastposttid) LEFT JOIN ".TABLE_PREFIX."icons i ON (i.iid = t.icon) WHERE active!='no' ORDER BY f.pid, f.disporder");
now find
$lastpostsubject = $fulllastpostsubject = $forum['lastpostsubject'];
above it add
if($forum[iconpath] == "")
{
$iconpathlp = "";
}
else
{
$iconpathlp = "<img src=\"".$forum['iconpath']."\" border=\"0\" />";
}
now in Admin CP > Tempaltes > Modify / Delete > Forum Bit templates > forumbit_depth2_forum
find
$lastpost
replace with
$iconpathlp $lastpost
Regards
2007-07-28, 11:19 AM
Lol, why deleted? =)
2007-07-28, 11:23 AM
Cause its an old thread and his "problem" is solved ages ago =P
2007-07-28, 12:05 PM
Please don't bump old threads.