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.
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?
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?
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.
Comments on Sponsorship Links Expiring Early
Member
Usergroup: Customer
Joined: Oct 26, 2005
Location: Dallas, Texas, USA
Total Topics: 5
Total Comments: 13
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.
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
What are your sponsorship settings? What amount, what frequecy of deducion, etc... or just post a screenshot of them.
Member
Usergroup: Customer
Joined: Oct 26, 2005
Location: Dallas, Texas, USA
Total Topics: 5
Total Comments: 13
Here is a screen shot. The 20 is for the sponsorship, and the 5 is for a quick review link type.
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
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?
Member
Usergroup: Customer
Joined: Oct 26, 2005
Location: Dallas, Texas, USA
Total Topics: 5
Total Comments: 13
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?
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
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.
Member
Usergroup: Customer
Joined: Oct 26, 2005
Location: Dallas, Texas, USA
Total Topics: 5
Total Comments: 13
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.