Thank you Thegame
i badly need this hack as i am running an educational forum.
Would someone be kind enough to update the topper/untopper hack to vb1.1.6?
in forumdisplay i have this part:
$threads=$DB_site->query("SELECT thread.iconid, icon.title AS icontitle, icon.iconpath,threadid,thread.title AS title, open,lastpost,replycount,postusername,lastposter,n otes,views,userindex
FROM thread
LEFT JOIN icon ON (icon.iconid = thread.iconid)
WHERE forumid=$forumid AND visible=1 $datecut
ORDER BY lastpost
DESC LIMIT $limitlower,$perpage");
wheras the instrutions require this one:
$threads=$DB_site->query("SELECT threadid,title,open,lastpost,replycount,postuserna me,lastposter,notes,iconid,views FROM thread WHERE forumid=$forumid AND visible=1 $datecut ORDER BY lastpost DESC LIMIT $limitlower,$perpage");
to be replaced by this:
$threads=$DB_site->query("SELECT threadid,title,open,lastpost,replycount,postuserna me,lastposter,notes,iconid,views FROM thread WHERE forumid=$forumid AND visible=1 $datecut ORDER BY topped DESC,lastpost DESC LIMIT $limitlower,$perpage");
===
any help or guide pls..?