Login
Username: Password:
Remember me

[Sign Up] / [Recover Password]

Theme / Language

Popular
New Torrents
new name
Size: 18.40 MB
Most active
new name
S: 74 L: 3
New Posters
[MOD] VIP - not counting Download!
Controls ·  Search New posts · Mark unread

You are in: Forum / Forum / v2.08 / v2 Only Mods Complete

Unknown User
2007-10-06 10:29:22
[size=14px]UPDATED!!![/size]

VIP - not counting Download only Upload  :)

Open announce.php

find:

:)



* Staff Edit:

Code is wrong, you only need:

$upthis = max(0, $uploaded - $self["uploaded"]);

$downthis = max(0, $downloaded - $self["downloaded"]);





and add afther:



//VIP not counting Download

$rzz = mysql_query("SELECT id, uploaded, downloaded, class FROM users WHERE user_id='$passkey' AND enabled = 'yes' ORDER BY last_access DESC LIMIT 1");

$azz = mysql_fetch_assoc($rzz);

if ($azz["class"] == 2)

{$downthis = 0;}





Simple and usefull

if ($user["class"] == 3)

$downthis = 0;





Staff Edit again..



Wrong code





user_id='$passkey'




should be





passkey='$passkey'

NewLogin-Sessions.png
NewLogin-Sessions.png
Unknown User
2007-11-22 10:56:02
would it be possible to add for you can turn this on or off, so you can have a free leech day for your vips some times but not all the time  :) , great work thanks
Unknown User
2007-11-22 18:58:54
that code won't work, in v2 the field is "passkey" not user_id and the VIP class id is 3.

if ($user["class"] == 3)

 $downthis = 0;
Unknown User
2008-01-24 03:29:12
"Torrential-Storm.co.uk, post: 35500":
that code won't work, in v2 the field is "passkey" not user_id and the VIP class id is 3.


if ($user["class"] == 3)

 $downthis = 0;






il suffit de faire comme ca:





//VIP not counting Download

$rzz = mysql_query("SELECT id, uploaded, downloaded, class FROM users WHERE id='$passkey' AND enabled = 'yes' ORDER BY last_access DESC LIMIT 1");

$azz = mysql_fetch_assoc($rzz);

if ($azz["class"] == 3)

 $downthis = 0;
Unknown User
2008-02-04 20:12:13
Big Thanks :)
Unknown User
2008-07-31 16:00:10
code is wrong...

//VIP not counting Download

$rzz = mysql_query("SELECT id, uploaded, downloaded, class FROM users WHERE user_id='$passkey' AND enabled = 'yes' ORDER BY last_access DESC LIMIT 1");

$azz = mysql_fetch_assoc($rzz);

if ($azz["class"] == 2)

 {$downthis = 0;}



should be just:



if ($user["class"] == 3)

 $downthis = 0;
Unknown User
2008-08-06 13:40:57
Thanks :blink:
Unknown User
2008-08-08 17:47:26
Thanks!

is possivel what members donors ( no all ) from a class also they may have download free?

example:

class 7 administrador() no all , barely the user that you do donation?
Unknown User
2009-02-13 23:48:01
"TorrentialStorm, post: 45066":
code is wrong...

//VIP not counting Download

$rzz = mysql_query("SELECT id, uploaded, downloaded, class FROM users WHERE user_id='$passkey' AND enabled = 'yes' ORDER BY last_access DESC LIMIT 1");

$azz = mysql_fetch_assoc($rzz);

if ($azz["class"] == 2)

 {$downthis = 0;}
should be just:


if ($user["class"] == 3)

 $downthis = 0;





Not working

tracker seeds invalid data
Unknown User
2009-09-27 08:26:41
More Class Member VIP????  Vip Premium and  Vip Gold ????????
Unknown User
2010-06-05 06:26:05
"Torrential-Storm.co.uk, post: 35500":
that code won't work, in v2 the field is "passkey" not user_id and the VIP class id is 3.


if ($user["class"] == 3)

 $downthis = 0;

this wont`t work for me the download is calculate any way :blink:
Unknown User
2011-05-17 19:04:25
how to add only donated member not counting download?
Unknown User
2011-07-11 08:43:26
"buzz_me, post: 72609":
how to add only donated member not counting download?




if ($user["donated"] > 0)

 $downthis = 0;


this should work.. but you need to add ammount donated in user details.
Unknown User
2011-07-11 08:48:45
"buzz_me, post: 72609":
how to add only donated member not counting download?

id use this mod by dj m8 [url="http://www.torrenttrader.org/index.php?showtopic=12834"]http://www.torrenttrader.org/index.php?showtopic=12834[/url]
Unknown User
2012-09-02 12:04:56
"leandrosapia, post: 60189":
More Class Member VIP????  Vip Premium and  Vip Gold ????????

bah simplement comme sa...



if ($user["class"] == 3 || $user["class"] == 4 || $user["class"] == 5)

 $downthis = 0;

Users online

No users online

Search



Statistics

    Torrents

  • Tracking: 3
  • Todays torrents: 0
  • Seeders: 0
  • Leechers: 0
  • Peers: 0
  • Downloaded: 89.96 GB
  • Uploaded: 9.86 GB

  • Members

  • We have: 838
  • New today: 0
  • Guest today: 9

  • Online

  • Total online: 9
  • Members: 0
  • Guests online: 9
  • Comments: 3
  • Messages: 1,728