Bravo List

Bravo List (http://www.bvlist.com/index.php)
-   TBDev (http://www.bvlist.com/forumdisplay.php?f=20)
-   -   My Modded TBDev (http://www.bvlist.com/showthread.php?t=10988)

Napon 8th October 2016 18:33

My Modded TBDev
 
1 Attachment(s)
Alot of member have ask me by pm to up date the TBDev_2016

so here it is now back to TBDev_2010 please do not us any code from the TBDev_2016 as it be no good to you all TBDev_2010 as hed a overall of everything from mysql too sql also a new users cp and new bonus read the readme

RikT 8th October 2016 18:43

Quote:

Originally Posted by Napon (Post 49489)
Alot of member have ask me by pm to up date the TBDev_2016

so here it is now back to TBDev_2010 please do not us any code from the TBDev_2016 as it be no good to you all TBDev_2010 as hed a overall of everything from mysql too sql also a new users cp and new bonus read the readme

there has never been an official TBDev 2010 let alone TBDEV 2016

again more fantasy

son 8th October 2016 19:32

Quote:

Originally Posted by Napon (Post 49489)
Alot of member have ask me by pm to up date the TBDev_2016

so here it is now back to TBDev_2010 please do not us any code from the TBDev_2016 as it be no good to you all TBDev_2010 as hed a overall of everything from mysql too sql also a new users cp and new bonus read the readme

Are you for real:lol:
So with your advanced fantasy coding are going to support this.

Napon 9th October 2016 00:24

i will be the one to ask for work for this
As for the rest of you gtaff ok

fireknight 9th October 2016 01:39

A couple of quick and serious questions for you.

Quote:

Originally Posted by Napon (Post 49489)
TBDev_2010 as hed a overall of everything from mysql too sql


1:
While you were doing a full overall and changed over from mysql to sql.
Why did you not just simply update from myqsl to mysqli at the same time.
I would have thought anyone releasing a new source these days would make it mysqli ( more secure ).
And not mysql which is not as secure, not to mention been depreciated over the next few years. ( according to all the reports out there )

2:
While you were doing a full overall.
I thought you would have added.
D.O.B & Country to the registration form, for when new members sign up.

joeroberts 9th October 2016 04:06

All I can say is WOW!

OK
#1 why are you not closing sql conections?
#2 why are you not clearing sql querys?
#3 Your calling this tbdev 2010 here but in your code your calling it torrentstrike.net
PHP Code:

+------------------------------------------------
|   
BitTorrent Tracker PHP
|   =============================================
|   
by Cod3r
|   (c2015 2016 torrentstrike.net
|   http://torrentstrike.net
|   =============================================
|   
Licence InfoGPL
+------------------------------------------------ 

and there there are headers from old tbdev
PHP Code:

+------------------------------------------------
|   
TBDev.net BitTorrent Tracker PHP
|   =============================================
|   
by CoLdFuSiOn
|   (c2003 2011 TBDev.Net
|   http://www.tbdev.net
|   =============================================
|   
svnhttp://sourceforge.net/projects/tbdevnet/
|   Licence InfoGPL
+------------------------------------------------
|   
$Date$
|   
$Revision$
|   
$Author$
|   
$URL$
+------------------------------------------------ 

You have files in there dating back to 2011

#4 this part is going to throw allot of errors
PHP Code:

ob_start("ob_gzhandler"); 

this
PHP Code:

error_reporting(E_ALL); 

is not 100% reliable on all servers if php.ini is suppressing errors and if its not then I can tell you users are going to see allot of E_NOTICE errors and some E_DEPRECATED and that is only from looking over a few files man

son 9th October 2016 11:49

Quote:

Originally Posted by Napon (Post 49494)
i will be the one to ask for work for this
As for the rest of you gtaff ok

So in your cryptic post, let me see if I get the translation right, your the only one that can be contacted for help on this, aside from staff on here.

Someone should give you a nudge so that you can wake up from dreamland.

Napon 9th October 2016 12:12

template
 
1 Attachment(s)
here is a fix for the recover and signup replace the template with the one here
@fireknight you should Now before any msqli can be done it as to be sql for starts
@joeroberts yes it is old code too your above commets about this the code base was took from ghub for starts chap and all will be fixed in time as i code this base up it is given out for members on here to have and play with code as time gose on ill am doing it all as you now with your tracker code it takes time alot of time the reason ive done this i have hed alot of members on here pm me for updates for this in time there will be more croms put on for hnr so on

son 9th October 2016 12:58

Quote:

Originally Posted by Napon (Post 49501)
here is a fix for the recover and signup replace the template with the one here
@fireknight you should Now before any msqli can be done it as to be sql for starts
@joeroberts yes it is old code too your above commets about this the code base was took from ghub for starts chap and all will be fixed in time as i code this base up it is given out for members on here to have and play with code as time gose on ill am doing it all as you now with your tracker code it takes time alot of time the reason ive done this i have hed alot of members on here pm me for updates for this in time there will be more croms put on for hnr so on

Why not update your first rar file instead off making people search for any changes or so called updates you make.

Are you serious, now your giving fireknight and joeroberts pointers, when it should be you that take note, not the other way around.

Here you go again promising a code base, will you ever learn, no body wants your headache.

DND 9th October 2016 13:05

@Napon
1.you realize that sql = mysql ? its just called sql because it is easier
2. sql_query as it is in u-232, and you ripped the code from there, it is used because they made a function called sql_query which does what mysqli is supposed to do and also because they have another function that show some stats used by mysql server
instead of mysqli_query they have sql_query just because of that function

PHP Code:

function mysql_fetch_all($query$default_value = Array())                       {                           $r = @sql_query($query);                           $result = Array();                           if ($err = ((is_object($GLOBALS["___mysqli_ston"])) ? mysqli_error($GLOBALS["___mysqli_ston"]) : (($___mysqli_res mysqli_connect_error()) ? $___mysqli_res false)))return $err;                           if (@mysqli_num_rows($r))                               while ($row mysqli_fetch_array($r))$result[] = $row;                           if (count($result) == 0)                               return $default_value;                           return $result;                       } 

PHP Code:

function sql_query($query)                       {                           global $query_stat;                           $query_start_time microtime(true); // Start time                           $result = mysqli_query($GLOBALS["___mysqli_ston"], $query);                           $query_end_time = microtime(true); // End time                           $querytime = ($query_end_time - $query_start_time);                           $query_stat[] = array(                               'seconds' => number_format($query_end_time - $query_start_time, 6) ,                               'query' => $query                           );                           return $result;                       } 

:coffee:

Mysqli is not such a huge thing, i dunno what ya keep blabbering about. There are a lot of converters which will convert simple mysql code into mysqli
If you want to blabber about something just do what joeroberts and I did which is to use PDO
I dont care, really, about anything you do, but at least make it right


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

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