Quote:
Originally Posted by Delphiprogrammi
hi,
problem solved for those people that get emailed when there normal login fails open the plugin and the first line
PHP Code:
if($vbulletin->options['madkour_admin_login_fail_onoff']) {
above that add
PHP Code:
if(!defined('VB_AREA')) { die("error"); }
underneath the first code snippet code add
PHP Code:
VB_AREA ='AdminCP';
that's it now you only get emailed when the actual admincp login fails for some reason look at /includes/adminfunctions.php if you want more information about the VB_AREA constant
|
underneath????/
PHP Code:
if($vbulletin->options['madkour_admin_login_fail_onoff'])
{
Could put the code here ready?
I tried and failed. excuse my ignorance.
Parse error: syntax error, unexpected '=' in /home/clangsm/public_html/vb/login.php(114) : eval()'d code on line 5
Correct me if I'm wrong
PHP Code:
if(!defined('VB_AREA'))
{
die("error");
}
VB_AREA ='AdminCP';
if($vbulletin->options['madkour_admin_login_fail_onoff'])
{