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

— 2020-02-18 04:56:33 in
I honestly disable this feature altogether, and users are in right away. Improves user experience. Its a outdated method and sites use token authentication now.
As such as the previous version (take description from there), I've prepared a PDO version this time. Steps are the same as previous post.

--

First, create a file called - search_ajax.php

* Be sure to enter your database details before uploading file


<?
$conn = new PDO('mysql:host=localhost;dbname=db1', 'user', 'password');
$query ='%'.$_GET['query'].'%';

$sql = $conn->prepare("SELECT name FROM torrents WHERE name LIKE :query");
$sql->bindParam(':query', $query, PDO::PARAM_STR);
$sql->execute();

$results = array();

foreach ($sql->fetchAll(PDO::FETCH_COLUMN) as $row) {
   $results[] = $row;
}

echo json_encode($results);
?>


Next, you will add to footer.php

<script>
   $(document).ready(function () {
       $('#ajaxResults').typeahead({
           source: function (query, result) {
               $.ajax({
                   url: "search_ajax.php",
                   data: 'query=' + query,        
                   dataType: "json",
                   type: "POST",
                   success: function (data) {
                       result($.map(data, function (item) {
                           return item;
                       }));
                   }
               });
           }
       });
   });
</script>


Next, you will open /blocks/simplesearch_block.php and replace everything with:

<?php
begin_block(T_("SEARCH"));
?>
   <center>
   <form method="get" action="torrents-search.php"><br />
   <input type="text" name="search" size="15" id="ajaxResults" value="<?php echo htmlspecialchars($_GET['search']); ?>" />
   <br /><br />
   <input type="submit" value="<?php echo T_("SEARCH"); ?>" />
   </form>
   </center><br />
   <?php
end_block();
?>


Next, you will need to add to - header.php before </head>

<script src="//code.jquery.com/jquery-2.1.4.min.js"></script>
<script type="text/javascript" src="<? echo $site_config["SITEURL"]; ?>/themes/default/js/typeahead.js"></script>
<style>
   .typeahead { border: 2px solid #FFF;border-radius: 4px;padding: 8px 12px;max-width: 300px;min-width: 290px;background: rgba(66, 52, 52, 0.5);color: #FFF;}
   .tt-menu { width:300px; }
   ul.typeahead{margin:0px;padding:10px 0px;}
   ul.typeahead.dropdown-menu li a {padding: 10px !important;    border-bottom:#CCC 1px solid;color:#FFF;}
   ul.typeahead.dropdown-menu li:last-child a { border-bottom:0px !important; }
   .bgcolor {max-width: 550px;min-width: 290px;max-height:340px;background:url("world-contries.jpg") no-repeat center center;padding: 100px 10px 130px;border-radius:4px;text-align:center;margin:10px;}
   .demo-label {font-size:1.5em;color: #686868;font-weight: 500;color:#FFF;}
   .dropdown-menu>.active>a, .dropdown-menu>.active>a:focus, .dropdown-menu>.active>a:hover {
       text-decoration: none;
       background-color: #1f3f41;
       outline: 0;
   }
</style>


Lastly, you will need to upload typeahead.js to /themes/default/js

!function(a,b){"use strict";"undefined"!=typeof module&&module.exports?module.exports=b(require("jquery")):"function"==typeof define&&define.amd?define(["jquery"],function(a){return b(a)}):b(a.jQuery)}(this,function(a){"use strict";var b=function(c,d){this.$element=a(c),this.options=a.extend({},b.defaults,d),this.matcher=this.options.matcher||this.matcher,this.sorter=this.options.sorter||this.sorter,this.select=this.options.select||this.select,this.autoSelect="boolean"!=typeof this.options.autoSelect||this.options.autoSelect,this.highlighter=this.options.highlighter||this.highlighter,this.render=this.options.render||this.render,this.updater=this.options.updater||this.updater,this.displayText=this.options.displayText||this.displayText,this.source=this.options.source,this.delay=this.options.delay,this.$menu=a(this.options.menu),this.$appendTo=this.options.appendTo?a(this.options.appendTo):null,this.fitToElement="boolean"==typeof this.options.fitToElement&&this.options.fitToElement,this.shown=!1,this.listen(),this.showHintOnFocus=("boolean"==typeof this.options.showHintOnFocus||"all"===this.options.showHintOnFocus)&&this.options.showHintOnFocus,this.afterSelect=this.options.afterSelect,this.addItem=!1,this.value=this.$element.val()||this.$element.text()};b.prototype={constructor:b,select:function(){var a=this.$menu.find(".active").data("value");if(this.$element.data("active",a),this.autoSelect||a){var b=this.updater(a);b||(b=""),this.$element.val(this.displayText(b)||b).text(this.displayText(b)||b).change(),this.afterSelect(b)}return this.hide()},updater:function(a){return a},setSource:function(a){this.source=a},show:function(){var d,b=a.extend({},this.$element.position(),{height:this.$element[0].offsetHeight}),c="function"==typeof this.options.scrollHeight?this.options.scrollHeight.call():this.options.scrollHeight;if(this.shown?d=this.$menu:this.$appendTo?(d=this.$menu.appendTo(this.$appendTo),this.hasSameParent=this.$appendTo.is(this.$element.parent())):(d=this.$menu.insertAfter(this.$element),this.hasSameParent=!0),!this.hasSameParent){d.css("position","fixed");var e=this.$element.offset();b.top=e.top,b.left=e.left}var f=a(d).parent().hasClass("dropup"),g=f?"auto":b.top+b.height+c,h=a(d).hasClass("dropdown-menu-right"),i=h?"auto":b.left;return d.css({top:g,left:i}).show(),this.options.fitToElement===!0&&d.css("width",this.$element.outerWidth()+"px"),this.shown=!0,this},hide:function(){return this.$menu.hide(),this.shown=!1,this},lookup:function(b){if("undefined"!=typeof b&&null!==b?this.query=b:this.query=this.$element.val()||this.$element.text()||"",this.query.length<this.options.minLength&&!this.options.showHintOnFocus)return this.shown?this.hide():this;var d=a.proxy(function(){a.isFunction(this.source)?this.source(this.query,a.proxy(this.process,this)):this.source&&this.process(this.source)},this);clearTimeout(this.lookupWorker),this.lookupWorker=setTimeout(d,this.delay)},process:function(b){var c=this;return b=a.grep(b,function(a){return c.matcher(a)}),b=this.sorter(b),b.length||this.options.addItem?(b.length>0?this.$element.data("active",b[0]):this.$element.data("active",null),this.options.addItem&&b.push(this.options.addItem),"all"==this.options.items?this.render(b).show():this.render(b.slice(0,this.options.items)).show()):this.shown?this.hide():this},matcher:function(a){var b=this.displayText(a);return~b.toLowerCase().indexOf(this.query.toLowerCase())},sorter:function(a){for(var e,b=[],c=[],d=[];e=a.shift();){var f=this.displayText(e);f.toLowerCase().indexOf(this.query.toLowerCase())?~f.indexOf(this.query)?c.push(e):d.push(e):b.push(e)}return b.concat(c,d)},highlighter:function(a){var b=this.query;if(""===b)return a;var f,c=a.match(/(>)([^<]*)(<)/g),d=[],e=[];if(c&&c.length)for(f=0;f<c.length;++f)c[f].length>2&&d.push(c[f]);else d=[],d.push(a);var h,g=new RegExp(b,"g");for(f=0;f<d.length;++f)h=d[f].match(g),h&&h.length>0&&e.push(d[f]);for(f=0;f<e.length;++f)a=a.replace(e[f],e[f].replace(g,"<strong>$&</strong>"));return a},render:function(b){var c=this,d=this,e=!1,f=[],g=c.options.separator;return a.each(b,function(a,c){a>0&&c[g]!==b[a-1][g]&&f.push({__type:"divider"}),!c[g]||0!==a&&c[g]===b[a-1][g]||f.push({__type:"category",name:c[g]}),f.push(c)}),b=a(f).map(function(b,f){if("category"==(f.__type||!1))return a(c.options.headerHtml).text(f.name)[0];if("divider"==(f.__type||!1))return a(c.options.headerDivider)[0];var g=d.displayText(f);return b=a(c.options.item).data("value",f),b.find("a").html(c.highlighter(g,f)),g==d.$element.val()&&(b.addClass("active"),d.$element.data("active",f),e=!0),b[0]}),this.autoSelect&&!e&&(b.filter(":not(.dropdown-header)").first().addClass("active"),this.$element.data("active",b.first().data("value"))),this.$menu.html(b),this},displayText:function(a){return"undefined"!=typeof a&&"undefined"!=typeof a.name?a.name:a},next:function(b){var c=this.$menu.find(".active").removeClass("active"),d=c.next();d.length||(d=a(this.$menu.find("li")[0])),d.addClass("active")},prev:function(a){var b=this.$menu.find(".active").removeClass("active"),c=b.prev();c.length||(c=this.$menu.find("li").last()),c.addClass("active")},listen:function(){this.$element.on("focus",a.proxy(this.focus,this)).on("blur",a.proxy(this.blur,this)).on("keypress",a.proxy(this.keypress,this)).on("input",a.proxy(this.input,this)).on("keyup",a.proxy(this.keyup,this)),this.eventSupported("keydown")&&this.$element.on("keydown",a.proxy(this.keydown,this)),this.$menu.on("click",a.proxy(this.click,this)).on("mouseenter","li",a.proxy(this.mouseenter,this)).on("mouseleave","li",a.proxy(this.mouseleave,this)).on("mousedown",a.proxy(this.mousedown,this))},destroy:function(){this.$element.data("typeahead",null),this.$element.data("active",null),this.$element.off("focus").off("blur").off("keypress").off("input").off("keyup"),this.eventSupported("keydown")&&this.$element.off("keydown"),this.$menu.remove(),this.destroyed=!0},eventSupported:function(a){var b=a in this.$element;return b||(this.$element.setAttribute(a,"return;"),b="function"==typeof this.$element[a]),b},move:function(a){if(this.shown)switch(a.keyCode){case 9:case 13:case 27:a.preventDefault();break;case 38:if(a.shiftKey)return;a.preventDefault(),this.prev();break;case 40:if(a.shiftKey)return;a.preventDefault(),this.next()}},keydown:function(b){this.suppressKeyPressRepeat=~a.inArray(b.keyCode,[40,38,9,13,27]),this.shown||40!=b.keyCode?this.move(b):this.lookup()},keypress:function(a){this.suppressKeyPressRepeat||this.move(a)},input:function(a){var b=this.$element.val()||this.$element.text();this.value!==b&&(this.value=b,this.lookup())},keyup:function(a){if(!this.destroyed)switch(a.keyCode){case 40:case 38:case 16:case 17:case 18:break;case 9:case 13:if(!this.shown)return;this.select();break;case 27:if(!this.shown)return;this.hide()}},focus:function(a){this.focused||(this.focused=!0,this.options.showHintOnFocus&&this.skipShowHintOnFocus!==!0&&("all"===this.options.showHintOnFocus?this.lookup(""):this.lookup())),this.skipShowHintOnFocus&&(this.skipShowHintOnFocus=!1)},blur:function(a){this.mousedover||this.mouseddown||!this.shown?this.mouseddown&&(this.skipShowHintOnFocus=!0,this.$element.focus(),this.mouseddown=!1):(this.hide(),this.focused=!1)},click:function(a){a.preventDefault(),this.skipShowHintOnFocus=!0,this.select(),this.$element.focus(),this.hide()},mouseenter:function(b){this.mousedover=!0,this.$menu.find(".active").removeClass("active"),a(b.currentTarget).addClass("active")},mouseleave:function(a){this.mousedover=!1,!this.focused&&this.shown&&this.hide()},mousedown:function(a){this.mouseddown=!0,this.$menu.one("mouseup",function(a){this.mouseddown=!1}.bind(this))}};var c=a.fn.typeahead;a.fn.typeahead=function(c){var d=arguments;return"string"==typeof c&&"getActive"==c?this.data("active"):this.each(function(){var e=a(this),f=e.data("typeahead"),g="object"==typeof c&&c;f||e.data("typeahead",f=new b(this,g)),"string"==typeof c&&f[c]&&(d.length>1?f[c].apply(f,Array.prototype.slice.call(d,1)):f[c]())})},b.defaults={source:[],items:8,menu:'<ul class="typeahead dropdown-menu" role="listbox"></ul>',item:'<li><a class="dropdown-item" href="#" role="option"></a></li>',minLength:1,scrollHeight:0,autoSelect:!0,afterSelect:a.noop,addItem:!1,delay:0,separator:"category",headerHtml:'<li class="dropdown-header"></li>',headerDivider:'<li class="divider" role="separator"></li>'},a.fn.typeahead.Constructor=b,a.fn.typeahead.noConflict=function(){return a.fn.typeahead=c,this},a(document).on("focus.typeahead.data-api",'[data-provide="typeahead"]',function(b){var c=a(this);c.data("typeahead")||c.typeahead(c.data())})});


--

Let me know if it works, I assumed the best for most installations out there but I do not use Blocks and I have my search field in header.
will You be compiling a changelog on what has been transitioned to PDO? Makes a heavily modified site look quite discouraging.
online today — 2020-02-14 03:47:44 in v3 Mods Requests
Why wouldn’t you bind the queries and reduce all the code?
Here I compiled and tested this using several variations of ajax scripts, and this is the best by far in many ways. PDO in its purest.

Upload ajax_checkusername.php to main directory.

Open account-signup.php and find:

<tr>
   <td><?php echo T_("USERNAME"); ?>: <font class="required">*</font></td>
    <td><input type="text" size="40" name="wantusername" /></td>
</tr>


And replace with this:

<tr>
   <td><?php echo T_("USERNAME"); ?>: <font class="required">*</font></td>
    <td><input type="text" size="40" name="wantusername" id="validate" /></td>
    <!-- Response -->
    <div id="uname_response" ></div>
<script type="text/javascript">
$(document).ready(function() {
   $("#validate").keyup(function() {
       var a = $(this).val().trim();
       if ("" != a) {
           $("#uname_response").show();
           $.ajax({
               url: "ajax_checkusername.php", /* Use absolute url if you are using rewritten urls */
               type: "post",
               data: {
                   username: a
               },
               success: function(a) {
                   $("#uname_response").html(a);
               }
           });
       } else $("#uname_response").hide();
   });
});
</script>
</tr>


Be sure to update the database details in ajax_checkusername.php to match yours. Enjoy.
"shadows, post: 67864, member: 20311":

I think the best way of scraping torrents is to add a scraper which will automatically run when someone opens torrent if it didn't scrape torrent for lets say 10 hours.

Like

if (strtotime($row['last_updated']) > strtotime('-10 hours'))
{
run scraping tool without get request
}


I believe this can be easily done with a Ajax call, nice tip!
"m-jay, post: 67861, member: 20288":

I'll test :D I'll add the mod to my test site


Much appreciated!
"m-jay, post: 67859, member: 20288":

which other files do you use for scrape, scraper and maybe a class in backend, never allowed external torrents but ill give this a test (y)
this is a current work in progress for megascrape so you know what files people have https://www.torrenttrader.xyz/index.php?threads/scrape-udp-trackers.9795/
theres a sql function in there (mysql_fetch_array) for v3 needs to be sqli


This is based on the changes from that link. I’ve updated this scraper since. Still need testers as 95% of my torrents are tracker-less.
Hello. I have today what used to be mega-scraper.php but decided to bring it up to speed this afternoon for the first time. So what this does is scrapes all torrents (with or without metadata, even as little as only info_hash) using our database table of updated trackers for Feb 2020, and scrapes ALL torrents reported as 0 seeds (dead/DHT). I've tested this using a very basic magnet link with no appended trackers at all, converted to .torrent and tested on uTorrent, no trackers or any info at all. So I run the script and scrapes the same torrent not a problem!

This is great if your up against the DHT/PEX issue of no torrent stats from the swarm. This should resolve that, by relying on the info_hash to retrieve updated stats.

This script does need work, but I did make managing it much easier and joined two tables to work with the new tracker table.

TODO: Properly cycle through each tracker PER torrent ID, not just jump to next tracker on next torrent ID (doing the same thing again). This is the only limitation with the script as I am not as advanced as others.

I need people to test this out, report back and be sure to see the script options as well (I left them in for debug purposes).

Enjoy.

Proof of concept:
[URL unfurl="true"]https://www.switch-torrents.com/details/77/[/url]

The link above was (and still is) a dead torrent in terms of trackers. It was a very basic hash converted to .torrent and scraped. If you were to download this torrent, you would see no trackers in uTorrent.

Take care of magnet links

Open torrent-details.php and find this:

print ("<a href=\"magnet:?xt=urn:btih:".$row["info_hash"]."&dn=".$row["filename"]."&tr=udp://tracker.openbittorrent.com&tr=udp://tracker.publicbt.com\"><button type='button' class='btn btn-large btn-primary'>Magnet Download</button></a>");


Replace with this:

print ("<a href=\"magnet:?xt=urn:btih:".$row["info_hash"]."&dn=".$row["filename"]."&tr=".$row["trackers_db"]."><button type='button' class='btn btn-large btn-primary'>Magnet Download</button></a>");


Find this:

$res = SQL_Query_exec("SELECT torrents.anon, torrents.seeders, torrents.banned, torrents.leechers, torrents.info_hash, torrents.filename, torrents.nfo, torrents.last_action, torrents.numratings, torrents.name, torrents.owner, torrents.save_as, torrents.descr, torrents.visible, torrents.size, torrents.added, torrents.views, torrents.hits, torrents.times_completed, torrents.id, torrents.type, torrents.external, torrents.image1, torrents.image2, torrents.tags, torrents.youtube, torrents.announce, torrents.numfiles, torrents.freeleech, IF(torrents.numratings < 2, NULL, ROUND(torrents.ratingsum / torrents.numratings, 1)) AS rating, torrents.numratings, categories.name AS cat_name, torrentlang.name AS lang_name, torrentlang.image AS lang_image, categories.parent_cat as cat_parent, trackers.url as trackers_db, users.username, users.privacy, users.avatar FROM torrents LEFT JOIN categories ON torrents.category = categories.id LEFT JOIN torrentlang ON torrents.torrentlang = torrentlang.id LEFT JOIN users ON torrents.owner = users.id LEFT JOIN trackers ON trackers.url = trackers.url WHERE torrents.id = $id");


Replace with:

$res = SQL_Query_exec("SELECT torrents.anon, torrents.seeders, torrents.banned, torrents.leechers, torrents.info_hash, torrents.filename, torrents.nfo, torrents.last_action, torrents.numratings, torrents.name, torrents.owner, torrents.save_as, torrents.descr, torrents.visible, torrents.size, torrents.added, torrents.views, torrents.hits, torrents.times_completed, torrents.id, torrents.type, torrents.external, torrents.image1, torrents.image2, torrents.tags, torrents.youtube, torrents.announce, torrents.numfiles, torrents.freeleech, IF(torrents.numratings < 2, NULL, ROUND(torrents.ratingsum / torrents.numratings, 1)) AS rating, torrents.numratings, categories.name AS cat_name, torrentlang.name AS lang_name, torrentlang.image AS lang_image, categories.parent_cat as cat_parent, trackers.url as trackers_db, users.username, users.privacy, users.avatar FROM torrents LEFT JOIN categories ON torrents.category = categories.id LEFT JOIN torrentlang ON torrents.torrentlang = torrentlang.id LEFT JOIN users ON torrents.owner = users.id LEFT JOIN trackers ON trackers.url = trackers.url WHERE torrents.id = $id");
If you ever need some help, let me know. I spend maybe 6 hours a day on CSS/HTML
"Botanicar, post: 67840, member: 19833":

I have some project about index.php so it be better an that old, I sen all files to m-jay and  he check it first
torrent-details.php is finished and working on m-jay's V3 (need some estetic patricles to be finished) I share it here if you need it

[ATTACH type="full" alt="5366"]5366[/ATTACH]


I would reduce the spread px on text-shadow for better visibility *
Update Smilies — 2020-02-05 05:28:11 in v3 Mods Completed
Tables are dead
"spiritblue, post: 67814, member: 401":

thanks you...but it has duplicates ;)

   elseif (preg_match("/friends.php/i", $scriptname))
       $where = "Viewing Friends";
   elseif (preg_match("/bookmarks.php/i", $scriptname))
       $where = "Viewing Bookmarks";



I was testing against rewrites and script names using both and comparing, thank you I’ll update post.
I have updated the admin function for "Who's Where". The original was not at all accurate and never logged a lot of pages. Ive updated this so you will know where your users are as long as their active so you can better optimize concentrated pages or monitor user trend across your site.

Open /backend/functions.php and find:

function where($scriptname = "index", $userid, $update=1){
...
}


Replace entire function block with this:

function where($scriptname = "index", $userid, $update=1){
   if (!is_valid_id($userid))
       die;
   if (preg_match("/torrents-details.php/i", $scriptname))
       $where = "Browsing Torrent Details (ID $_GET[id])";
   elseif (preg_match("/torrents.php/i", $scriptname))
       $where = "Browsing Torrents";
   elseif (preg_match("/account-details.php/i", $scriptname))
       $where = "Browsing Account Details (ID $_GET[id])";
   elseif (preg_match("/torrents-upload.php/i", $scriptname))
       $where = "Uploading Torrent";
   elseif (preg_match("/account.php/i", $scriptname))
       $where = "Browsing User Control Panel";
   elseif (preg_match("/torrents-search/i", $scriptname))
       $where = "Searching For Torrents";
   elseif (preg_match("/forums.php/i", $scriptname))
       $where = "Viewing Forums";
   elseif (preg_match("/index/i", $scriptname))
       $where = "Browsing Homepage";
   elseif (preg_match("/mailbox.php/i", $scriptname))
       $where = "Viewing Messages";
   elseif (preg_match("/comments.php/i", $scriptname))
       $where = "Viewing Comments";
   elseif (preg_match("/account-recover.php/i", $scriptname))
       $where = "Recovering Account";
   elseif (preg_match("/bookmarks.php/i", $scriptname))
       $where = "Viewing Bookmarks";
   elseif (preg_match("/download.php/i", $scriptname))
       $where = "Downloaded Torrent (ID $_GET[id])";
   elseif (preg_match("/faq.php/i", $scriptname))
       $where = "Reading FAQ Page";
   elseif (preg_match("/friends.php/i", $scriptname))
       $where = "Viewing Friends";
   elseif (preg_match("/admincp.php/i", $scriptname))
       $where = "Managing Admin Panel"; // Fixes the "Unknown Location" for Admin when viewing Who's Where
   else
       $where = "Unknown Location";

   if ($update) {
       $query = sprintf("UPDATE users SET page=".sqlesc($where)." WHERE id ='%s'", mysql_real_escape_string($userid));
       $result = SQL_Query_exec($query);
   }
       return $where;
}
Send a welcome email to your new registered members.

Open account-signup.php and find:

 //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");
   }


And add directly after:

 
 // Auto Email New Users - Feb 1, 2020
   if ($site_config["WELCOMEEMAIL"]) {
       sendmail($email, "Welcome to $site_config[SITENAME]", $site_config["WELCOMEEMAILBODY"], "", "-f".$site_config['SITEEMAIL']);
   }


Open config.php and add:

// Feb 1, 2020 - New signup email
$site_config['WELCOMEEMAIL'] = true;
$site_config['WELCOMEEMAILBODY'] = 'Welcome to the site! We are updating our automatic emails.';


Lastly, confirm or change the following line in config.php to [color=rgb(184, 49, 47)]"pear"[/color]

$site_config["mail_type"] = "pear";


This is assuming you have filled out SMTP settings in both config & php.ini. Enjoy. I look to updating this to support full HTML theme for email body. Post will be updated to reflect those changes.
"MicroMonkey, post: 67809, member: 311":

I ran this on my test server using phpmyadmin. Seemed to work just fine.


Easy way: Best way.
"mostvotedplaya, post: 67198, member: 20335":

I would call that more of a mirroring service for torrents.

I made an actual API uploading service for TT some years ago, the core really needs this feature.


I remember that, you did it for me for a gaming site
SuperTag [TTv3] — 2020-01-26 23:46:06 in v3 Mods in Progress
This is super bloated for a basic function. Very little code added to torrents-edit.php, torrents-upload.php, a sql query for the new table, and even code to show on torrents-details.php. I’ll post it later tonight.

Good work though!
Shouldn’t need to, just use your MySQL remote client (HeidiSQL) to connect and run queries as root, or if not then look to enable SSH tunneling then reconnect to database and run the queries
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