Ok, here is the piece of code
Code:
// <!-- TOP POSTER -->
$topposter = $DB_site->query_first("
SELECT username,posts,userid
FROM " . TABLE_PREFIX . "user
ORDER BY posts
DESC LIMIT 1
");
// <!-- TOP THREAD STARTER -->
$topstarter=$DB_site->query_first("
SELECT COUNT(*) AS count,postuserid,postusername
FROM " . TABLE_PREFIX . "thread
GROUP BY postuserid
ORDER BY count
DESC LIMIT 1
");
At least I think it is...
BTW, I tried to set my lanuage to english but even though, the link to the members profile is still wrong. The link doesn't show up like:
www.forum.url/forum/member.php?u=3512
it shows like:
www.forum.url/forum/member.php?u=3,512 (<-- see the comma?)
When I turn it back to german, I have a dot there instead of the comma, which is the german separator for a thousand.
This also happens with topposter, Most Viewed Profile and Top Referrer. With the welcome newest member it is fine. In both languages.