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
seed bonus
Controls ·  Search New posts · Mark unread

You are in: Forum / Forum / Torrent Trader / v3 Support

2021-10-31 09:48:07
Hello I modified and added the code below in the file
account-details.php file to add and display the seedbonus function but when we change the seedbonus value of the member and then we click at the bottom of the page on Submit to send the modification, the seedbonus doesn't change, can you help me, ... thanks in advance


here is the code to add

print("<tr><td>Seed Bonus</td><td align='left'><input type='text' size='4' name='seedbonus' value='".$user["seedbonus"]."' /></td></tr>\n");




here is the image of the screen:








Last edited by niki on 2021-10-31 09:52:27
2021-10-31 12:01:47
You can try this In admin modtasks.php
Find
$email = $_POST["email"];


Add below
$seedbonus = $_POST["seedbonus"];


Then in this line
SQL_Query_exec("UPDATE users SET email='$email', title=$title, downloaded='$downloaded', uploaded='$uploaded', signature=$signature, avatar=$avatar, ip=$ip, donated=$donated, forumbanned=$forumbanned, warned=$warned, modcomment=$modcomment, enabled=$enabled, invites=$invites WHERE id=$userid");


Add before where - I assume column in user dbtable is seedbonus
, seedbonus=$seedbonus


This looks like it's missing in the v3 mod post
Last edited by M-jay warn on 2021-10-31 12:07:07
2021-10-31 12:24:40
thank you very much M-jay for your help everything is working fine now  :thumb  :bigsmile
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