JiM’s Prosper202 mods
1) increase session life (stops it locking you out every few minutes)
add the following line just before session_start(); in 202-config/connect.php
ini_set(‘session.gc_maxlifetime’,99999);
2) Cchange the first page you see.
edit 202-login.php
line 80: header(‘location: /202-account’); to header(‘location: /tracking202’);
or /tracking202/spy/
If you are doing email submits or any volume loging into spy is about as helpful as a kick up the arse so just change it to whatever page you like best.
3) Change $ for £ (For the UK 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 “\$”.
5) Add rs.php to tracking202/redirect/ or edit dl.php and add the following.
// custom window resize code mainly for PPV
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);
}