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
Auto-Promote Users
Controls ·  Search New posts · Mark unread

You are in: Forum / Forum / Torrent Trader / v3 Mods Completed

2020-11-14 12:48:40
toujours  pas solution ?¿ :unsure::cry:
============================
still no solution? ¿
2021-06-10 05:40:13
Was this ever resolved? I’ve had it worked for almost a year now
2021-06-10 23:57:20
Hello STorrents2020, I will test it again and get back to you with the answer;) ... thank you  :smile
2022-04-23 19:11:56
je confirme que lui fonctionne #1
##############################
# AUTO PROMOTE SUPER MEMBRES #
##############################
      $gigs = 25*1073741824; // 25 GB
      $res = SQL_Query_exec("SELECT id FROM users WHERE class = 1 AND uploaded >= $gigs AND uploaded >= downloaded");
      $time = get_date_time();
      while ($arr = mysqli_fetch_assoc($res)) {
              SQL_Query_exec("UPDATE users SET class = 2 WHERE id = $arr[id]");
              SQL_Query_exec("INSERT INTO messages (sender, receiver, added, msg, subject) VALUES(0, $arr[id], '$time', 'Félicitations, vous avez été automatiquement promu Membre pour Super Membre vous pouvez maintenant faire plus de choses., Si votre ratio tombe en dessous de 1,00, vous serez rétrogradé.', 'Vous avez été promu à: Super Membre')");
      }

      $res = SQL_Query_exec("SELECT id FROM users WHERE class = 2 AND uploaded >= $gigs AND uploaded < downloaded");
      while ($arr = mysqli_fetch_assoc($res)) {
              SQL_Query_exec("UPDATE users SET class = 1 WHERE id = $arr[id]");
              SQL_Query_exec("INSERT INTO messages (sender, receiver, added, msg, subject) VALUES(0, $arr[id], '$time', 'Vous avez été automatiquement rétrogradé deSuper Membre pourMembre.', 'Vous avez été rétrogradé au rang d'utilisateur')");
      }
###################################
# END AUTO PROMOTE SUPEER MEMBRES #
###################################


merci beaucoup a tous de votre aide et soutien  👍  👌
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: 1
  • Members: 0
  • Guests online: 1
  • Comments: 3
  • Messages: 1,728