Turing Test
To configure the Turing Test or the reCaptcha, involves the files below.
- super
- host.php
- supercaptcha.php
define('TURINGTEST', true);
True turns it on and false turns the test off.
Lines 36 and 42 in the supercaptcha.php file contain the private and public keys for the captcha. You may wish to change these or you can continue to use them. If you don't change them, then someone could break this captcha because the private key is visible.
White Listing / Black Listing
The white/black listing is contained in the blockedips.php file
- super
- blockedips.php
Let us take a look at one of the arrays.
$walledgarden =array(
/*Whitelist proxy checking services*/
"ip-adress.com" => 1,
/*Blacklist all affiliate services*/
"doubleclick.net" => 0,
);
For example, this would mean that any request with the host matching "ip-address.com" will be allowed through without the Turing Test even if it's turned on. But anything matching "doubleclick.net" will be blocked regardless of the Turing Test.
Blocking affiliates, preserves bandwidth but also protects the websites a user is visiting. If you didn't block them a user could go and click on those sites and it would be declared click-fraud because of the single source (your prox) ip.
Content Rating
You can turn the filter on or off in the Impfunctions.php file.
- super
- spr
- Impfunctions.php
define('STREAMLINE', false);
The content filter will look at the content being displayed and rate it. This allows different ad pages to be shown depending on the rating. If you switch off the content filter then only the ad page for 'Unrated' content will be shown.
Advertisements
The advertisements can be configured in the adds.php file.
- super
- spr
- adds.php
$addprefix = "http://127.0.0.1:8080/super/spr";
$addpageG = "$addprefix/ads/pageG1.html";
$addpageM = "$addprefix/ads/pageM1.html";
$addpageR = "$addprefix/ads/pageR1.html";
$addpageU = "$addprefix/ads/pageU1.html";
No comments:
Post a Comment