Here's the hack
edit index.php
find
PHP Code:
// get total posts
$countposts=$DB_site->query_first('SELECT COUNT(*) AS posts FROM post');
$totalposts=number_format($countposts['posts']);
$countthreads=$DB_site->query_first('SELECT COUNT(*) AS threads FROM thread');
$totalthreads=number_format($countthreads['threads']);
under it add
PHP Code:
// Top poster
$topposters=$DB_site->query_first("SELECT username,posts,userid FROM user ORDER BY posts desc LIMIT 1");
// Top Threads starter
$toptstarter=$DB_site->query_first("SELECT COUNT(*) AS count,postuserid,postusername FROM thread GROUP BY postuserid ORDER BY count DESC LIMIT 1");
2.go to forumhome Template
add:
<br>
Top Threads starter : <a href="member.php?&action=getinfo&userid=$topposter s[userid]\"><b>$topposters[username]</b></a>($topposters[posts])
| Top poster: <a href="member.php?&action=getinfo&userid=$toptstart er[postuserid]"><b>$toptstarter[postusername]</b></a>($toptstarter[count])
<br>
3. Lesane