Webmastersite.net
Register Log In

Sponsorship Links Expiring Early
sponsorshipd links expiration

Comments on Sponsorship Links Expiring Early

mrbongos
Member

Usergroup: Customer
Joined: Oct 26, 2005
Location: Dallas, Texas, USA

Total Topics: 5
Total Comments: 13
Posted Dec 14, 2005 - 3:30 PM:

We have sponsorship listings set up. They will show up ok for a few days and then expire. Where should we start investigating this? We want this to be a paid sponsorship that will expire in 1 year.
Paul
developer

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

Total Topics: 61
Total Comments: 7868
Paul
Posted Dec 15, 2005 - 8:49 PM:

What are your sponsorship settings? What amount, what frequecy of deducion, etc... or just post a screenshot of them.
mrbongos
Member

Usergroup: Customer
Joined: Oct 26, 2005
Location: Dallas, Texas, USA

Total Topics: 5
Total Comments: 13
Posted Dec 16, 2005 - 7:55 AM:

Here is a screen shot. The 20 is for the sponsorship, and the 5 is for a quick review link type.




Paul
developer

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

Total Topics: 61
Total Comments: 7868
Paul
Posted Dec 19, 2005 - 12:06 AM:

The incriment-changing option is new so it might have an issue, testing now.

Dividing your fee by 365 and setting the incriment to one day is safer, while making no differece to the user when you set the payment value directly in the template.

Edit: I don't see anything wrong here...
$sponsorcharge = $sponsorcharge / $settings->feeduration;
$nextlink->funds = $nextlink->funds - $sponsorcharge;

This runs daily, so it deducts 20/365 each day (or 5/365 for the other link type). If the deposit was more than a few cents they should be remaining sponsored for some time. What are you seeing as the link funds values when you edit the links in question?
mrbongos
Member

Usergroup: Customer
Joined: Oct 26, 2005
Location: Dallas, Texas, USA

Total Topics: 5
Total Comments: 13
Posted Dec 19, 2005 - 8:47 AM:

This is the number that shows up for link fund values is $-0.0547945205479

What should our incremental values be for the 20 and 5 dollar if we want them sponsored for a year? Would that be 365 divided by 20 and that would be our incremental values?
Paul
developer

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

Total Topics: 61
Total Comments: 7868
Paul
Posted Dec 19, 2005 - 4:30 PM:

To make $20 last a year, have it deduct $0.0548 per day. To make $5 last a year, have it deduct $0.0137 per day.

This is the number that shows up for link fund values is $-0.0547945205479

That's the value it'd be deducting per day, meaning it thinks it started at 0. You're sure there were previously funds in the link before it started, right after deposit?

Maybe there could be some sort of var type issue making it treat it as 0, will have to check that.
mrbongos
Member

Usergroup: Customer
Joined: Oct 26, 2005
Location: Dallas, Texas, USA

Total Topics: 5
Total Comments: 13
Posted Dec 20, 2005 - 9:09 AM:

Thank you Paul for all your help. I made the incremental changes and we'll see what happens here in a few days.

Just to summerize,

We have 2 sponsored link types $20 for a year, and $5 for a quick review.

I switched the incremental values from $20 to .0548, and $5 to .0137.

To test I added $20 funds to a sponsored link. It shows now.
Search thread for
Download thread as
  • 0/5
  • 1
  • 2
  • 3
  • 4
  • 5



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