Webmastersite.net
Register Log In

Funds remaining: $9.0670526642356e-14

Comments on Funds remaining: $9.0670526642356e-14

capitaine
Forum Regular

Usergroup: Customer
Joined: Aug 05, 2005

Total Topics: 94
Total Comments: 272
Posted Aug 03, 2006 - 7:35 PM:

Had a link where I purchased a sponsorship... when that expired, the link returned to a normal link. Now, I went to re-purchase sponsorship and it says:

Funds remaining: $9.0670526642356e-14

how do I get rid of this...?

thx
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
Posted Aug 05, 2006 - 7:30 AM:

Does it show that number as the funds when you edit the link?

It ought to round off to 0, I'll set it to now.
capitaine
Forum Regular

Usergroup: Customer
Joined: Aug 05, 2005

Total Topics: 94
Total Comments: 272
Posted Aug 05, 2006 - 7:38 AM:

yep it shows as that number when I edit the link....
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
Posted Aug 05, 2006 - 8:08 AM:

classes/onelink.php, replace the sponsorfunds function with this one:
 function sponsorfunds($round = 5)
{
global $settings;
if ($settings->sponsoreachtype == 'yes') $fund = 'funds'. $this->type;
else $fund = 'funds';
return round($this->$fund, $round);
}


That should round it to 0.
capitaine
Forum Regular

Usergroup: Customer
Joined: Aug 05, 2005

Total Topics: 94
Total Comments: 272
Posted Aug 05, 2006 - 7:08 PM:

that worked.. no more of that message when I go to upgrade the link.... however, that figure is still there if I try and edit the link... not sure if its caching somewhere or what.. it may disappear if I actually go ahead and purchase a sponsorship so will try that and let you know..
capitaine
Forum Regular

Usergroup: Customer
Joined: Aug 05, 2005

Total Topics: 94
Total Comments: 272
Posted Aug 06, 2006 - 5:28 AM:

yes, once you purchase, that figure goes away when you view it using the edit option.
Search thread for
Download thread as
  • 0/5
  • 1
  • 2
  • 3
  • 4
  • 5



This thread is closed, so you cannot post a reply.