Prosper 202 Mods 2012

0
441

Prosper202 mods

1) increase session life – stops it logging you out every five minutes when you are trying to work
add the following line just before session_start(); in 202-config/connect.php
ini_set(‘session.gc_maxlifetime’,99999);

2) bypass adverts on first page – bit naughty but I prefer to jump straight into the spy section to see whats been going on.
edit 202-login.php
line 80: header(‘location: /202-account’);  to   header(‘location: /tracking202’);
or /tracking202/spy/

3) Change $ for £ – Big one for all the UK / EU affiliates
setup/aff_campaigns.php   line267
setup/aff_campaigns.php     line 332  change $ to £
setup/landing_pages.php     line 291  change $ to £
setup/text_ads.php     line 377  change $ to £
setup/get_trackers.php   line 97
../202-config/functions-tracking202.php      line 160 & 158  delete “\$”.

4) Code for multipixel tracking i.e. Prosper & POF conversion tracking (doesn’t work) – Unecessary now the latest 1.7.1 version is out.
<html>
<body>
<img src=”http://t.ads.pof.com/cc.aspx?a=eHR8f3lhYmJraWtobw==” style=”display:none”>
<img height=”1″ width=”1″ border=”0″ style=”display: none;” src=”http://tracking.myserver.co.uk/tracking202/static/gpx.php?amount=” />
</body>
</html>

5) Add rs.php to tracking202/redirect/ or edit dl.php and add the following.
// custom window resize code

echo ‘<script language=”JavaScript”>
window.onload = maxWindow;

function maxWindow()
{
window.moveTo(0,0);

if (document.all)
{
top.window.resizeTo(screen.availWidth,screen.availHeight);
}

else if (document.layers||document.getElementById)
{
if (top.window.outerHeight<screen.availHeight||top.window.outerWidth<screen.availWidth)
{
top.window.outerHeight = screen.availHeight;
top.window.outerWidth = screen.availWidth;
}
}
}

</script>’;

//now we’ve recorded, now lets redirect them
if ($cloaking_on == true) {
//if cloaked, redirect them to the cloaked site.
echo ‘<meta http-equiv=”refresh” content=”0;url=’.”‘”.$cloaking_site_url.”‘”.'”>’;
//header(‘location: ‘.$cloaking_site_url);
} else {
echo ‘<meta http-equiv=”refresh” content=”0;url=’.”‘”.$redirect_site_url.”‘”.'”>’;
//header(‘location: ‘.$redirect_site_url);
}

5. Allow custom outgoing dynamic links i.e. –
$tracking202outbound = ‘http://t.mydomain.co.uk/tracking202/redirect/off.php?acip=228&pci=’.$_COOKIE[‘tracking202pci’].’&out=http://uk.yahoo.com’;

in tracking202/redirect/off.php add to line 89 and 289

if (isset($_GET[‘out’])) {
$redirect_site_url == $_GET[‘out’];
}

6) Stop Https error
change line4 of tracking202/static/landing.php
$strProtocol = ‘http’;

LEAVE A REPLY

Please enter your comment!
Please enter your name here