Noticed this interesting error in the Exchange surf (on SDR3). If a advertiser country targets an Exchange ad, the surf for the TE still tries to display that ad to a surf, regardless of the user's country. Therefore, it displays an "Error - you cannot view this ad for this country" or something similar.
THIS IS FIXED IN THE 6-15-11 UpdateTo fix this, go to gpt.php in the main public_html or www folder and add this line anywhere between line 77 and 83. EXAMPLE BELOW
before adding the fix $sql = $Db1->query("SELECT id FROM ".$adTables[$type]." WHERE
credits>=1
and active='1'
and (daily_limit>views_today or daily_limit=0)
and (upgrade='0' ".($thismemberinfo[type]==1?" or upgrade='1'":"").")
");
After adding the fix $sql = $Db1->query("SELECT id FROM ".$adTables[$type]." WHERE
credits>=1
and active='1'
and (country='' or country='$thismemberinfo[country]') and (daily_limit>views_today or daily_limit=0)
and (upgrade='0' ".($thismemberinfo[type]==1?" or upgrade='1'":"").")
");
This is only important if you use the Click Exchange. -----------------------------------
I am the admin of
EarnEasyCash.info and from time to time I mess around with the scripts or help others.