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

its possible that you only have 1 user that can access any database since you are on shared hosting and are not permitted to create new users, which is fine, just use what works. No big deal
I would keep it simple. If you want to name your database "vu" then do that. I wouldnt use any underscores just to keep things simple. in phpmyadmin, click the database on the left, then up top select the privileges tab, then add a user
hmm, this shouldnt be very difficult. Just ignore the paths, thats just where the webroot is and all your files for the tracker go there. When you type in your domain, it automatically will go to the path which is where your website is. Place all your tracker files in the folder that your domain is pointing at. Make sure when you create a database to use, you give the user permission to access it. I would create a DB and name it something other than tt, name it whatever you like, but be sure the user and password have actual access to it and permissions to use it. This can all be done with phpmyadmin. I created the user "dow" and granted that user access to the DB

[ATTACH]5483[/ATTACH]
[ATTACH]5484[/ATTACH]
download the rar file. I really need to fix my garbage git shit
This is pretty cool. I didnt create this, just found it and tried it. Try this. Functions.php
add this function
///ELAPSED TIME SINCE TORRENT WAS UPLOADED
function get_time_elapsed($datetime, $full = false)
{
   $now = new DateTime;
   $ago = new DateTime($datetime);
   $diff = $now->diff($ago);
   $diff->w = floor($diff->d / 7);
   $diff->d -= $diff->w * 7;
   $string = array(
       'y' => 'year',
       'm' => 'month',
       'w' => 'week',
       'd' => 'day',
       'h' => 'hour',
       'i' => 'minute',
       's' => 'second',
   );
   foreach ($string as $k => &$v)
   {
       if ($diff->$k)
       {
           $v = $diff->$k . ' ' . $v . ($diff->$k > 1 ? 's' : '');
       }
       else
       {
           unset($string[$k]);
    }
   }
   if (!$full) $string = array_slice($string, 0, 1);
   return $string ? implode(', ', $string) . ' ago' : 'just now';
}
///END ELAPSE TIME

find
            case 'added':
               print("<td class='ttable_col$x' align='center'>".date("n-d-Y g:i a", utc_to_tz_time($row['added']))."</td>");
           break;

change to (I keep old code commented out in case there is a need to revert back)
            case 'added':
           //    print("<td class='ttable_col$x' align='center'>".date("n-d-Y g:i a", utc_to_tz_time($row['added']))."</td>");
               print("<td class='ttable_col$x' align='center'>".get_time_elapsed($row['added'])."</td>");
           break;

[ATTACH type="full" alt="Capture.PNG"]5476[/ATTACH]
This is pretty cool. I didnt create this, just found it and tried it. Try this. Functions.php
add this function
///ELAPSED TIME SINCE TORRENT WAS UPLOADED
function get_time_elapsed($datetime, $full = false)
{
   $now = new DateTime;
   $ago = new DateTime($datetime);
   $diff = $now->diff($ago);
   $diff->w = floor($diff->d / 7);
   $diff->d -= $diff->w * 7;
   $string = array(
       'y' => 'year',
       'm' => 'month',
       'w' => 'week',
       'd' => 'day',
       'h' => 'hour',
       'i' => 'minute',
       's' => 'second',
   );
   foreach ($string as $k => &$v)
   {
       if ($diff->$k)
       {
           $v = $diff->$k . ' ' . $v . ($diff->$k > 1 ? 's' : '');
       }
       else
       {
           unset($string[$k]);
    }
   }
   if (!$full) $string = array_slice($string, 0, 1);
   return $string ? implode(', ', $string) . ' ago' : 'just now';
}
///END ELAPSE TIME

find
            case 'added':
               print("<td class='ttable_col$x' align='center'>".date("n-d-Y g:i a", utc_to_tz_time($row['added']))."</td>");
           break;

change to
            case 'added':
           //    print("<td class='ttable_col$x' align='center'>".date("n-d-Y g:i a", utc_to_tz_time($row['added']))."</td>");
               print("<td class='ttable_col$x' align='center'>".get_time_elapsed($row['added'])."</td>");
           break;
you are encouraged to find faults. Thats what makes things better :) I should have seen that issue, but its fine , so always report issues and we can work on them together.
first post updated
Pretty nifty. I never thought about this before. Cool shadows. functions.php
            case 'added':
           //    print("<td class='ttable_col$x' align='center'>".date("n-d-Y g:i a", utc_to_tz_time($row['added']))."</td>");
               print("<td class='ttable_col$x' align='center'>".get_elapsed_time(sql_timestamp_to_unix_timestamp($row['added']))."</td>");
           break;
Signup — 2020-04-22 19:49:40 in v3 Support
try below. Keep CONFIRMEMAIL as true always. The site sends a different email depending on config settings. Its been a while, but I believe you only set confirmemail to false if you want an open site registration with no confirmation of any kind
$site_config['CONFIRMEMAIL'] = true;        //Enable / Disable Signup confirmation email
$site_config['ACONFIRM'] = true;            //Enable / Disable ADMIN CONFIRM ACCOUNT SIGNUP


here is where the email changes depending on config settings. this is account-confirm-ok.php
        if (!$site_config["ACONFIRM"]) {
           print(T_("EMAIL_CHANGE_SEND"). " (" . htmlspecialchars($email) . "). " .T_("ACCOUNT_CONFIRM_SENT_TO_ADDY_REST"). " <br/ >");
       } else {
           print(T_("EMAIL_CHANGE_SEND"). " (" . htmlspecialchars($email) . "). " .T_("ACCOUNT_CONFIRM_SENT_TO_ADDY_ADMIN"). " <br/ >");
       }

here is account-signup.php
    //ADMIN CONFIRM
   if ($site_config["ACONFIRM"]) {
       $body = T_("YOUR_ACCOUNT_AT")." ".$site_config['SITENAME']." ".T_("HAS_BEEN_CREATED_YOU_WILL_HAVE_TO_WAIT")."\n\n".$site_config['SITENAME']." ".T_("ADMIN");
   }else{//NO ADMIN CONFIRM, BUT EMAIL CONFIRM
       $body = T_("YOUR_ACCOUNT_AT")." ".$site_config['SITENAME']." ".T_("HAS_BEEN_APPROVED_EMAIL")."\n\n    ".$site_config['SITEURL']."/account-confirm.php?id=$id&secret=$psecret\n\n".T_("HAS_BEEN_APPROVED_EMAIL_AFTER")."\n\n    ".T_("HAS_BEEN_APPROVED_EMAIL_DELETED")."\n\n".$site_config['SITENAME']." ".T_("ADMIN");
NO IMAGE DEFAULT — 2020-04-19 18:00:14 in v2.08 Support
what is file.php? I dont think anyone else will have this file since its clearly custom I would think, but thanks for sharing :)
Manual Add User — 2020-04-19 17:48:48 in v3 Mods Completed
Original post edited to reflect the changes needed for some to use the .php extension. If  serph feels this is not right, let me know. I didnt edit anything else. Just wanted the code to be as useful as possible without having to read the whole post to find that some or most folks need to explicitly define the .php part :)
Manual Add User — 2020-04-19 17:40:27 in v3 Mods Completed
It redirects you to the users page and you can change it from there. Unless someone can explain to me what the "adduser" file does, you do NOT need to upload that file. You only need to do the admincp.php edit. I do not see a call for adduser.php in the code anywhere. Also, just for fun, you can use this
autolink ("account-details.php?id=$arr[0]", "<b><font color='#ff0000'> Account Created...Directing to details page</font></b>");

instead of this
header("Location: account-details.php?id=$arr[0]");

I always forget about the autolink
perhaps post your account-signup and someone can see if something is not in order
you have to set the invites before anyone signs up. The default is zero. Are you getting an error?
thanks shadows. Everything you do is appreciated :)
I posted how to turn this on several years ago, but I will repost it here if it helps anyone. This using ubuntu linux
Enable .htaccess in apache2 config

First Step:

Open file in your editor

sudo nano /etc/apache2/apache2.conf

Second Step:

remove comment sign (#) if you find it before this line ( line number 187 approx.)

AccessFileName .htaccess

Third Step:

Then find the line where there is

<Directory /var/www/>
    Options Indexes FollowSymLinks
    AllowOverride None
    Require all granted
</Directory>

replace "None" with "All"

AllowOverride All



Also run:

sudo a2enmod rewrite


then restart apache:

sudo service apache2 restart

Here is an .htaccess file to use. Feel free to open it up with any text editor to see im not an asshole adding wierd shit to a file trying to screw someone over. Im not that guy. I dont do that. but if you have a custom htaccess, just add the lines to your current copy and save it :)
backend/functions.php and torrents-details.php also needs
require_once("backend/URLencrypt.php");


To add to functions.php (to encrypt your index page downloads) find
    // Expanding Area
   $expandrows = array();
   if (!empty($site_config["torrenttable_expand"])) {
       $expandrows = explode(",", $site_config["torrenttable_expand"]);
       $expandrows = array_map("strtolower", $expandrows);
       $expandrows = array_map("trim", $expandrows);
   }
   // End


add below

///openSSL torrent encryption
require_once("backend/URLencrypt.php");
///end torrent encryption


find
<a href=\"download.php?id=$id&amp;name=" . rawurlencode($row["filename"]) . "\">


replace with
<a href='/" . $row["id"] . "/" . $download_title . "/'>
torrents-details.php — 2020-03-23 08:33:25 in v2.08 Support
"shadows, post: 68210, member: 20311":

You have 5 boxes with same shape and same color which are filled with different items inside. How can I know which items are inside if I can't peek?
You have to set some unique marker on them so I can pick the item I want from the box.

no, I didnt mean you lol. I was refering to the OP. I dont know why anyone would need the url to show anything other than what it currently shows. Who looks at that?
torrents-details.php — 2020-03-23 00:05:39 in v2.08 Support
Im just confused as to why this matters? I think someone asked about this very thing a few years ago. Not sure if anyone addressed it or not.
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: 2
  • Members: 0
  • Guests online: 2
  • Comments: 3
  • Messages: 1,728