If you can not see option to enable Anti-Leech:
Go to AdminCP -> Plugin & Products -> Plugin Manager -> anti-leech Plugin
Replace all plugin code with
PHP Code:
$ref = str_replace('http://www.','',$_SERVER['SERVER_NAME']);
if(!strstr($_SERVER['HTTP_REFERER'],$ref)) {
$id = $vbulletin->db->fetch_array($vbulletin->db->query_read("SELECT postid FROM ".TABLE_PREFIX."attachment WHERE attachmentid = ".mysql_escape_string($_REQUEST['attachmentid'])));
eval('$navbar = "' . fetch_template('navbar') . '";');
eval('print_output("' . fetch_template('antileech') . '");');
exit;
}
Save