Bravo List
Register
Go Back   > Bravo List > Source Code > Archived Trackers > TBDev
Reply
Thread Tools
  #1  
Old 20th July 2009, 23:34
godfather35 godfather35 is offline
Member
 
Join Date: Jul 2008
P2P
Posts: 1
Default How to give VIP freeleech
I have the following code in my announce:


PHP Code:
if ($upthis || $downthis 0)
{
$ressite mysql_query("SELECT * FROM downup WHERE user=$userid AND torrent=$torrentid") or err("DownUpStats Error");
$rowsite mysql_fetch_array($ressite);
if (!
$rowsite)
mysql_query("INSERT INTO downup (torrent, user, added, uploaded, downloaded) VALUES ($torrentid$userid, NOW(), $upthis$downthis)");
else
mysql_query("UPDATE downup SET uploaded = uploaded + $upthis, downloaded = downloaded + $downthis, lastseen = NOW() WHERE user=$userid AND torrent=$torrentid") or err("Tracker error 4"); 
Now i want to give VIP's freeleech. How can i modify this code so VIP's get freeleech.

I think i have to chance someting in this piece of code, but maybe i am wrong.
Reply With Quote
Reply

Tags
freeleech , give , vip


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Freeleech tomys TBDev 0 13th May 2010 20:00
Freeleech On/Off! ajax Community Cafe 0 28th February 2010 09:15
Freeleech tunad Torrent Strike 2 18th November 2008 13:42
FreeLeech vertex Yuna Scatari Edition (YSE) 9 7th September 2008 21:38
Freeleech AngelDj Torrent Strike 2 28th August 2008 19:02



All times are GMT +2. The time now is 15:56. vBulletin skin by ForumMonkeys. Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2024, vBulletin Solutions Inc.