Quote:
Originally posted by g-force2k2
PHP Code:
$threads = $DB_site->query_first("
SELECT COUNT(threadid) AS total
FROM thread
WHERE postuserid='$bbuserinfo[userid]'");
$userinfo[threads] = $threads[total];
|
it should be:
PHP Code:
$threads = $DB_site->query_first("
SELECT COUNT(threadid) AS total
FROM thread
WHERE postuserid='$userinfo[userid]'");
$userinfo[threads] = $threads[total];
otherwise it uses the total threads of the user that is checking the profile