WebmasterSite.net: PHP scripts to enable your creativity
WSN Links PHP Directory Software
PHP Scripts Webmaster Links Support Forums

Register | Forgot Password

Sponsored Links

Version: 3.4.2
printPrint


Sponsored Links
babrees
Expert
Avatar

Usergroup: Customer
Joined: Aug 19, 2005
Location: England
Total Topics: 312
Total Posts: 1032
Posted 09/12/06 - 05:10 AM:
quote post
#1
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
Administrator
Avatar

Usergroup: Administrator
Joined: Dec 21, 2001
Location: Northern California
Total Topics: 57
Total Posts: 6316
Posted 09/13/06 - 10:40 AM:
quote post
#2
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", '', '');

"Do things you love doing, because then it ain't work. Don't do something you don't really enjoy, because you're never going to work hard enough at it." - Bob Young, founder of Red Hat
Search thread for
Download thread as


You don't have permission to post.

Please login or register.

   
 
© 2008 Paul Knierim. All rights reserved.