Gizmo

I changed from silent fail to Auto and then I opened the login.inc.php and here it is. is it ok by you?

PHP Code
 if(($config["SFS_ENABLE"] == 1) && ($config["SFS_LEVEL"] > 2)) {
		if(function_exists("file_get_contents") && (ini_get("allow_url_fopen") == 1)) {
			$xml_string = @file_get_contents("https://www.stopforumspam.com/api?ip=". $user_ip);

			if($xml_string != false) {
				if($xml_string != "Error") {
					$xml = new SimpleXMLElement($xml_string);

					if($xml->appears == "yes") {
// Only submit to the database if there is a key supplied
						if($config["SFS_KEY"] != "") {
							PostToHost("username=". $Loginname ."&ip_addr=". $user_ip ."&email=". $Email ."&api_key=". $config["SFS_KEY"]);
						}

// Only inform the user of an error if Level 4 (Silent Fail)
						if($config["SFS_LEVEL"] == 3) {
							$html->not_right($ubbt_lang["SFS_DETECTED_LOGIN"]);
						} else {
							return array("location" => "cfrm");
						}
					}
				} else {
					return array("location" => "cfrm");
				}
			}
		} else {
			$html->not_right($ubbt_lang["SFS_ERROR_REMOTE"]);
		}
	} 

Oh it looks strange presented here..


Morgan Johansson
BritBike Forum
https://www.britbike.com/forums/ubbthreads.php