Bravo List

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

Napon 23rd August 2016 21:19

1 Attachment(s)
thats no info we need the error mass you geting or can not fix it lol

this is the last repo i did

son 26th August 2016 13:08

Word off caution.
 
It's great to see tbdev being modded, but there should be concerns for the new users that don't have coding experience, when using a code base thats outdated and has more security holes than a sift.

Mysql isn't supported and replaced with mysqli, which essentially the code that calls on mysql has to be updated for mysqli, coding experience is required to so. So this version is already under the curve ball for major work.

There are a number off sources on here already that have replaced mysql and upgraded to mysqli, and theres a good chance its security holes that are in the old tbdev are drastically reduced.

If this is your upgraded version off tbdev why are you using torrentstrike installer instead of your own.

The important thing is that, when using any source, php/mysqli basic knowledge is a requirement, even more so when using outdated source code like this.

fireknight 26th August 2016 14:08

ss207823

You words of caution , are well founded.
And should be taken seriously.
There are a lot security issues regarding mysql.

Having said that, TBDev is a great code for beginner coders to cut their teeth so to speak.

It is based upon the original TBsource.
And a fantastic place for beginner coders to learn about coding.

Everyone has to start somewhere, as we all did. :coffee:

Napon 26th August 2016 20:00

Quote:

Originally Posted by fireknight (Post 49252)
ss207823

You words of caution , are well founded.
And should be taken seriously.
There are a lot security issues regarding mysql.

Having said that, TBDev is a great code for beginner coders to cut their teeth so to speak.

It is based upon the original TBsource.
And a fantastic place for beginner coders to learn about coding.

Everyone has to start somewhere, as we all did. :coffee:

true as i did this for something to do was bored every code started out with TBDev aka original TBsource

there is alot of TBsource on here and over the net and alot of sites that is still using old mysql too and that is a very lot of big site too and im apart of them to and do alot of work for them too so no its not new code all the time is it

For Example

change Mysql too sql_query
its not as easy as that you will need to change alot of code to match it this

fireknight 28th August 2016 04:57

Quote:

Originally Posted by Napon (Post 49253)
TBDev aka original TBsource

Totally wrong.

TBsource and TBDev are not the same code.

TBsource

Was the first private site open source code released = TorrentBits.
This was the site http://tbsource.org
The link does not work !!!!

TBDev is a deviation of TBsource -- an Xbit code if you like.

Just like TorrentStrike is / was a deviation of TBDev.

Napon 28th August 2016 10:11

change Mysql too sql_query
its not as easy as that you will need to change alot of code to match it

also my torrantstike is TBsource

fireknight 28th August 2016 13:38

Quote:

Originally Posted by Napon (Post 49256)
change Mysql too sql_query
its not as easy as that you will need to change alot of code to match it

It is not as hard as you make out, if you look at it logically.

I use TextPad as my php editor.
If I hit the F8 key, a pop up box appears.
It has 2 input boxes.

1: Find
2: Replace

Box Number 1 ( Find ) I input mysql_query
Box Number 2 ( Replace ) I input sql_query

I then click the return button named Replace All
And it replaces all the mysql_query with the new sql_query
The whole page in one click.
Takes about 5 seconds per page.

Then all you need to do is create the function for sql_query.

Most php editors will have the same type of find and replace text option.
You just have to look through your php editor and find it.

Napon 28th August 2016 18:07

what function for sql_query ? im nealy there lol with this one step then done

fireknight 29th August 2016 08:42

Quote:

Originally Posted by Napon (Post 49259)
what function for sql_query ? im nealy there lol with this one step then done

There are only 2 steps to do.
It's not that hard.

OK a quick and basic lesson in functions.

You want to replace mysql_query with sql_query.

Example of a mysql_query
Code:

mysql_query("SELECT username FROM users WHERE id = 1");
See how mysql_query has 2 brackets and ends with a semi colan.
That is a function, same as the example below

Code:

parked();
The only differance is - the mysql_query("********");
Is reconised by php as a pre set standard function.

Where parked(); has to be defined as a function with-in the source code.

So to replace mysql_query with sql_query.
You will need to create a function for sql_query.

Example ( DO NOT COPY AND PASTE )
Code:

function sql_query()
{
    $result = mysql_query();

    return $result;
}

You should be able to figure it out from the above example.
After all you do write your own custom code all the time.
Which I am sure includes lots of custom functions.

Napon 29th August 2016 10:52

i see where you are coming from mate this would not work the above mate at all and its a long way of doing it too mate sorry it would not work at all ive given up on this when bittorrent can do this for you with out adding to every page

sql_query();

to every page and it would not work at all


All times are GMT +2. The time now is 00:53.

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