Help
anyone got any idea how to make seedbonus trigger after 2 days of seeding a torrent?
|
Bonus
Not easy depends on your code for seedbonus -You need to pull seedtime and that will require left joins on the select query so you combine users and snatched in one query otherwise it could get heavy , left join has the drawback of that it can create slow querys should be fine here though :) Then you need a variable like
Code:
$sdtime = 2*86400; Code:
$res = sql_query("SELECT seedtime FROM snatched WHERE $torrentid=torrentid AND $userid=userid"); Thats some food for thought and will require some thinking to pull it off - Remember i just posted example code that will never work, its to help you think - Good luck :) |
Thanks, atleast it gives me a idea becuase i aint sure how triggers work!
|
All times are GMT +2. The time now is 15:16. |
Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2024, vBulletin Solutions Inc.