Find & Edit login.php Like Below :
$userid=$userinfo[userid];
$username=$userinfo[username];
$permission=$userinfo[permission];
session_start();
$requestVars = isset($_REQUEST) ? $_REQUEST : array(); if (substr($requestVars['captcha'], 10) == $_SESSION['captchaCodes'][$_SESSION['captchaAnswer']]) {
$sessids = new_session($userid,"3600",$ipvoid);
Find & Edit Like Below :
$Db1->sql_close();
header("Location: setcookies.php?".iif(isset($returnTo),"view=$returnTo","view=account&ac=main")."
".iif("$id","&id=$id").iif($ptype,"&ptype=$ptype").iif($step,"&step=$step")."
".iif(isset($ac),"&ac=$ac")."&sid=$sessid&sid2=$sessid2&siduid=$userid");
exit;
}else {
$msg = "Give right captcha answer";
}
}
}
else {
$LOGGED_IN=false;
$msg = "
There was a problem signing in..";
}
}
Find & Edit Like Below :

Then Go to yourdomain.com/htdocs/templates/yourdefaulttemplates
Find :

in layout.php
Add like below :

download sexy-captcha to yourdomain.com/htdocs
Open yourdomain.com/htdocs/sexy-captcha and move captcha.process.php to yourdomain.com/htdocs
Last Steps :
Go to your sites => Admin Panel => Settings => Site Settings => Site Settings => Disable Login Route Code
After Finish Will Be Look Like This :

exit;
}else {
$msg = "Give right captcha answer";
}
}
}
else {
$LOGGED_IN=false;
$msg = "
Login Error!
There was a problem signing in..";
}
}
Find & Edit Like Below :
Then Go to yourdomain.com/htdocs/templates/yourdefaulttemplates
Find :
in layout.php
Add like below :
download sexy-captcha to yourdomain.com/htdocs
Open yourdomain.com/htdocs/sexy-captcha and move captcha.process.php to yourdomain.com/htdocs
Last Steps :
Go to your sites => Admin Panel => Settings => Site Settings => Site Settings => Disable Login Route Code
After Finish Will Be Look Like This :
No comments:
Post a Comment