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

PHP OpenSSL module is required for this mod.
Thank you, good to see its been ported. There is 1 bug with this, and I believe it was the login redirect, but I'll track it down again. I just know there was 1 issue after I compiled this and it was hit or miss @ 15K members
Just something I threw together, using a function found at the url in the source.

First, add this to backend/functions.php

// DMCA page e-mail encryption. It uses a substitution cipher with a different key for every page load.
// http://www.maurits.vdschee.nl/php_hide_email/
function hide_email($email) {
   $character_set = '+-.0123456789@ABCDEFGHIJKLMNOPQRSTUVWXYZ_abcdefghijklmnopqrstuvwxyz';
   $key           = str_shuffle($character_set);
   $cipher_text   = '';
   $id            = 'e' . rand(1, 999999999);
   for ($i = 0; $i < strlen($email); $i += 1)
       $cipher_text .= $key[strpos($character_set, $email[$i])];
   $script = 'var a="' . $key . '";var b=a.split("").sort().join("");var c="' . $cipher_text . '";var d="";';
   $script .= 'for(var e=0;e<c.length;e++)d+=b.charAt(a.indexOf(c.charAt(e)));';
   $script .= 'document.getElementById("' . $id . '").innerHTML="<a href=\\"mailto:"+d+"\\">"+d+"</a>"';
   $script = "eval(\"" . str_replace(array(
       "\\",
       '"'
   ), array(
       "\\\\",
       '\"'
   ), $script) . "\")";
   $script = '<script type="text/javascript">/*<![CDATA[*/' . $script . '/*]]>*/</script>';
   return '<span id="' . $id . '" style="font-weight:normal">(E-mail Protected). You need to <span style="font-weight:bold">enable</span> JavaScript.</span>' . $script;
}


Now upload dmca.php and modify the email address to the one you want, and thats it. Your email is claimed to be protected by using a method described in the function.  Visit their website for more info.
— 2020-03-25 02:45:56 in
Thanks shadows!
Retrieve User Classes — 2020-03-24 03:17:12 in v3 Support
Worked well for what I needed it for!

[ATTACH type="full"]5404[/ATTACH]
Retrieve User Classes — 2020-03-23 22:18:15 in v3 Support
How does one retrieve user class like this? I've tried 3 global variations and this as incorrect but close as I can get.

I can dig into functions and force it over but can I just use something like this?

EDIT: this is what works, sorry

account-details.php
   <?
   // User classes - revised - March 23, 2020
   if ($user["class"] == 7) {
      echo '<div style="border-radius:5px;background:#c0c0c0;padding:5px;text-align:center;color:#FFF;width:200px;padding-bottom:10px">Administrator</div>';
   } elseif ($user["class"] == 4) {
       echo '<div style="border-radius:5px;background:#c0c0c0;padding:5px;text-align:center;color:#FFF;width:200px;padding-bottom:10px">Uploader</div>';
   } elseif ($user["class"] == 1) {
       echo '<div style="text-align:center;padding-bottom:10px">Member</div>';
   }
   ?>
torrents-details.php — 2020-03-23 11:39:10 in v2.08 Support
Our user base is entirely based on google traffic, but true. It’s what the bots index before you decide on robots.txt
torrents-details.php — 2020-03-23 08:09:17 in v2.08 Support
This actually simply secures download links to to SHA1 hash I believe, this was only to obfuscate download URLs with no other intention. What you want to do is start working with $_GET and register torrent.name into the variable and call it manually to test working, but you must updated a LOT of internal references to the script/ID or you will have dead links everywhere.

ID and Name can both be used. Name is good for SEO, ID is a little dated, but hook-efficient (you can call it throughout the script without much effort).

I'll be working on this one tomorrow as I do care about SEO and that will bring some changes to the rewrite rules too.
torrents-details.php — 2020-03-23 08:04:53 in v2.08 Support
"spiritblue, post: 68215, member: 401":

Your answer is here and I install them on the v3 it works very well
([url='http://www.torrenttrader.org/viewtopic.php?f=14&t=219']OpenSSL AES Download URL Encryption[/url] By WiiLF - Update By MicroMonkey )


Thats my old account, haha. I did this years back, it works good!
torrents-details.php — 2020-03-23 08:04:17 in v2.08 Support
Thats my old account, haha. I did this years back, it works good!
I would personally scrap forums.php altogether, its a complete mess by god is it outdated. Getting pretty close to running with MyBB...
You can strip out the extra HTML, this is my template but don't want to break the mod removing markup. This is how it looks on my end.


<?
   
$forum_table_header = 0; // Enable/Disable table header
   
// Community Forum Posts - Sidebar - March 22, 2020 - BETA
   print("<div ng-repeat=\"item in items\" class=\"col\" style=\"margin-left:5px;padding-bottom:10px;width:463px\"><article itemprop=\"itemListElement\" itemscope=\"\" itemtype=\"http://schema.org/Article\" class=\"card\" style=\"padding:0px;margin:0px\"><table>");
   if ($forum_table_header == 1){
   print("<tr><td style='text-align:center;background:#FFF;width:100%'>Community Topic</td>
          <td bgcolor=#ffffff align=left width=47>Replies</td>
          <td bgcolor=#ffffff align=center width=47>Views</td>
          <td bgcolor=#ffffff align=center width=85>Author</td>
          <td bgcolor=#ffffff align=left width=85>Last Post</td></tr>");
   }      
   $for = SQL_Query_exec("SELECT * FROM forum_topics ORDER BY lastpost DESC LIMIT 5");
   while ($topicarr = mysql_fetch_assoc($for)) {
       $res   = SQL_Query_exec("SELECT name, minclassread, guest_read FROM forum_forums WHERE id=$topicarr[forumid]");
       $forum = mysql_fetch_assoc($res);
       if (get_user_class() >= $forum["minclassread"] || $forum["guest_read"] == "yes") {
           $forumname    = "<a href='$site_config[SITEURL]/community/?action=viewforum&amp;forumid=$topicarr[forumid]'>" . htmlspecialchars($forum["name"]) . "</a>";
           $topicid      = $topicarr["id"];
           $topic_title  = stripslashes($topicarr["subject"]);
           $topic_userid = $topicarr["userid"];
           $views        = $topicarr["views"];
           $res          = SQL_Query_exec("SELECT COUNT(*) FROM forum_posts WHERE topicid=$topicid");
           $arr          = mysql_fetch_row($res);
           $posts        = $arr[0];
           $replies      = max(0, $posts - 1);
           $res          = SQL_Query_exec("SELECT * FROM forum_posts WHERE topicid=$topicid ORDER BY id DESC LIMIT 1");
           $arr          = mysql_fetch_assoc($res);
           $postid       = 0 + $arr["id"];
           $userid       = 0 + $arr["userid"];
           $added        = date("M d, Y", utc_to_tz_time($arr["added"])); // Updated for clean dates
           $res          = SQL_Query_exec("SELECT id, avatar, username FROM users WHERE id=$userid");
           if (mysql_num_rows($res) == 1) {
               $arr      = mysql_fetch_assoc($res);
               $username = "<a href='$site_config[SITEURL]/user/?id=$userid'><img src='$site_config[SITEURL]/$arr[avatar]' style='width:40px;height:40px;border-radius:50%' /></a>";
           } else
               $username = "Unknown[$topic_userid]";
           $res = SQL_Query_exec("SELECT avatar FROM users WHERE id=$topic_userid");
           if (mysql_num_rows($res) == 1) {
               $arr    = mysql_fetch_assoc($res);
               $author = "<a href='$site_config[SITEURL]/user/?id=$topic_userid'><img src='$site_config[SITEURL]/$arr[avatar]' style='width:40px;height:40px;border-radius:50%' /></a>";
           } else
               $author = "Unknown[$topic_userid]";
           $r         = SQL_Query_exec("SELECT lastpostread FROM forum_readposts WHERE userid=$userid AND topicid=$topicid");
           $a         = mysql_fetch_row($r);
           $new       = !$a || $postid > $a[0];
           $cutstring = 19;
           $subject   = "<i class='material-icons' style='color:#FFF;vertical-align:middle;padding-left:3px'>forum</i> <a title='Topic: $topic_title' href='$site_config[SITEURL]/community/?action=viewtopic&topicid=$topicid' style='font-family:arial,helvetica,sans-serif;color:#FFF;font-weight:bold;font-size:16px;padding-left:3px'>" . htmlspecialchars(CutName($topicarr["subject"], $cutstring)) . "</a>";
           
           print("<tr>
                  <td style='color:#FFF;background:#ED2324;text-align:left;height:0px;box-shadow: inset 1px 5px 7px -6px #000000;_border-bottom:1px solid #FFF'>$subject</td>
                  <td class=alt2 align=center style='background:#e6e6e6;border-bottom:1px solid #FFF'>
                          <i class='material-icons' style='color:rgba(231,34,37,1);vertical-align:middle'>flash_on</i> <a href='$site_config[SITEURL]/community/?action=viewtopic&topicid=$topicid' style='font-family:arial,helvetica,sans-serif;color:#000;font-weight:bold;font-size:16px'>$replies</a>
                  </td>
                  <td style='background:#e6e6e6;border-bottom:1px solid #FFF;pointer-events:none'>
                          <span style='color:#FFF;background:#ED2324;padding:8px;border-radius:50%;text-align:center;width:30px;height:30px;box-shadow: inset 1px 5px 7px -6px #000000'>$views</span>
                  </td>
                  <td class=alt1 align=center style='background:#e6e6e6;border-bottom:1px solid #FFF'>$author</td>
                 
                  <td style='background:#e6e6e6;border-bottom:1px solid #FFF;pointer-events:none'><i class='material-icons' style='color:#242424'>swap_horiz</i></td>
                 
                  <td class=alt2 align=center style='background:#e6e6e6;border-bottom:1px solid #FFF;text-align:center'>$username</td>");
           print("</tr>");
       }
   }
   print("</table></article></div>");
?>


<!-- https://codepen.io/camcom/pen/ENRmmN -->
<style>.bolt:after{content:"";top:-9px;left:-8px;border:5px solid transparent;border-bottom:25px solid #ed2324;transform:rotateZ(4deg);padding:0;width:0;height:0;position:absolute;margin:0;overflow:visible;border-top:0 solid;border-radius:0;transform-origin:50% 50% 0}</style>



[ATTACH type="full" alt="example_1.png"]5403[/ATTACH]
I’ve made changes, just not finish yet, I’ll post here
Thank you
I can not extract this ZIP on Mac.. strangest thing
Peer User ID - Bug — 2020-03-19 20:48:03 in v3 Support
"shadows, post: 68186, member: 20311":

Then the problem is not SQL, the problem comes from somewhere else.


Well I appreciate the time to investigate this very much, I think we may drop it as feature since its as far from accurate as possible.
phpMiler mod — 2020-03-19 20:46:47 in v3 Mods Requests
I was going to take a few hours at implementing this in, and never got to it. This should be requested for both V2 / V3
Peer User ID - Bug — 2020-03-19 01:19:22 in v3 Support
{
   "data":
   [
       {
           "name": "Mystic Vale NSP + XCI + UPDATE + 2 DLCs",
           "id": 2653,
           "torrent": 411,
           "peer_id": "-UM1870-«!»pnÒxô",
           "ip": "<removed>",
           "port": 6999,
           "uploaded": 0,
           "downloaded": 0,
           "to_go": "0",
           "seeder": "yes",
           "started": "2020-03-18 08:44:32",
           "last_action": "2020-03-18 11:44:39",
           "connectable": "no",
           "client": "uTorrentMac/1870(43796)",
           "userid": "390",
           "passkey": "2788b2af9d02730",
           "id": 390,
           "username": "casann",
           "password": "<removed>",
           "secret": "BLOB",
           "email": "<removed>@gmail.com",
           "status": "confirmed",
           "added": "2020-02-26 06:36:45",
           "last_login": "2020-03-18 06:25:04",
           "last_access": "2020-03-18 06:25:05",
           "editsecret": "BLOB",
           "privacy": "normal",
           "stylesheet": 1,
           "language": "1",
           "info": null,
           "acceptpms": "yes",
           "ip": "<removed>",
           "class": 1,
           "avatar": "images/avatars/87f017a9acf4b8cd4acb73118147c0cd6fb59db5.jpg",
           "avatar_thumb": "images/avatars/87f017a9acf4b8cd4acb73118147c0cd6fb59db5_thumb.jpg",
           "uploaded": 83236314575,
           "downloaded": 180128153158,
           "title": "",
           "donated": 0,
           "country": 14,
           "notifs": "",
           "enabled": "yes",
           "modcomment": null,
           "gender": "Male",
           "client": "",
           "age": 0,
           "warned": "no",
           "signature": "",
           "last_browse": 1584450115,
           "forumbanned": "no",
           "invited_by": 0,
           "invitees": "",
           "invites": 0,
           "invitedate": "0000-00-00 00:00:00",
           "commentpm": "yes",
           "passkey": "2788b2af9d02730",
           "page": "Viewing Torrent ID 407",
           "team": 0,
           "tzoffset": 0,
           "hideshoutbox": "no",
           "moods": 1,
           "comments": 0,
           "found_num": 1
       }
   ]
}


Results exported to JSON so easy read. Everything is some other user except this is valid for me:

- User-agent
- Port (uTorrent)

All else is another user. I am seeding this torrent. This is where it fails.  Clicking on the avatar is the correct user ID it seems, but the picture is all wrong, and some torrents I'm seeding it shows me perfectly fine.
This xblade is a complete asshat. Sends me nasty PM then sends me link to his website. The guy ridicules people and doesn't bother helping. Not good for community. Guy acts like he's this godlike developer, what a fucking joke. Your like the rest of us.. your (when your not bitching) learning like the rest of us. Give it a bloody break,
Peer User ID - Bug — 2020-03-18 00:18:11 in v3 Support
This is the issue, is 6 people of the same picture and ID will be listed for the same torrent ID. This is where this query is a real breaker for TT

The query resolves my ID (1) just fine (thank you) but I'm now trying to resolve my avatar picture (users.avatar) like it does with ID. On the MySQL website, maybe I can dig something up. Right now, it seems to pull a random avatar photo and multiply them across the peer list (since this is unique to the torrent ID it strikes me confused). I've "Force Clean" each test, and even left it alone for a day, it doesn't make a difference.
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