View unanswered posts | View active topics It is currently Sat Feb 04, 2012 9:36 am



Post new topic Reply to topic  [ 4 posts ] 
 Installation Instructions 
Author Message

Joined: Tue Jan 19, 2010 6:33 pm
Posts: 3
Post Installation Instructions
Thanks for a great component.

It was a bit of a fight but it is now working correctly and looks very nice.
The main issue that I ran into was that my database prefix has a number in it so was regarded as invalid by the Frontend Settings.
I tried with copying tables so that I could change the prefix but in the end it was easier just to have a dedicated torrent site with a fresh install of Joomla rather than integrating the frontend into my existing site.

The installation instructions in the XBT Tracker section of this site were useful as was this post by toto325. However it did take a bit of searching and head scratching.

I saw that you are thinking of doing some video tutorials which would be great but you also say that time is an issue.
I thought it might help if I wrote down the method that I took to get the XBT_Frontend up and running in this thread.

Hope that's OK


Last edited by sammoth on Thu Jan 21, 2010 1:30 pm, edited 1 time in total.



Thu Jan 21, 2010 12:59 pm
Profile

Joined: Tue Jan 19, 2010 6:33 pm
Posts: 3
Post Re: Installation Instructions
Installation Instructions

I used a fresh install of Joomla on a Debain (Lenny) server. These instructions are simply the process that I worked through to get the XBT Frontend set up and working.

1) Follow the instuructions here for using apt-get to download the dependencies and XBT_Tracker.

2) Before using the make command to compile XBT_Tracker, open config.cpp in a text editor. On line 63 change
Quote:
"column_users_uid", &m_column_users_uid, "uid",
to read
Quote:
"column_users_uid", &m_column_users_uid, "id",
Edit: This is no longer needed as the Frontend Code allows you to change uid to id

3) Compile XBT_Tracker with the make command and then copy the xbt_tracker and xbt_tracker.conf.default files to the folder you want XBT_Tracker to run from (no need to copy xbt_tracker.sql as the Frontend sets the database up for you)

4) Move to the XBT operation folder you just moved the files to, change xbt_tracker.conf.default to xbt_tracker.conf and open it up in a text editor.

5) Change the settings in xbt_tracker.conf to the following
Quote:
mysql_host = [database_host]
mysql_user = [username]
mysql_password = [password]
mysql_database = [database_name]
mysql_table_prefix = [jos]_tracker_
table_users = [jos]_users


Everything enclosed in [Square Brackets] is a setting unique to your setup. [jos] is whatever the prefix of your database is

6) Install the XBT_Frontend component into Joomla in the normal way.

7) In the Joomla folder on your server create the following folders: [joomla_root]/torrents and [joomla_root]/images/tracker_categories. chmod both of these folders to 777

8) In the Joomla Administration area go to the control panel of the XBT_Tracker Component. Click on the link to configure the component.

9) I left most settings as the defaults. The ones to watch are the database table names. Make sure they contain the prefix of your database then an underscore then the word tracker. For example jos_tracker_[table name]. You will also need to change the option 'Users UID Column' to read id

10) to be able to view any torrent information on the frontend you need to create a new group with permission to view the data. Then make sure your user name is added to that group.

11) Create menu items for the XBT_Tracker pages in the normal way. You should now be able to view torrent data, upload torrents, view user data and view tracker statistics from the frontend of your joomla website.


Last edited by sammoth on Fri Jan 22, 2010 12:18 pm, edited 1 time in total.



Thu Jan 21, 2010 1:29 pm
Profile
Site Admin
User avatar

Joined: Sun Nov 01, 2009 2:32 pm
Posts: 544
Post Re: Installation Instructions
You're right about the tutorial. I'm in debt about it.

Regarding your tutorial, you don't need to change the XBT Tracker code, since you can use the component configuration options and change the uid to be id.

You can just compile the tracker without any special option to work with the com_tracker.

The only time you need to change the xbt tracker code is to implement any of the addons that are available, but Olaf will send you the changed code for xbt tracker.


Thu Jan 21, 2010 7:37 pm
Profile

Joined: Tue Jan 19, 2010 6:33 pm
Posts: 3
Post Re: Installation Instructions
I hadn't noticed that option. Thanks for pointing it out.
I'll edit the post above to reflect that


Fri Jan 22, 2010 12:15 pm
Profile
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 


Who is online

Users browsing this forum: No registered users


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group. || Designed by Vjacheslav Trushkin for Free Forums/DivisionCore. || Tunned by VisiGod