Bravo List

Bravo List (http://www.bvlist.com/index.php)
-   Torrent Trader (http://www.bvlist.com/forumdisplay.php?f=29)
-   -   TT 2.08 for php 7 (http://www.bvlist.com/showthread.php?t=11940)

MicroMonkey 4th March 2019 00:03

TT 2.08 for php 7
 
Feel free to try this out. Tested and working on mysql 5.7 and php 7.2. There may be a hiccup in it somewhere. Just let me know. I cant be everywhere all the time, so give me some time to address any issues that are found.
this is the basic TT 2.08 https://github.com/MicrosoulV3/torrenttrader-3.0

fanson 4th March 2019 10:21

white page when saving the settings
Code:

http://www.sitename.uk/admincp.php?action=settings&do=saveadmincp.php?action=settings&do=save
Bump: see seed 0-lecher 0, seedy
Tracked: EXTERNAL

LIVE STATS:
Tracker Timeout
Please retry later


Bump: see seed 0-lecher 0, seedy
Tracked: EXTERNAL

LIVE STATS:
Tracker Timeout
Please retry later


Bump: Tracked: EXTERNAL

LIVE STATS:
Tracker Timeout
Please retry later

icewarrior 4th March 2019 19:20

the settings part in admincp was never finished, you have to change settings in config.php

MicroMonkey 4th March 2019 20:58

oh yea, I forgot mention that unfinished code was still in the ACP. I didnt remove anything. I left it fully as I downloaded it. You should remove that from the ACP

MicroMonkey 16th March 2019 22:09

I moved the project to github https://github.com/MicrosoulV3/torrenttrader-3.0

Shahan 24th March 2019 13:35

Fatal error: Call to undefined function gmp_strval() in C:\xampp\htdocs\backend\functions.php on line 2104 how to fix it In XAMPP

l3on 24th March 2019 15:39

Your missing a PHP module

icewarrior 26th March 2019 05:05

if using xammp go to line 2104 and comment it out

Napon 7th April 2019 18:09

if u want a proper mysqli tt pm me this no good lol want to be coders
on this site https://www.torrenttrader.xyz/ icewarrior above forum watch out Mr M-JAY THINKS HES A PRO CODER LOL DO NOT INSTALL any of he stuff it will not work same with admin too can not code for shit.. just a side note its torrent trader v2 not v3

MicroMonkey 7th April 2019 19:11

must you spam like a 12 year old girl? If I ask nice, will you show me the proper way to use mysqli?

fireman 8th April 2019 02:43

Quote:

Originally Posted by Napon (Post 53491)
if u want a proper mysqli tt pm me this no good lol want to be coders
on this site https://www.torrenttrader.xyz/ icewarrior above forum watch out Mr M-JAY THINKS HES A PRO CODER LOL DO NOT INSTALL any of he stuff it will not work same with admin too can not code for shit.. just a side note its torrent trader v2 not v3

Why do you cut down others work together make it the best it can be without bashing Napon

MicroMonkey 16th December 2019 00:12

In announce.php, functions.php, and scrape.php there are references to get_magic_quotes_gpc(), which has been dead for a long time, but everything just worked since it returned false and moved on. It seems the new php 7.4 completely dont like this reference at all, so if you remove it, this code works on 7.4 as well. Im testing this on ubuntu 18.04.3lts and apache 2.4.41
Code:

function unesc($x) {
    if (get_magic_quotes_gpc())
        return stripslashes($x);
    return $x;
}

to
Code:

function unesc($x) {
        return stripslashes($x);
    return $x;
}


and in scrape.php
Code:

foreach (explode("&", $_SERVER["QUERY_STRING"]) as $item) {
    if (preg_match("#^info_hash=(.+)\$#", $item, $m)) {
        $hash = urldecode($m[1]);

        if (get_magic_quotes_gpc())
            $info_hash = stripslashes($hash);
        else
            $info_hash = $hash;
        if (strlen($info_hash) == 20)
            $info_hash = bin2hex($info_hash);
        else if (strlen($info_hash) != 40)
            continue;
        $infohash[] = sqlesc(strtolower($info_hash));
    }
}

to
Code:

foreach (explode("&", $_SERVER["QUERY_STRING"]) as $item) {
    if (preg_match("#^info_hash=(.+)\$#", $item, $m)) {
        $hash = urldecode($m[1]);
            $info_hash = stripslashes($hash);
    //    $info_hash = $hash;
        if (strlen($info_hash) == 20)
            $info_hash = bin2hex($info_hash);
        else if (strlen($info_hash) != 40)
            continue;
        $infohash[] = sqlesc(strtolower($info_hash));
    }
}

try it and see if Its good or not. Im no expert, just trying to have fun and help out. :) If there is a better way, let me know

Napon 16th December 2019 01:09

i can comfirm this how this should be in PHP7 done Also this will work in Over all PHP7 Platforms of 7.1 .7.2 7.3 so on

MicroMonkey 16th December 2019 03:20

only 7.4 has an issue with magic_quotes so far as I can tell. 7.3 and below does not, but I agree with napon, it should be removed.

Napon 5th February 2020 20:19

Quote:

Originally Posted by MicroMonkey (Post 54345)
only 7.4 has an issue with magic_quotes so far as I can tell. 7.3 and below does not, but I agree with napon, it should be removed.


have you set it as a class for this to work in 7.4 you should know alot as changed in the 7.4 use class functions trust me it will work i know ive just coder a mate site to 7.4 using TT code from base github...and set to mysqli

STorrents2019 20th February 2020 11:48

Quote:

Originally Posted by Napon (Post 53491)
if u want a proper mysqli tt pm me this no good lol want to be coders
on this site https://www.torrenttrader.xyz/ icewarrior above forum watch out Mr M-JAY THINKS HES A PRO CODER LOL DO NOT INSTALL any of he stuff it will not work same with admin too can not code for shit.. just a side note its torrent trader v2 not v3

I beg to differ, in fact I pushed TT to v4 beyond either version, completely responsive too, rewritten index results, dynamic Ajax autocomplete search using JQueryUI search that pulls torrent data using JSON, memcached and more. You don’t know what your talking about 😂 I did so much work on it that it felt necessary to push it up a version. Private source.

rio 20th February 2020 19:49

What are point of showing off if your not going to share the source code.

thartley55 20th February 2020 21:52

I agree.
If your "private source" is just that...private...then it is only your version TT2.08, modded to suit your needs.
If it is so heavily modded, maybe you should just rename to completely new source, create a support forums, and either share the basic code with paid mods...or just sell the thing...become another xam.

STorrents2019 21st February 2020 00:32

General thoughts
 
Quote:

Originally Posted by thartley55 (Post 54540)
I agree.
If your "private source" is just that...private...then it is only your version TT2.08, modded to suit your needs.
If it is so heavily modded, maybe you should just rename to completely new source, create a support forums, and either share the basic code with paid mods...or just sell the thing...become another xam.

The difference is, I actually post my work (just not here) but my template is in-house. I'll never pass that on, however anyone determined can copy any theme from anywhere, its the PHP code in template/core that will throw the brakes on the process.

My aim was not to be arrogant it was to let buddy there know he's an idiot blowing smoke out of his ass. Every time I visit this forum, which isn't often enough unfortunately, I'm invited to negativity from some asshole I'm reading about in a thread sounding like a small child who got onto their daddy's laptop.

If things ever go rogue in the in the future, it just may see Github but that is unlikely. As always, a big shout out to those involved in the project. I don't share on here because it took maybe a month to manually enable my account for posting rights, in that time I already committed to xyz. Thats all for now.

thartley55 21st February 2020 00:40

Fair enough.

Napon 17th March 2020 14:39

TORRENTTRADER V3
 
attention

Attention

Theres no security download and use at your own risk




https://www.bvlist.com/showthread.php?t=11940

TORRENTTRADER V3
Download at your own risk Any hacker will hack this
All they done is copy past old mods to the core and not done no security at all yes any hacker can and will hack your site....
just shows you want to be coders, but got something to tell you lot over there get your head out of your bum and code and not want to be code as this is all it is
This not v3 this is 208 v2 edit to a so called MYSQLI and not a true MYSQLI so they think so Dream on v3..its not a new Plateform at all

MicroMonkey 19th April 2020 01:06

Im confused napon, if any hacker will hack this, why didnt any hacker hack the old version over and over? Please explain your though process

BamBam0077 19th April 2020 08:56

This cunts gotta be on crack for sure, right? Look everyone knows about the security flaws in torrent trader by now so why act like a monkey over basic shit? Looking like a fuckwit to be honest. I admit I have my out burst though just forget about it. the original coders won't patch it if they were too they would have shared within tt's community so please stop posting "new" tt208 etc man it's getting old. Grow up please & nice work on other projects I have been watching. Good luck :friend:

MicroMonkey 19th April 2020 18:34

I know right? All I did was make it work on php 7+ and renamed it 3.0 so as to not have it be mistaken for the php 5.x version and I get criticized for it lol. Thats ok tho, we have some great people developing new versions and bringing some life back to the code. Napon just blasts people for their efforts all day and never helps or produces anything of value.

Bump: Can a moderator update the link in the first post to reflect the new repo here https://github.com/MicrosoulV3/TorrentTrader-v3

Bump: Can a moderator update the link in the first post to reflect the new repo here https://github.com/MicrosoulV3/TorrentTrader-v3

Bump: github link https://github.com/MicrosoulV3/TorrentTrader-v3


All times are GMT +2. The time now is 20:01.

Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2024, vBulletin Solutions Inc.