As an adition, if you want to protect the file vbstatextended.php from being read by anyone you can edit it and add the following:
Code:
// #######################################################################
// ######################## START MAIN SCRIPT ############################
// #######################################################################
if (!$vbulletin->userinfo['userid'] OR !($permissions['forumpermissions'] & $vbulletin->bf_ugp_forumpermissions['canview']))
{
print_no_permission();
}
ps: I'm not programmer so if i did something wrong please correct me. In my case it worked fine and now only registered users can view the stats on my website.