TBDev Forum
Programming board
Main Page Forum Rules Privacy Policy Members Contact Us
Welcome Guest (Login | Register)
TBDev Forum TBDev.net General Chit Chat and Feedback Step by Step Idiots FAQ for Customizing Tracker

Step by Step Idiots FAQ for Customizing Tracker

2006-09-04 22:27:00
Group: Member
Posts: 6
Topics participated: 3
Topics started: 2
First post: 2006-08-29 15:48:00
Last post: 2006-09-04 22:27:00
Since many people including me are by nature stupid for any technological work lets make collection of questions and answers that will be arranged in order and represent a tutorial for anybody that wants to start his own tracker but is short on php or designing knowledge. So be free to include your own Q or A or both. I hope this will make sticky and most of all life easy to many people. I would like to donate $50 to this site if this project succeeds. How we will now? Well I am noob who wants his own torrent site so if I make it after reading these posts anybody will. So lets start.

Q: Where to start?
A: Download latest tbdev tracker source code.

Q: What are software programs that I can use to preview and edit php pages?
A:

Q: What is the easiest way to change site layout? What pages I have to edit? How can I preview my new look?
A:

Q: Are there pre-designed templates I can use?
A:

Q: What characteristics .css file is responsible for? How can I change the look of my pages working with .css?
A:

Q: How do I start with feature customization?
A:

Q What lines of admincp.php I have to look for?
A:


THAT IS IT FOR NOW! Add your questions and answers even if they are mentioned before. Let's make this great source truly available for everybody.
 
2006-09-04 23:43:00
Group: Member
Posts: 197
Topics participated: 134
Topics started: 6
First post: 2006-04-27 18:08:00
Last post: 2006-11-11 15:25:00
Well, i`ll just answer in one piece so here you go..
You need a php viewer, there are a lot of programs, just google some, and surely you'll find one of them. installing the source ( localhost* or webhosting**)Changing .css file with the colour you like, adding html codes into php files, layouts, examples you find everyone, again search by google and you'll find some good tutorials about integration with php.

*localhost - you need both php / mysql, all packages included in apache, so try looking for apache and install it.
**webhosting - upload the source using a ftp client, changing secrets.php with the server details, import sql into phpmyadmin, and so on ( you need these to install on localhost too )
 
2006-09-10 23:29:00
Group: Member
Posts: 54
Topics participated: 12
Topics started: 5
First post: 2006-07-18 21:21:00
Last post: 2006-11-08 12:10:00
Installing mysql php and apache (LAMP) is not so easy.
But you can download pre-package sofwares that will do all this for you without pain:
Try EeasyPHP. It's very good for starting:
 
2006-09-12 23:59:00
Group: Member
Posts: 161
Topics participated: 97
Topics started: 13
First post: 2006-03-10 01:11:00
Last post: 2008-12-17 02:24:00
Q. What are software programs that I can use to preview and edit php pages?

A. I suggest or something similar. You'll learn php pretty quickly doing it this way if you don't know it already. As already mention, get EasyPHP if you're running Windows and you can preview your work on your own PC as you go.

Should we make screenshots or something? A complete idiot's guide....

This is just my train of thought so I may edit this later....

Step 1
Extract the archive and upload all the files (except *.sql, LICENCE, README, CHANGES) to your root directory of a subdomain. You cannot run the tracker in a subdirectory without making some major code edits which I'd assume you're incapable of doing if you're in need of this guide.

Step 2
Create the SQL database and populate it with the data (countries, caegories, etc.). If you want to edit the categories, open the categories.sql file in Notepad++ before you add it to the database and change it. Just easier that way.

Step 3
Open includes/secrets.php and enter your daabase information. You will need to know the database name, username, password and server (usually localhost).
[If running EasyPHP on your PC your username is root and server is localhost. No password is needed unless you set it up to require one, which is mostly pointless unless you are actually going to be running your site from your computer.]

Step 4
Open includes/bittorrent.php and change the following settings (there are already explanations in the file but just incase):

$maxusers = 2000;
Enter the maximum number of users you want to be able to register on your site.

$torrent_dir = "/home/username/public_html/torrents";
On Linux hosting it will be similar to the above. Check with your host if you're not sure.

$announce_urls[] = "http://mytorrentsite.com/announce.php";
You only need one announce URL and you don't need to use ports unless someone tells you otherwise (like if you have problems when you're NOT using them).

$DEFAULTBASEURL = "http://mytorrentsite.com";
This will either be pointing to your root (as above) or a subdomain (eg. . Once again, you cannot install in a subdirectory so something like is wrong and will NOT work.

$SITEEMAIL = "noreply@mytorrentsite.com";
The email address your confirmation emails and whatnot will come from. This doesn't need to be an actual address, or it can be a catch-all address. Most people use noreply@theirdomainname

$SITENAME = "My Torrent Site";
What's the name of your site? Put that in there. Please make sure it's not "Untitled Document".

Save and close bittorrent.php. Once you have everything else working you might want to come back and play with announce_interval, autoclean_interval, etc. but for now there is absolutely no need to touch them.
 
2006-09-20 07:10:00
Group: Member
Posts: 650
Topics participated: 378
Topics started: 41
First post: 2006-03-31 04:55:00
Last post: 2008-11-11 13:27:00
Installing mysql php and apache (LAMP) is not so easy.
But you can download pre-package sofwares that will do all this for you without pain:
Try EeasyPHP. It's very good for starting:



or xampp :P thats got to be the easyest tp install if ya ask me lol

easy to switch from php5 to php4 in mins :)

tony
 
2006-09-20 17:45:00
Group: Member
Posts: 510
Topics participated: 277
Topics started: 5
First post: 2006-03-13 22:18:00
Last post: 2006-10-25 20:54:00
The problem with those idots are that they don't read errors, don't search for an answer but just make annoying topics with even more annoying titles....for example Vova Kazakov, " Help please .." really helpful title...i don't even answer those topics anymore, post a normal topic or don't post at all.
 

Similar threads

Topic Posts Last post
What's the next step? 3 2008-12-19 10:31:00
faq.php 3 2008-09-02 08:45:00
Faq problems! 4 2007-01-29 23:39:00
MySQL driven FAQ 4 2008-07-02 08:51:00
MySQL driven FAQ 9 2007-10-08 20:23:00