Quote:
Originally posted by drives fast
I noticed that if a post is made in the news forum it shows on top on vbindex and if someone makes another new thread it then shows on top but if the previous one is replied to it remains second in order on vbindex never to return to the top as it does in the forum itself.
|
I remembered this one would be easy
Change:
PHP Code:
$newsquery=$DB_site->query("SELECT * FROM thread WHERE forumid='$newsforum' ORDER BY dateline DESC LIMIT $newsposts");
To:
PHP Code:
$newsquery=$DB_site->query("SELECT * FROM thread WHERE forumid='$newsforum' ORDER BY lastpost DESC LIMIT $newsposts");
As for the sticky threads was did you mean keep them at the top of the news block, or the top of the latest threads block? I'll take a look into that when I get the chance