Quote:
Originally posted by Shak
I need this for 1.1.4, i am allmost ready to just delete what i did for .4 and go back to .3 since most hacks seem to work for it better.
|
1.1.5
step
@==========@ forumdisplay.php/php3
====>Find:
$threads=$DB_site->query("SELECT thread.iconid, icon.title AS icontitle, thread.poll as poll, 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");
====>Replace it with:
$threads=$DB_site->query("SELECT thread.iconid, icon.title AS icontitle, thread.poll as poll, 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 topped DESC,lastpost
DESC LIMIT $limitlower,$perpage");
====>