Quote:
Originally Posted by dave777
Nevermind, I worked out how to do this myself....
I simply added the following to forumdisplay.php:
$datecut=time()-(86400);
and then added "AND post.dateline>=$datecut" to the "where" line, like so:
WHERE forum.forumid=$forumid AND post.dateline>=$datecut
and it worked like a charm.
I also added this to the topposters template so the usernames were linked to their profiles:
<a href="member.php?s=$session[sessionhash]&action=getinfo&userid=$top[userid]">
(closed with a </a> after $top[username])
|
Glad to see some people modifying my hack to their board's liking