Webmastersite.net
Register Log In

Sponsored Links

Comments on Sponsored Links

babrees
Expert

Usergroup: Customer
Joined: Aug 19, 2005
Location: England

Total Topics: 391
Total Comments: 1303
babrees
Posted Sep 12, 2006 - 8:10 AM:

In case I want to reject a link I process all my sponsored links manually (rather than have to refund a rejected link). So when somebody requests a premium link I check to ensure I will approve of the link then send them a request for payment. The link sits awaiting validation until I receive the money. I then edit the link adding the funds and validate link.

I received a premium link this morning, sent the instructions for payment, but before they have paid they received an email saying funds run out and link reverted to regular. How can I prevent this email being sent to links that are not yet validated?
Paul
developer

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

Total Topics: 61
Total Comments: 7868
Paul
Posted Sep 13, 2006 - 1:40 PM:

Open crons/daily.php and change
$expiring = $db->select($settings->linkfields, 'linkstable', "type='$stype' AND $fund > $low AND $fund < $high", '', '');
to
$expiring = $db->select($settings->linkfields, 'linkstable', "validated=1 AND type='$stype' AND $fund > $low AND $fund < $high", '', '');
Search thread for
Download thread as
  • 0/5
  • 1
  • 2
  • 3
  • 4
  • 5



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