$totalthreads = $vbulletin->forumcache['X']['threadcount'];$totalposts = $vbulletin->forumcache['X']['replycount'];