Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Premium Account points incorrect after update
#1
I noticed that after the most recent update, premium accounts were not getting the set multiplier for points

I compared the OLD surf.php from 1.2.2 to surf.php in the new 1.3.0 release and found this difference (around line 59ish)

OLD:

Code:
$points = ($data['premium'] == 0) ? $surfing_site['points'] * ($site['surf_ratio_free'] / 100) : $surfing_site['points'] * ($site['surf_ratio_premium'] / 100);



NEW:

Code:
$points = ($data['premium'] == 0) ? $surfing_site['points'] * ($site['surf_ratio_free'] / 100) : $surfing_site['points'];

The part that says 'surf ratio premium' is no longer in the 1.3.0 version causing only 1 point to be awarded instead of the 3 i have set for my premium account

I found replacing that line entirely with the following seems to fix the error:

Code:
$points = ($data['premium'] == 0) ? $surfing_site['points'] * ($site['surf_ratio_free'] / 100) : $surfing_site['points'] * ($site['surf_ratio_premium'] / 100);

I hope this helps someone...
Reply
#2
Hello,

Thank you for reporting.

Actually, the surf page shows the original points from the user site, but you will only receive the percentage you have set for premium accounts. You may compare your current points before and after surfing each site.

Anyway, this issue has now been resolved. Download script again from the customer area and re-upload /surf.php file.

Best Regards!
In case you want to say thank you, we'd really appreciate and be thankful if you leave a good review on Traffic Exchange PRO page. This is the best way to say thank you to this project and support team.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)