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
User Posts

Go to Profile

TTv3 Modded — 2019-08-26 18:47:18 in v3 Download
I need to update the code in admincp.php I turned it off because a js issue I forgot to turn it back on and test.
you can test though by making back up of config.php and then the code in admincp is wrapped with /* & */
TTv3 Modded — 2019-08-26 12:39:19 in v3 Download
That is old link I moved to github https://github.com/M-jay84/TTv3
I am hoping to put all mods on config so can be turned on and off like the hit n run, not all members want this so it's best if you can turn on and off.
SB_DARK_TTV3 — 2019-08-19 20:53:17 in v3 Themes
This is my theme based on spirtblues new theme,  so big credit to him for sharing





added 1 more edit to that post
heres the code for updating simple search http://www.torrenttrader.xyz/index.php?threads/encrypt-email-ttv3.9812/page-2#post-67078

This is better for searching then the advanced one, with the simple one you dont have to search full name, full email, full ip etc because its not linked to functions.
For some reason i still cant search @gmail or gmail but if you try search the first part of the email it will find it, play around testing it ive had a go and it finds ips with just searching 2 numbers, it appears in the simple search its just the email that could be improved.

The advanced one for search is awful maybe we could take the search from the simple and use that or edit the functions out :unsure:
admincp.php simple user search find
$where  = "AND username LIKE " . $search . " OR email LIKE " . $search . "


replace with
        $email = sqlesc('%' . $email . '%');
                  $where  = "AND username LIKE " . $search . " OR email LIKE " . $email . "


find
<?php while ($row = mysqli_fetch_assoc($res)):


add after
$email = $crypt->b64decode($row['email'], $clef);?>


find
<td class="table_col1" align="center"><?php echo $row["email"]; ?></td>


replace with
<td class="table_col1" align="center"><?php echo $email; ?></td>


search
$search = sqlesc('%' . $_GET['search'] . '%');


above add
$email = $crypt->b64encode($_GET['search'], $clef);
Not sure it ever worked that way, It looks like each search is linked to a function validemail, validip etc so you need to enter full email, full name or full IP
I agree it should search for matches not the full things, we could do with finding some examples I think the memberlist.php searches that way where you can enter 3 characters and find usernames for example
[color=rgb(251, 160, 38)]edit [/color]
Simple user search is better try search for part of email might be best starting a new post on this if it needs code updating
try this in the admincp advanced user search

find
                foreach($emaila as $email) {


add after
               $mail = $email;
              $email = $crypt->b64encode($email, $clef);


find
if (!validemail($email)) {


replace with
if (!validemail($mail)) {


find
                if ($user['added'] == '0000-00-00 00:00:00')


add above
                $email = $crypt->b64decode($user[email], $clef); 


find
                "<td class='table_col2' align='center'>" . $ipstr . "</td><td class='table_col1' align='center'>" . $user['email'] . "</td>".


replace with
                "<td class='table_col2' align='center'>" . $ipstr . "</td><td class='table_col1' align='center'>" . $email . "</td>". 
[USER=401]@spiritblue[/USER] would you like to share your version with us please
SB-TTv3 [New concept] — 2019-08-06 22:46:10 in v3 Themes
you have the support of the staff here, we look forward to your themes and i'm sure all users will enjoy them
Nice mod, you could use language image folder to save having two folders with flags
Good addition serph ive moved the js as well, find <script type="text/javascript"> delete all js (code & file added to first post)

find
stdhead("Config the site");

below add
 include("/js/config.js");
(y)some times we can define array better with $column[ ] = array, but without replicating error it's hard to say hopefully its nothing but thought post to try if it shows up for anyone else
What's on line 5615 and php version m8 cant see this error looks like the array
[color=rgb(250, 197, 28)]ATTENTION!!! This mod is designed and fully working on the original TTv3. If you have mods that have required you to add lines to the config.php you WILL need to [/color]customise[color=rgb(250, 197, 28)] this your self. I have added my mod code and provided an example. Please read BEFORE installing.[/color]

The mod is complete although it could be improved some of the css alignment is off and the code could do with slimming down. It allows you to set config.php in the staff panel rewriting the config file, it makes backups which I've placed in the backups directory. I was going to post in mods complete but ill wait to see how members find install so any feedback is welcome

PLEASE BACKUP - functions.php, admincp.php, config.php & as a precaution make a database.sql backup (although we dont touch the DB)

First check your config.php - Compare your backup config.php for any new lines example - $site_config['?MOD?'] =

You can compare here https://www.diffchecker.com/  and here is the original TTv3 config.php https://mega.nz/#!uVdGQQqK!F2r_-1WAPGxuUAHcS5ByPxqiXg0CIBtG8-RAceHyjMc
[color=rgb(250, 197, 28)]These new $site_config['?MOD?'] lines will need adding in the Mod Settings explained further down.

In backend/functions.php find[/color]
$cols = explode(",", $site_config["torrenttable_columns"]);


replace with
    // $cols = explode(",", $site_config["torrenttable_columns"]);
   $cols = $site_config ["torrenttable_columns"];


find
 $expandrows = explode(",", $site_config["torrenttable_expand"]);


replace with

       // $expandrows = explode(",", $site_config["torrenttable_expand"]);
       $expandrows = $site_config ["torrenttable_expand"];


[color=rgb(250, 197, 28)]In admincp.php remove old settings code if it still there (search if ($action == "settings") and remove the complete old mod code[/color]
Add link to Staff Panel (Unlikely but if you have old link just update it the new one)
<td align="center"><a href="admincp.php?action=configuration"><img src="images/admin/config.png" border="0" width="32" height="32" alt="" /><br />Config</a><br /></td>
   


add before last ?> at bottom of page
#############################
# set the config####
#############################
if ($action == "configuration")
{

    if ($do == 'save')
    {

        ///create a backup of the old file //
 
            $fn = ("backend/config.php");
            chmod($fn, 0777);
            $ancien_config_lecture = fopen("backend/config.php", "r");
           $ancien_config_ecriture = fopen("backups/saveconfig.php", "w");
           $save_originale = fopen("backups/saveconfig_original.php", "x");
         

 
 
           $ancien_config_contenu = fread($ancien_config_lecture, filesize("backend/config.php"));
           fwrite ($ancien_config_ecriture, $ancien_config_contenu);
           fwrite ($save_originale, $ancien_config_contenu);
             
           fclose ($ancien_config_lecture);
           chmod($fn, 0644);
           fclose ($ancien_config_ecriture);
           fclose ($save_originale);
        ///save update config
                 
        $file = new SplFileObject('backend/config.php', 'w');                      
        $file->fwrite('<?php ' . "\r\n\r\n" . '$site_config = ' . var_export((array)$_POST, true) . ';');
     
        header("Refresh: 0; url=admincp.php?action=configuration");
    }                      
if ($CURUSER["class"] < "7") {
   show_error_msg("Error","You are not allowed to view this page!",1);
}
    stdhead("Config the site");

   include("/js/config.js");

    navmenu();


    begin_frame("Site Settings!");
    ?>


<?php
   print ("<center><a href='#Part_1'> General </a> ~ ");
   print ("<a href='#Part_2'> Upload/images </a> ~ ");
   print ("<a href='#Part_3'> Blocks </a> ~ ");
   print ("<a href='#Part_4'> Announce/Cleanup </a> ~");
   print ("<a href='#Part_5'> Theme/Language </a> ~ ");
   print ("<a href='#Part_6'> Registration </a> ~ ");
   print ("<a href='#Part_7'> Warning/Ratio </a> ~ ");
   print ("<a href='#Part_8'> Index </a> <br />");
   print ("<a href='#Part_9'> Mail </a> ~");
   print ("<a href='#Part_10'> Reports </a> ~ ");
   print ("<a href='#Part_11'> Cache </a> ~ ");
   print ("<a href='#Part_12'> Table torrent </a> ~ ");
   print ("<a href='#Part_13'> Modded </a> </center><br />");
   ?>

    <form  id= "dd-form" method="post" action="admincp.php?action=configuration&amp;do=save">

 <!-- general -->

<div id="Part1">
<table class="f-border" cellspacing="0" cellpadding="5"  align="center" width="100%">
   <tr class="f-title">
        <td colspan="2"><b>Site Settings:</b></td>
   </tr>

   <tr>
        <td align="left" class="alt2">Site Name:</td>
        <td align="left" class="alt2">
            <input type="text" name="SITENAME" value="<?php echo $site_config['SITENAME']; ?>" size="50" />
        </td>
   </tr>

   <tr>
        <td align="left" class="alt3">Site Email:</td>
        <td align="left" class="alt3">
            <input type="text" name="SITEEMAIL" value="<?php echo $site_config['SITEEMAIL']; ?>" size="50" />
        </td>
   </tr>

   <tr>
        <td align="left" class="alt2">Site URL:</td>
        <td align="left" class="alt2">
            <input type="text" name="SITEURL" value="<?php echo $site_config['SITEURL']; ?>" size="50" />
        </td>
   </tr>

   <tr>
         <td align="left" class="alt3">Active the forum:</td>
         <td align="left" class="alt3">
             <input type="radio" name="FORUMS"<?php echo($site_config["FORUMS"] ? 'checked="checked"' : null ); ?> value="1" />Yes    
             <input type="radio" name="FORUMS"<?php echo(!$site_config["FORUMS"] ? 'checked="checked"' : null ); ?> value="0" /> No
         </td>
    </tr>

    <tr>
         <td align="left" class="alt2">Allow non-members to browse the forum:</td>
         <td align="left" class="alt2">
             <input type="radio" name="FORUMS_GUESTREAD"<?php echo($site_config["FORUMS_GUESTREAD"] ? 'checked="checked"' : null ); ?> value="1" />Yes    
             <input type="radio" name="FORUMS_GUESTREAD"<?php echo(!$site_config["FORUMS_GUESTREAD"] ? 'checked="checked"' : null ); ?> value="0" /> No
         </td>
    </tr>

    <tr>
        <td align="left" class="alt3">TT Version:</td>
        <td align="left" class="alt3">
            <input type="text" name="ttversion" value="<?php echo $site_config['ttversion']; ?>" size="4" />
        </td>
   </tr>

   <tr>
         <td align="left" class="alt2">Use the old system of censored words::</td>
         <td align="left" class="alt2">
             <input type="radio" name="OLD_CENSOR"<?php echo($site_config["OLD_CENSOR"] ? 'checked="checked"' : null ); ?> value="1" />Yes    
             <input type="radio" name="OLD_CENSOR"<?php echo(!$site_config["OLD_CENSOR"] ? 'checked="checked"' : null ); ?> value="0" /> No
         </td>
    </tr>

   <tr>
        <td align="left" class="alt3">Site Online:</td>
        <td align="left" class="alt3">
            <input type="radio" name="SITE_ONLINE"<?php echo($site_config["SITE_ONLINE"] ? 'checked="checked"' : null ); ?> value="1" />Yes              <input type="radio" name="SITE_ONLINE"<?php echo(!$site_config["SITE_ONLINE"] ? 'checked="checked"' : null ); ?> value="0" /> No
        </td>
   </tr>

   <tr>
        <td align="left" class="alt2">Message when the site is offline:</td>
        <td align="left" class="alt2">
            <textarea name="OFFLINEMSG" rows="4" cols="50"><?php echo $site_config['OFFLINEMSG']; ?></textarea>
        </td>
   </tr>

   <tr>
        <td align="left" class="alt3">Activate donations:</td>
        <td align="left" class="alt3">
            <input type="radio" name="DONATEON"<?php echo($site_config["DONATEON"] ? 'checked="checked"' : null ); ?> value="1" />Yes                  <input type="radio" name="DONATEON"<?php echo(!$site_config["DONATEON"] ? 'checked="checked"' : null ); ?> value="0" />No
        </td>
   </tr>

   <tr>
        <td align="left" class="alt2">Currency symbol:</td>
        <td align="left" class="alt32">
            <input type="text" name="currency_symbol" value="<?php echo $site_config['currency_symbol']; ?>" size="1" />
        </td>
   </tr>

</table>
</div>

  <!-- upload / images -->

<div id="Part_2">
<table class="f-border" cellspacing="0" cellpadding="5"  align="center" width="100%">

    <tr class="f-title">
        <td colspan="2"><b>Upload Settings:</b><br /></td>
   </tr>

   <tr>
         <td align="left" class="alt2">Allow external trackers:</td>
         <td align="left" class="alt2">
             <input type="radio" name="ALLOWEXTERNAL"<?php echo($site_config["ALLOWEXTERNAL"] ? 'checked="checked"' : null ); ?> value="1" />Yes    
             <input type="radio" name="ALLOWEXTERNAL"<?php echo(!$site_config["ALLOWEXTERNAL"] ? 'checked="checked"' : null ); ?> value="0" /> No
         </td>
    </tr>

    <tr>
         <td align="left" class="alt3">Allow only uploaders:</td>
         <td align="left" class="alt3">
             <input type="radio" name="UPLOADERSONLY"<?php echo($site_config["UPLOADERSONLY"] ? 'checked="checked"' : null ); ?> value="1" />Yes    
             <input type="radio" name="UPLOADERSONLY"<?php echo(!$site_config["UPLOADERSONLY"] ? 'checked="checked"' : null ); ?> value="0" /> No
         </td>
    </tr>

    <tr>
         <td align="left" class="alt2">Allow anonymous upload:</td>
         <td align="left" class="alt2">
             <input type="radio" name="ANONYMOUSUPLOAD"<?php echo($site_config["ANONYMOUSUPLOAD"] ? 'checked="checked"' : null ); ?> value="1" />Yes    
             <input type="radio" name="ANONYMOUSUPLOAD"<?php echo(!$site_config["ANONYMOUSUPLOAD"] ? 'checked="checked"' : null ); ?> value="0" /> No
         </td>
    </tr>

    <tr>
         <td align="left" class="alt2">Scraping the external torrents during the upload.<br />If you use mega-scrape.php, you must disable this feature:</td>
         <td align="left" class="alt2">
             <input type="radio" name="UPLOADSCRAPE"<?php echo($site_config["UPLOADSCRAPE"] ? 'checked="checked"' : null ); ?> value="1" />Yes    
             <input type="radio" name="UPLOADSCRAPE"<?php echo(!$site_config["UPLOADSCRAPE"] ? 'checked="checked"' : null ); ?> value="0" /> No
         </td>
    </tr>

    <tr>
        <td align="left" class="alt3">Upload rules:</td>
        <td align="left" class="alt3">
            <textarea name="UPLOADRULES" rows="6" cols="55"><?php echo $site_config['UPLOADRULES']; ?></textarea>
        </td>
   </tr>

    <tr class="f-title">
        <td colspan="2"><b>Image Settings:</b><br /></td>
   </tr>

    <tr>
        <td align="left" class="alt2">Maximum size of the image:</td>
        <td align="left" class="alt2">
            <input type="text" name="image_max_filesize" value="<?php echo $site_config["image_max_filesize"]; ?>" size="5" /> kb
        </td>
    </tr>

    <tr>
        <td align="left" class="alt2">Type mime files:</td>
        <td align="left" class="alt2">
            <input type="checkbox" name="allowed_image_types[image/png]" value=".png" <?php echo ( isset($site_config['allowed_image_types']['image/png']) ? 'checked="checked"' : null ); ?> /> image/png
            <input type="checkbox" name="allowed_image_types[image/gif]" value=".gif" <?php echo ( isset($site_config['allowed_image_types']['image/gif']) ? 'checked="checked"' : null ); ?> /> image/gif
            <input type="checkbox" name="allowed_image_types[image/jpg]" value=".jpg" <?php echo ( isset($site_config['allowed_image_types']['image/jpg']) ? 'checked="checked"' : null ); ?> /> image/jpg
            <input type="checkbox" name="allowed_image_types[image/jpeg]" value=".jpg" <?php echo ( isset($site_config['allowed_image_types']['image/jpeg']) ? 'checked="checked"' : null ); ?> /> image/jpeg
            <input type="checkbox" name="allowed_image_types[image/pjpeg]" value=".jpg" <?php echo ( isset($site_config['allowed_image_types']['image/pjpeg']) ? 'checked="checked"' : null ); ?>/> image/pjpeg
        </td>
    </tr>

</table>
</div>

  <!-- blocks -->

<div id="Part_3">
<table class="f-border" cellspacing="0" cellpadding="5"  align="center" width="100%">

    <tr class="f-title">
        <td colspan="2"><b>Block Settings:</b></td>
    </tr>

    <tr>
        <td align="left" class="alt2">Activate blocks on the left:</td>
        <td align="left" class="alt2">
            <input type="radio" name="LEFTNAV"<?php echo ( $site_config["LEFTNAV"] ? 'checked="checked"' : null ); ?> value="1"/> Yes
            <input type="radio" name="LEFTNAV"<?php echo ( !$site_config["LEFTNAV"] ? 'checked="checked"' : null ); ?> value="0"/> No
        </td>
    </tr>

    <tr>
        <td align="left" class="alt3">Activate the right blocks:</td>
        <td align="left" class="alt3">
            <input type="radio" name="RIGHTNAV"<?php echo ( $site_config["RIGHTNAV"] ? 'checked="checked"' : null ); ?> value="1"/> Yes
            <input type="radio" name="RIGHTNAV"<?php echo ( !$site_config["RIGHTNAV"] ? 'checked="checked"' : null ); ?> value="0"/> No
        </td>
    </tr>

    <tr>
        <td align="left" class="alt2">Enable center blocks:</td>
        <td align="left" class="alt2">
            <input type="radio" name="MIDDLENAV"<?php echo ( $site_config["MIDDLENAV"] ? 'checked="checked"' : null ); ?> value="1"/> Yes
            <input type="radio" name="MIDDLENAV"<?php echo ( !$site_config["MIDDLENAV"] ? 'checked="checked"' : null ); ?> value="0"/> No
        </td>
    </tr>

</table>
</div>

<!-- announce cleanup -->

<div id="Part_4">
<table class="f-border" cellspacing="0" cellpadding="5"  align="center" width="100%">
   <tr class="f-title">
        <td colspan="2"><b>Cleanup & announce:</b><br /></td>
   </tr>

   <tr>
        <td align="left" class="alt2">Peers limit on each announce:</td>
        <td align="left" class="alt2">
            <input type="text" name="PEERLIMIT" value="<?php echo $site_config["PEERLIMIT"]; ?>" size="4" />
        </td>
   </tr>

   <tr>
        <td align="left" class="alt3">Interval of autoclean (in secondes):</td>
        <td align="left" class="alt3">
            <input type="text" name="autoclean_interval" value="<?php echo $site_config["autoclean_interval"]; ?>" size="4" />
        </td>
   </tr>

   <tr>
        <td align="left" class="alt2">Interval of announce in secondes:</td>
        <td align="left" class="alt2">
            <input type="text" name="announce_interval" value="<?php echo $site_config["announce_interval"]; ?>" size="4" />
        </td>
   </tr>

   <tr>
        <td align="left" class="alt3">Cleaning the log site (default 28 days):</td>
        <td align="left" class="alt3">
            <input type="text" name="LOGCLEAN" value="<?php echo $site_config["LOGCLEAN"]; ?>" size="4" />(<?php echo mkprettytime($site_config["LOGCLEAN"]);?>)
        </td>
   </tr>

   <tr>
        <td align="left" class="alt2">Member's deadline to validate his registration (in seconds)</td>
        <td align="left" class="alt2">
            <input type="text" name="signup_timeout" value="<?php echo $site_config["signup_timeout"]; ?>" size="4" />(<?php echo mkprettytime($site_config["signup_timeout"]);?>)
        </td>
   </tr>

   <tr>
        <td align="left" class="alt3">Dead Torrents (seconds for a seedless torrent to become invisible):</td>
        <td align="left" class="alt3">
            <input type="text" name="max_dead_torrent_time" value="<?php echo $site_config["max_dead_torrent_time"]; ?>" size="4" />(<?php echo mkprettytime($site_config["max_dead_torrent_time"]);?>)
        </td>
   </tr>

   <tr>
        <td align="left" class="alt2">Url of the announce (separate by commas):</td>
        <td align="left" class="alt2">
            <input type="text" name="announce_list" value="<?php echo $site_config["announce_list"]; ?>" size="50" />
        </td>
   </tr>

   <tr>
        <td align="left" class="alt3">Passkey URL:</td>
        <td align="left" class="alt3">
            <input type="text" name="PASSKEYURL" value="<?php echo $site_config["PASSKEYURL"]; ?>" size="50" />
        </td>
   </tr>

   <tr>
        <td align="left" class="alt2">Download software banned from the tracker:</td>
        <td align="left" class="alt2">
            <input type="text" name="BANNED_AGENTS" value="<?php echo $site_config['BANNED_AGENTS']; ?>" size="50" />
        </td>
   </tr>
</table>
</div>

<!-- theme language charset -->

<div id="Part_5">
<table class="f-border" cellspacing="0" cellpadding="5"  align="center" width="100%">

    <tr class="f-title">
        <td colspan="2"><b>Theme, language and site charset:</b><br /></td>
   </tr>

   <tr>
       <td align="left" class="alt2">Default theme:</td>
       <td align="left" class="alt2">
            <select name="default_theme">
        <?php $res = SQL_Query_exec("SELECT * FROM `stylesheets`");
              while ($row = mysqli_fetch_assoc($res)): ?>
                <option value="<?php echo $row["id"]; ?>" <?php echo ( $row["id"] == $site_config["default_theme"] ? 'selected="selected"' : null ); ?>><?php echo $row["name"]; ?>
               </option>
        <?php endwhile; ?>
            </select>
        </td>
    </tr>

    <tr>
        <td align="left" class="alt3">Default language:</td>
        <td align="left" class="alt3">
            <select name="default_language">
        <?php $res = SQL_Query_exec("SELECT * FROM `languages`");
              while ($row = mysqli_fetch_assoc($res)): ?>
                <option value="<?php echo $row["id"]; ?>" <?php echo ( $row["id"] == $site_config["default_language"] ? 'selected="selected"' : null ); ?>><?php echo $row["name"]; ?>
                  </option>
        <?php endwhile; ?>
           </select>
        </td>
    </tr>

    <tr>
        <td align="left" class="alt2">Site Charset:</td>
        <td align="left" class="alt2">
            <input type="text" name="CHARSET" value="<?php echo $site_config["CHARSET"]; ?>" size="8" />
        </td>
    </tr>
</table>
</div>

 <!-- registration -->

<div id="Part_6">
<table class="f-border" cellspacing="0" cellpadding="5"  align="center" width="100%">

    <tr class="f-title">
        <td colspan="2"><b>Registration Settings:</b><br /></td>
   </tr>

   <tr>
         <td align="left" class="alt2">Site only under registration:</td>
         <td align="left" class="alt2">
             <input type="radio" name="MEMBERSONLY"<?php echo($site_config["MEMBERSONLY"] ? 'checked="checked"' : null ); ?> value="1" />Yes              <input type="radio" name="MEMBERSONLY"<?php echo(!$site_config["MEMBERSONLY"] ? 'checked="checked"' : null ); ?> value="0" /> No          </td>
    </tr>

    <tr>
         <td align='left' class='alt3'>Registration by invitation only:</td>
         <td align='left' class='alt3'>
             <input type="radio" name="INVITEONLY"<?php echo($site_config["INVITEONLY"] ? 'checked="checked"' : null ); ?> value="1" />Yes              <input type="radio" name="INVITEONLY"<?php echo(!$site_config["INVITEONLY"] ? 'checked="checked"' : null ); ?> value="0" /> No          </td>
    </tr>

    <tr>
         <td align='left' class='alt2'>Activate invitations:</td>
         <td align='left' class='alt2'>
             <input type="radio" name="ENABLEINVITES"<?php echo($site_config["ENABLEINVITES"] ? 'checked="checked"' : null ); ?> value="1" />Yes        <input type="radio" name="ENABLEINVITES"<?php echo(!$site_config["ENABLEINVITES"] ? 'checked="checked"' : null ); ?> value="0" /> No      </td>
    </tr>

    <tr>
         <td align='left' class='alt3'>Confirmation of registration by email:</td>
         <td align='left' class='alt3'>
             <input type="radio" name="CONFIRMEMAIL"<?php echo($site_config["CONFIRMEMAIL"] ? 'checked="checked"' : null ); ?> value="1" />Yes        <input type="radio" name="CONFIRMEMAIL"<?php echo(!$site_config["CONFIRMEMAIL"] ? 'checked="checked"' : null ); ?> value="0" /> No      </td>
    </tr>

    <tr>
         <td align='left' class='alt2'>Manual confirmation by the administrator:</td>
         <td align='left' class='alt2'>
             <input type="radio" name="ACONFIRM"<?php echo($site_config["ACONFIRM"] ? 'checked="checked"' : null ); ?> value="1" />Yes                    <input type="radio" name="ACONFIRM"<?php echo(!$site_config["ACONFIRM"] ? 'checked="checked"' : null ); ?> value="0" /> No
         </td>
    </tr>

    <tr>
        <td align="left" class="alt3">Maximum number of authorized accounts:</td>
        <td align="left" class="alt3">
            <input type="text" name="maxusers" value="<?php echo $site_config["maxusers"]; ?>" size="4" />
        </td>
    </tr>

    <tr>
        <td align="left" class="alt2">Maximum number of accounts under invitation:</td>
        <td align="left" class="alt2">
            <input type="text" name="maxusers_invites" value="<?php echo $site_config["maxusers_invites"]; ?>" size="4" />
        </td>
    </tr>

    <tr>
        <td align="left" class="alt3">Maximum number of members on the site:</td>
        <td align="left" class="alt3">
            <input type="text" name="maxsiteusers" value="<?php echo $site_config["maxsiteusers"]; ?>" size="4" />
        </td>
    </tr>

    <tr>
        <td align="left" class="alt2">Send an MP to new members:</td>
        <td align="left" class="alt2">
            <input type="radio" name="WELCOMEPMON"<?php echo($site_config["WELCOMEPMON"] ? 'checked="checked"' : null ); ?> value="1" />Yes            <input type="radio" name="WELCOMEPMON"<?php echo(!$site_config["WELCOMEPMON"] ? 'checked="checked"' : null ); ?> value="0" /> No
         </td>
    </tr>

    <tr>
        <td align="left" class="alt3">Message to new members:</td>
        <td align="left" class="alt3">
            <textarea name="WELCOMEPMMSG" rows="4" cols="50"><?php echo $site_config['WELCOMEPMMSG']; ?></textarea>
        </td>
   </tr>
</table>
</div>

  <!-- Warning -->

<div id="Part_7">
<table class="f-border" cellspacing="0" cellpadding="5"  align="center" width="100%">

    <tr class="f-title">
        <td colspan="2"><b>Waiting Time Settings:</b><br /></td>
   </tr>

   <tr>
         <td align="left" class="alt2">Enable wait for bad ratio:</td>
         <td align="left" class="alt2">
             <input type="radio" name="MEMBERSONLY_WAIT"<?php echo($site_config["MEMBERSONLY_WAIT"] ? 'checked="checked"' : null ); ?> value="1" />Yes    
             <input type="radio" name="MEMBERSONLY_WAIT"<?php echo(!$site_config["MEMBERSONLY_WAIT"] ? 'checked="checked"' : null ); ?> value="0" /> No
         </td>
    </tr>

    <tr>
        <td align="left" class="alt3">Number of classes subject to waiting (separate by a comma):</td>
        <td align="left" class="alt3">
            <input type="text" name="WAIT_CLASS" value="<?php echo $site_config["WAIT_CLASS"]; ?>" size="50" />
        </td>
    </tr>

    <tr>
        <td align="left" class="alt2">Time (A):</td>
        <td align="left" class="alt2">
            <input type="text" name="GIGSA" value="<?php echo $site_config["GIGSA"]; ?>" size="3" />Giga minimum&nbsp;&nbsp;
            <input type="text" name="RATIOA" value="<?php echo $site_config["RATIOA"]; ?>" size="3" />Ratio minimum&nbsp;&nbsp;
            <input type="text" name="WAITA" value="<?php echo $site_config["WAITA"]; ?>" size="3" />Durée en heures
        </td>
    </tr>

    <tr>
        <td align="left" class="alt3">Time (B):</td>
        <td align="left" class="alt3">
            <input type="text" name="GIGSB" value="<?php echo $site_config["GIGSB"]; ?>" size="3" />Giga minimum&nbsp;&nbsp;
            <input type="text" name="RATIOB" value="<?php echo $site_config["RATIOB"]; ?>" size="3" />Ratio minimum&nbsp;&nbsp;
            <input type="text" name="WAITB" value="<?php echo $site_config["WAITB"]; ?>" size="3" />Durée en heures
        </td>
    </tr>

    <tr>
        <td align="left" class="alt2">Time (C):</td>
        <td align="left" class="alt2">
            <input type="text" name="GIGSC" value="<?php echo $site_config["GIGSC"]; ?>" size="3" />Giga minimum&nbsp;&nbsp;
            <input type="text" name="RATIOC" value="<?php echo $site_config["RATIOC"]; ?>" size="3" />Ratio minimum&nbsp;&nbsp;
            <input type="text" name="WAITC" value="<?php echo $site_config["WAITC"]; ?>" size="3" />Durée en heures
        </td>
    </tr>

    <tr>
        <td align="left" class="alt3">Time (D):</td>
        <td align="left" class="alt3">
            <input type="text" name="GIGSD" value="<?php echo $site_config["GIGSD"]; ?>" size="3" />Giga minimum&nbsp;&nbsp;
            <input type="text" name="RATIOD" value="<?php echo $site_config["RATIOD"]; ?>" size="3" />Ratio minimum&nbsp;&nbsp;
            <input type="text" name="WAITD" value="<?php echo $site_config["WAITD"]; ?>" size="3" />Durée en heures
        </td>
    </tr>

    <tr class="f-title">
        <td colspan="2"><b>Ratio Settings:</b></td>
   </tr>

   <tr>
        <td align="left" class="alt2">Enable automatic warning if bad ratio:</td>
        <td align="left" class="alt2">
            <input type="radio" name="ratiowarn_enable"<?php echo ( $site_config["ratiowarn_enable"] ? 'checked="checked"' : null ); ?> value="1" /> Yes
            <input type="radio" name="ratiowarn_enable"<?php echo ( !$site_config["ratiowarn_enable"] ? 'checked="checked"' : null ); ?>  value="0" /> No
        </td>
    </tr>

    <tr>
        <td align="left" class="alt3">Minimum ratio required</td>
        <td align="left" class="alt3">
            <input type="text" name="ratiowarn_minratio" value="<?php echo $site_config["ratiowarn_minratio"]; ?>" size="3" />
        </td>
    </tr>

    <tr>
        <td align="left" class="alt2">Download minimum required (in GB):</td>
        <td align="left" class="alt2">
            <input type="text" name="ratiowarn_mingigs" value="<?php echo $site_config["ratiowarn_mingigs"]; ?>" size="3" />
        </td>
    </tr>

    <tr>
        <td align="left" class="alt3">Number of days before ban:</td>
        <td align="left" class="alt3">
            <input type="text" name="ratiowarn_daystowarn" value="<?php echo $site_config["ratiowarn_daystowarn"]; ?>" size="3" />
        </td>
    </tr>

</table>
</div>

<!-- Page Index -->

<div id="Part_8">
<table class="f-border" cellspacing="0" cellpadding="5"  align="center" width="100%">

    <tr class="f-title">
        <td colspan="2"><b></b>Index Settings:</b><br /></td>
   </tr>

   <tr>
         <td align="left" class="alt2">Activate the record:</td>
         <td align="left" class="alt2">
             <input type="radio" name="SITENOTICEON"<?php echo($site_config["SITENOTICEON"] ? 'checked="checked"' : null ); ?> value="1" />Yes    
             <input type="radio" name="SITENOTICEON"<?php echo(!$site_config["SITENOTICEON"] ? 'checked="checked"' : null ); ?> value="0" />No
         </td>
    </tr>

    <tr>
        <td align="left" class="alt3">Contents of the notice:</td>
        <td align="left" class="alt3">
            <textarea name="SITENOTICE" rows="4" cols="50"><?php echo $site_config['SITENOTICE']; ?></textarea>
        </td>
   </tr>

   <tr>
         <td align="left" class="alt2">Activate the shoutbox:</td>
         <td align="left" class="alt2">
             <input type="radio" name="SHOUTBOX"<?php echo($site_config["SHOUTBOX"] ? 'checked="checked"' : null ); ?> value="1" />Yes    
             <input type="radio" name="SHOUTBOX"<?php echo(!$site_config["SHOUTBOX"] ? 'checked="checked"' : null ); ?> value="0" />No
         </td>
    </tr>

    <tr>
         <td align="left" class="alt3">Enable news:</td>
         <td align="left" class="alt3">
             <input type="radio" name="NEWSON"<?php echo($site_config["NEWSON"] ? 'checked="checked"' : null ); ?> value="1" />Yes    
             <input type="radio" name="NEWSON"<?php echo(!$site_config["NEWSON"] ? 'checked="checked"' : null ); ?> value="0" />No
         </td>
    </tr>

    <tr>
         <td align="left" class="alt3">Activate the disclaimer::</td>
         <td align="left" class="alt3">
             <input type="radio" name="DISCLAIMERON"<?php echo($site_config["DISCLAIMERON"] ? 'checked="checked"' : null ); ?> value="1" />Yes    
             <input type="radio" name="DISCLAIMERON"<?php echo(!$site_config["DISCLAIMERON"] ? 'checked="checked"' : null ); ?> value="0" />No
         </td>
    </tr>

</table>
</div>

<!-- Mail -->

<div id="Part_9">
<table class="f-border" cellspacing="0" cellpadding="5"  align="center" width="100%">

    <tr class="f-title">
        <td colspan="2"><b>Mail Settings:</b><br /></td>
   </tr>

   <tr>
        <td align="left" class="alt2">Type of mail:</td>
        <td align="left" class="alt2">
            <input type="radio" name="mail_type" value="php" <?php echo ( $site_config["mail_type"] == "php" ? 'checked="checked"' : null ); ?> /> PHP
            <input type="radio" name="mail_type" value="pear" <?php echo ( $site_config["mail_type"] == "pear" ? 'checked="checked"' : null ); ?> /> Pear
        </td>
    </tr>

    <tr>
        <td align="left" class="alt3">Host name of the SMTP server:</td>
        <td align="left" class="alt3">
            <input type="text" name="mail_smtp_host" value="<?php echo $site_config["mail_smtp_host"]; ?>" size="50" />
        </td>
    </tr>

    <tr>
        <td align="left" class="alt2">SMTP username:</td>
        <td align="left" class="alt2">
            <input type="text" name="mail_smtp_user" value="<?php echo $site_config["mail_smtp_user"]; ?>" size="50" />
        </td>
    </tr>
    <tr>
        <td align="left" class="alt3">SMTP password:</td>
        <td align="left" class="alt3">
            <input type="text" name="mail_smtp_pass" value="<?php echo $site_config["mail_smtp_pass"]; ?>" size="50" />
        </td>
    </tr>

    <tr>
        <td align="left" class="alt2">Server port:</td>
        <td align="left" class="alt2">
            <input type="text" name="mail_smtp_port" value="<?php echo $site_config["mail_smtp_port"]; ?>" size="3" />
        </td>
    </tr>

    <tr>
        <td align="left" class="alt3">SMTP authentication:</td>
        <td align="left" class="alt3">
            <input type="radio" name="mail_smtp_auth" value="1" <?php echo ( $site_config["mail_smtp_auth"] ? 'checked="checked"' : null ); ?> /> Yes
            <input type="radio" name="mail_smtp_auth" value="0" <?php echo ( !$site_config["mail_smtp_auth"] ? 'checked="checked"' : null ); ?> /> No
        </td>
    </tr>

    <tr>
        <td align="left" class="alt3">Enable SSL:</td>
        <td align="left" class="alt3">
            <input type="radio" name="mail_smtp_ssl" value="1" <?php echo ( $site_config["mail_smtp_ssl"] ? 'checked="checked"' : null ); ?> /> Yes
            <input type="radio" name="mail_smtp_ssl" value="0" <?php echo ( !$site_config["mail_smtp_ssl"] ? 'checked="checked"' : null ); ?> /> No
        </td>
    </tr>

    <tr class="f-title">
        <td colspan="2"><b>Configuring the password hash:</b><br />&#9492; <small> Once set, can not be changed without all users needing to reset their passwords.</small></td>
   </tr>

   <tr>
        <td align="left" class="alt2">Method of hash:</td>
        <td align="left" class="alt2">
            <input type="radio" name="passhash_method" value="sha1" <?php echo ( $site_config["passhash_method"] == "sha1" ? 'checked="checked"' : null ); ?> /> sha1
            <input type="radio" name="passhash_method" value="md5" <?php echo ( $site_config["passhash_method"] == "md5" ? 'checked="checked"' : null ); ?> /> md5
            <input type="radio" name="passhash_method" value="hmac" <?php echo ( $site_config["passhash_method"] == "hmac" ? 'checked="checked"' : null ); ?> /> hmac
        </td>
    </tr>

    <tr>
         <td align='left' class='alt3'>Hash Algorithm (only if you use hmac):</td>
         <td align='left' class='alt3'>
             <input type="text" name="passhash_algorithm" value="<?php echo $site_config['passhash_algorithm']; ?>" size="4" />
         </td>
    </tr>

    <tr>
         <td align='left' class='alt2'>Hash key: <br />&#9492; <small>Should not be empty. At least 20 characters of random text.</small></td>
         <td align='left' class='alt2'>
             <input type="text" name="passhash_salt" value="<?php echo $site_config['passhash_salt']; ?>" size="50" />
         </td>
    </tr>

</table>
</div>

<!-- Paths -->

<div id="Part_10">
<table class="f-border" cellspacing="0" cellpadding="5"  align="center" width="100%">
   <tr class="f-title">
       <td colspan="2"><b>File Path : </b>
       </td>
   </tr>
    <tr>
         <td align="left" class="alt2">Path to the directory where the .torrents will be stored:</td>
         <td align="left" class="alt2">
             <input type="text" name="torrent_dir" value="<?php echo $site_config['torrent_dir']; ?>" size="50" />
         </td>
    </tr>
    <tr>
         <td align='left' class='alt3'>Path to the directory where the .nfo will be stored:</td>
         <td align='left' class='alt3'>
             <input type="text" name="nfo_dir" value="<?php echo $site_config['nfo_dir']; ?>" size="50" />
         </td>
    </tr>

    <tr>
         <td align='left' class='alt2'>Path to the directory where the blocks will be stored:</td>
         <td align='left' class='alt2'>
             <input type="text" name="blocks_dir" value="<?php echo $site_config['blocks_dir']; ?>" size="50" />
         </td>
    </tr>

</table>
</div>

<!-- cache -->

<div id="Part_11">
<table class="f-border" cellspacing="0" cellpadding="5"  align="center" width="100%">
   <tr class="f-title">
       <td colspan="2"><b>Cache Settings: </b><br />
       </td>
   </tr>

   <tr>
        <td align="left" class="alt2">Cache type::</td>
        <td align="left" class="alt2">
            <input type="radio" name="cache_type" value="disk" <?php echo ( $site_config["cache_type"] == "disk" ? 'checked="checked"' : null ); ?> /> Disque
            <input type="radio" name="cache_type" value="memcache" <?php echo ( $site_config["cache_type"] == "memcache" ? 'checked="checked"' : null ); ?> /> Memcache
            <input type="radio" name="cache_type" value="apc" <?php echo ( $site_config["cache_type"] == "apc" ? 'checked="checked"' : null ); ?> /> APC
            <input type="radio" name="cache_type" value="xcache" <?php echo ( $site_config["cache_type"] == "xcache" ? 'checked="checked"' : null ); ?> /> Xcache
        </td>
    </tr>

    <tr>
        <td align="left" class="alt3">Hepherd of the memcache:</td>
        <td align="left" class="alt3">
            <input type="text" name="cache_memcache_host" value="<?php echo $site_config["cache_memcache_host"]; ?>" size="50" />
        </td>
    </tr>

    <tr>
        <td align="left" class="alt2">Port for memcache:</td>
        <td align="left" class="alt2">
            <input type="text" name="cache_memcache_port" value="<?php echo $site_config["cache_memcache_port"]; ?>" size="5" />
        </td>
    </tr>

    <tr>
         <td align='left' class='alt3'>Path to the directory where the disk cache will be stored:</td>
         <td align='left' class='alt3'>
             <input type="text" name="cache_dir" value="<?php echo $site_config['cache_dir']; ?>" size="50" />
         </td>
    </tr>
</table>
</div>

<!-- Table torrent -->

<div id="Part_12">
   <table class="f-border" cellspacing="0" cellpadding="5"  align="center" width="100%">

    <tr class="f-title">
        <td colspan="2"><b>Column to display on the table of torrents:</b><br /></td>
    </tr>

   <tr>
        <td valign="top">Available columns:</td>
        <td>
        <?php $column = array('category', 'name', 'dl', 'uploader', 'comments', 'completed', 'size', 'seeders', 'leechers', 'health', 'ratio', 'external', 'wait', 'rating', 'added', 'nfo'); ?>
            <ul id="sortable-list">
          <?php for ($i = 0; $i < count($column); $i++): ?>
                  <li class="sortme" title="<?php echo $column[$i]; ?>">
                      <input type="checkbox" name="torrenttable_columns[<?php echo $column[$i];?>]" value="<?php echo $column[$i]; ?>" <?php echo ( in_array( $column[$i], explode(',', $site_config['torrenttable_columns'][$column[$i]]) ) ? 'checked="checked"' : null ); ?> /> <?php echo $column[$i]; ?>
                  </li>
       
          <?php
           if($i%2 == 1)
          echo"</td><td>";

          endfor; ?>
            </ul>
 
        </td>
    </tr>

<table class="f-border" cellspacing="0" cellpadding="5"  align="center" width="100%">

    <tr class="f-title">
        <td colspan="2"><b>Column on expand table:</b><br /></td>
    </tr>

   <tr>
        <td>Expansion table torrent:</td>
        <td>
        <?php $expand = array('size', 'speed', 'added' , 'tracker', 'completed'); ?>
            <ul id="sortable-list">
          <?php for ($i = 0; $i < count($expand); $i++): ?>
                  <li class="sortme" title="<?php echo $expand[$i]; ?>">
                      <input type="checkbox" name="torrenttable_expand[<?php echo $expand[$i];?>]" value="<?php echo $expand[$i]; ?>" <?php echo ( in_array( $expand[$i], explode(',', $site_config['torrenttable_expand'][$expand[$i]]) ) ? 'checked="checked"' : null ); ?> /> <?php echo $expand[$i]; ?>
       
                  </li>
          <?php
           if($i%2 == 1)
          echo"</td><td>";

          endfor; ?>
            </ul>
           </td>
    </tr>
</table>
</div>

  <!-- Mods -->

<div id="Part_13">
<table class="f-border" cellspacing="0" cellpadding="5"  align="center" width="100%">

    <tr class="f-title">
        <td colspan="2"><b>Mod Settings:</b></td>
    </tr>


<!-- Mods Section-->

</table>
</div>

<table class="f-border" cellspacing="0" cellpadding="5"  align="center" width="100%">
    <tr>
        <td colspan="2"align="center">
            <input type="reset" value="Reset" />
            <input type="submit" value="Update" />
        </td>
      </tr>
</table>
</form>
<?php
end_frame();
stdfoot();
}
#################
##fin config#####
#################


[color=rgb(250, 197, 28)]For modded sites add new line for each line of code added to config.php here is seedbonus for example[/color]
$site_config['bonuspertime'];   (line added to config.php)

So here is the code i added pay attention to name (for help look at staff panel to see example)
    <tr>
       <td align="left" class="alt3">Seed Bonus:</td>
       <td align="left" class="alt3">
       <input type="text" name="bonuspertime" value="<?php echo $site_config['bonuspertime']; ?>" size="4" />
       </td>
   </tr>


[color=rgb(250, 197, 28)]Search & Replace <!-- Mods Section--> with your mod code[/color]

Here is my code for my mods if it helps

    <tr>
        <td align="left" class="alt3">Seed Bonus:</td>
        <td align="left" class="alt3">
            <input type="text" name="bonuspertime" value="<?php echo $site_config['bonuspertime']; ?>" size="4" />
        </td>
   </tr>
    <tr>
         <td align='left' class='alt3'>Email Encryption:</td>
         <td align='left' class='alt3'>
             <input type="text" name="clef" value="<?php echo $site_config['clef']; ?>" size="50" />
         </td>
    </tr>
        <tr>
        <td align="left" class="alt3">30 days to hit the seed target:</td>
        <td align="left" class="alt3">
            <input type="text" name="hnr_deadline" value="<?php echo $site_config["hnr_deadline"]; ?>" size="3" />
        </td>
    </tr>

    <tr>
        <td align="left" class="alt2">target is to seed for 48 hours :</td>
        <td align="left" class="alt2">
            <input type="text" name="hnr_seedtime" value="<?php echo $site_config["hnr_seedtime"]; ?>" size="3" />
        </td>
    </tr>

    <tr>
        <td align="left" class="alt3">10 hit & runs then warned:</td>
        <td align="left" class="alt3">
            <input type="text" name="hnr_warn" value="<?php echo $site_config["hnr_warn"]; ?>" size="3" />
        </td>
    </tr>
         <tr>
        <td align="left" class="alt2">After 15 H & R stop downloading:</td>
        <td align="left" class="alt2">
            <input type="text" name="hnr_stop_dl" value="<?php echo $site_config["hnr_stop_dl"]; ?>" size="3" />
        </td>
    </tr>

    <tr>
        <td align="left" class="alt3">After 20 H&R they are banned:</td>
        <td align="left" class="alt3">
            <input type="text" name="hnr_ban" value="<?php echo $site_config["hnr_ban"]; ?>" size="3" />
        </td>
    </tr>

         <tr>
         <td align="left" class="alt3">Block VPN on Signup:</td>
         <td align="left" class="alt3">
             <input type="radio" name="vpnsignup"<?php echo($site_config["vpnsignup"] ? 'checked="checked"' : null ); ?> value="1" />Yes          
             <input type="radio" name="vpnsignup"<?php echo(!$site_config["vpnsignup"] ? 'checked="checked"' : null ); ?> value="0" />No      
         </td>
    </tr>

    <tr>
         <td align="left" class="alt3">Block VPN on Login:</td>
         <td align="left" class="alt3">
             <input type="radio" name="vpnlogin"<?php echo($site_config["vpnlogin"] ? 'checked="checked"' : null ); ?> value="1" />Yes          
             <input type="radio" name="vpnlogin"<?php echo(!$site_config["vpnlogin"] ? 'checked="checked"' : null ); ?> value="0" />No
         </td>
    </tr>


        <tr>
        <td align="left" class="alt2">Owner:</td>
        <td align="left" class="alt2">
            <input type="text" name="owner_color" value="<?php echo $site_config['owner_color']; ?>" size="50" />
        </td>
   </tr>
   
   <tr>
        <td align="left" class="alt3">Admin:</td>
        <td align="left" class="alt3">
            <input type="text" name="admin_color" value="<?php echo $site_config['admin_color']; ?>" size="50" />
        </td>
   </tr>

   <tr>
        <td align="left" class="alt2">Super Mod:</td>
        <td align="left" class="alt2">
            <input type="text" name="super_mod_color" value="<?php echo $site_config['super_mod_color']; ?>" size="50" />
        </td>
   </tr>
       <tr>
        <td align="left" class="alt2">Moderator:</td>
        <td align="left" class="alt2">
            <input type="text" name="moderator_color" value="<?php echo $site_config['moderator_color']; ?>" size="50" />
        </td>
   </tr>
   
   <tr>
        <td align="left" class="alt3">VIP:</td>
        <td align="left" class="alt3">
            <input type="text" name="vip_color" value="<?php echo $site_config['vip_color']; ?>" size="50" />
        </td>
   </tr>

   <tr>
        <td align="left" class="alt2">Uploader:</td>
        <td align="left" class="alt2">
            <input type="text" name="uploader_color" value="<?php echo $site_config['uploader_color']; ?>" size="50" />
        </td>
   </tr>
       <tr>
        <td align="left" class="alt2">Addict:</td>
        <td align="left" class="alt2">
            <input type="text" name="addict_color" value="<?php echo $site_config['addict_color']; ?>" size="50" />
        </td>
   </tr>
   
   <tr>
        <td align="left" class="alt3">Pro User:</td>
        <td align="left" class="alt3">
            <input type="text" name="pro_user_color" value="<?php echo $site_config['pro_user_color']; ?>" size="50" />
        </td>
   </tr>

   <tr>
        <td align="left" class="alt2">Power User:</td>
        <td align="left" class="alt2">
            <input type="text" name="power_user_color" value="<?php echo $site_config['power_user_color']; ?>" size="50" />
        </td>
   </tr>
       <tr>
        <td align="left" class="alt2">Member:</td>
        <td align="left" class="alt2">
            <input type="text" name="member_color" value="<?php echo $site_config['member_color']; ?>" size="50" />
        </td>
   </tr>
   
   <tr>
        <td align="left" class="alt3">Leech:</td>
        <td align="left" class="alt3">
            <input type="text" name="leecher_color" value="<?php echo $site_config['leecher_color']; ?>" size="50" />
        </td>
   </tr>



Add image to images/admin
Add js file to js folder

[SOLVED] account-torrents — 2019-07-21 15:33:28 in v3 Support
you can see with this, your-url/account-torrents.php?id=1

or try this account-details.php find
<a href="report.php?user=<?php echo $user["id"]?>"><?php echo T_("REPORT_MEMBER"); ?></a><br />


add below
        <?php
print("<div style='margin-bottom:3px''>[ <a href='account-torrents.php?id=$id'>".T_("ACCOUNTTORRENTS")." ]</div>");
?>
No I tried a few times but couldn't get it working, spent most of weekend working on moving the backend, might try replacing account.php with original to see if I can get it to work
[SOLVED] account-torrents — 2019-07-21 14:01:24 in v3 Support
Had a look at this spirtblue i have IT working, the language just needs finishing to be complete, we may need to make table bit smaller to fit correctly

in account_details.php add link where you like, mine is heavy modded so heres a rough guide
    <?php if ($CURUSER["edit_users"]=="yes") { ?>
 <div style="margin-bottom:3px"><a href="snatched.php?uid=<?php echo $user["id"]?>"><?php echo "<input type='submit' value='".T_("SNATCHLIST")."'>"; ?></a></div>
<?php }
print("<div style='margin-bottom:3px''>[ <a href='account-torrents.php?id=$id'><b>".T_("ACCOUNTTORRENTS")."</b> ]</div>");
?>
This is a good example to give you some direction. The torrent-details are not important
The main thing is function torrenttable in functions.php
[URL unfurl="true"]https://www.torrenttrader.xyz/index.php?threads/mod-magnet-link-torrent.24/[/url]
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: 3
  • Members: 0
  • Guests online: 3
  • Comments: 3
  • Messages: 1,728