Torrent Trader Joomla Package

April 8th, 2009 | Categories: Downloads, Joomla, Software | Tags: , , ,

Current Version: 1.5

This is the component and module that came from the original Torrent Tracker component. Because that component was not actually an ‘Torrent Tracker’, I have renamed the project, and recreated the component from scratch. This version is much faster, looks better, is easier to support, and I have also created an script to add to your crontab (cron job) to update ten random torrents at a time. You can then schedule the cron job to run at any time, or every so many minutes, or hours and keep the pages up-to-date with torrent statistics.

You can find both the component, module, and cron script in the zip file below. Please note that this is still beta software, I have it working on two of my own servers, and others are testing it.

If you would like to see this component in action, please create an account, and login. On your top right you will see Torrents. Please do not upload warez, you may upload Open Source, or Free stuff. Feel free to upload a torrent or two, and click on the stats icon for your torrent, you will see more information, and available actions.

Please note that this component will probably NOT work on shared hosting servers. This component uses fopen() for local files and remote URLs, fclose(), unlink(), curl() and more file system related actions.

Please be aware that this is BETA software for the moment. I have tried to find all possible bugs, but I am sure some exist. If you find any problems, please create an account, login to the forums, and post in the Joomla! Components section. Be descriptive about your problems, so that I may help you better and faster. Thank you.

CURRENT VERSION:

Torrent Trader 1.5 Download — All Files Included in This .ZIP

————————–
:: Note
————————–

This component was not meant, or programmed with the idea in mind that you will be allowing non-users (anonymous users) to use it. It has been programmed for USERS to login and use, and manage their own torrents.

Please be aware that I am NOT promoting piracy with this component, there are thousands of legit reasons to use Bittorrent to help the
internet and share bandwidth!

————————–
:: Requirements
————————–

1) An functioning Joomla! Installation
2) PHP & MySQL (Requirement for Joomla! anyway)
3) fopen() at least for local file (This is VERY important, as the component needs to open and read the .torrent files!)
4) curl() support (This is just as important, I have removed fopen() for URLs and use curl() now because more hosts support it!)
5) Some disk space to store the .torrent files.
6) Some database space to store the information for the files.
7) Some knowledge of graphics and html to make the component match your site better.

————————–
:: Component Installation
————————–

You should install the Torrent Trader component (com_torrenttrader.zip) as a normal Joomla! Component. After you have installed the
component, visit Torrent Trader inside the Components menu.

The top three settings are the most important.

Torrents Path: /torrents/ <- You can change this to where you want the torrents kept, the default is great as it will be easy to use for
future adjustments, and such. Remember what you put here, you will need this path for the module configuration later.

Rows Per Page: # <- How many torrents to show per page, when viewing an entire category, or the My Torrents page. Thirty (30) works
pretty good here.

Torrents to Show under each Category: # <- This limits the amount of torrents to show under each category on the FRONT PAGE COMPONENT only. You should play with this number to get what you like. Five (5) works good here.

RSS Entries: # <- This is for future versions, that will support RSS.

Language: english <- Put the filename of the language file you wish to use here, do not include the .php extension. Languages can be found in components/com_torrenttrader/languages. English is included and is defaulted.

While you are here, go ahead and make a category, or a few. When done, click Save at the bottom of the page.

————————–
:: Add Component to a Menu
————————–

Now, you should add the Torrent Trader component to a menu. Most popular is the Main Menu. When adding a component to the menu, take note of the ItemID that was automatically assigned to the item. You will need this for the module installation.

————————–
:: Module Installation
————————–

You should install the Torrent Trader module (mod_torrenttrader.zip) as a normal Joomla! Module. After you have installed the module,
visit the Site Modules page, and find Torrent Trader Upload in your module list. Click on the name to configure the module. Here are
some default values, and a brief description.

ItemID: #  <- This number should be set to the same ItemID that was assigned to the component Torrent Trader when you installed, and added the component to your menu.

Torrent Folder: /torrents/ <- This should be set to the same folder you configured in the component setup. This is where the torrents
will be stored.

Torrent File Length: 200 <- This should be a good number to start out with. This field will limit the amount of characters allowed in
the file name of the uploaded torrent. If the uploaded filename is longer then this, the upload will fail, and not be added to the
storage folder, or database.

Field Size: # <- This will set the width of the upload file field. You should play with this until the upload field looks like it fits
your site well.

Torrent File Size: 250 <- This number is multiplied by 1024 to set how large in KB the uploaded torrent file can be, anything larger
then this will fail, and not be added to the storage folder, or database.

CSS Class (Input Field): inputbox <- If you want to use CSS for customizing the module, you can enter the class for the upload     file
field to use here. Sometimes, you may wish to blank this, and save, and check the results, as they might appear better.

CSS Class (Upload Button): button <- If you want to use CSS for customizing the Upload! button, enter the class here. The default
‘button’ is a Joomla! default.

Textarea Rows for Description Field: # <- How many rows should the description field have? Play around with this, and the Cols for the
description field, so that it looks well in your site.

Textarea Cols for Description Field: # <- How many cols should the description field have? Play around with this, and the Rows for the
description field, so that it looks well in your site.

Language: english <- Put the filename of the language file you wish to use here, do not include the .php extension. Languages can be found in components/com_torrenttrader/languages. English is included and is defaulted.

Debug Mode: no <- Change to yes, to stop the module from refreshing the torrent page. When refresh is off, you will be able to see any
errors, and warnings produced by the upload, torrent parse, and database entry functions.

————————–
:: My Torrents Page
————————–

If you look around you will see no mention of a My Torrents page. This is because there is no hard coded link to it in the component or
module. If you would like to allow users to see all of the torrents they have uploaded, add a URL item to a menu, or the user menu. To
get the correct URL (because some people use SEF Components, while others do not) visit your Torrent Trader page and copy the URL. Make the URL on the menu point to that URL with the added option of ” action=mytorrents “. If you use SEF stuff, it might look like ”
action,mytorrents ” instead. This page will show all uploaded torrents by the currently logged in user.

————————–
:: Deleting Torrents
————————–

Users will be able to remove the torrents that they have uploaded under their user name. Super Administrators and Administrators will be able to remove ANY torrent from the front end. To remove a torrent, just click on the red X on the right hand side of the torrents list,
under Delete.

————————–
:: Security
————————–

It is recommended that you place an .htaccess file inside the Torrent Storage folder. This will prevent people from going to your site,
modifying the URL with /torrents/ at the end, and leeching your .torrent files. An .htaccess file can prevent this, or in your servers
main configuration file, something along the lines of Directory Listing. Please refer to your server documentation about this.

————————–
:: Feature Requests / Suggestions / Comments / Bugs
————————–

Please post all of these in the forums here on Archaic Binary, I will be able to read them and work on them when I get the time! :-)

————————–
:: Support
————————–

Because I work on this in my spare time, please ask support questions in my forums, here on Archaic Binary. Thank you.

  1. April 25th, 2009 at 08:49
    Reply | Quote | #1

    Oh man, it’s perfect! Really, it’s very good! Thank you!

  2. gringo
    May 2nd, 2009 at 18:36
    Reply | Quote | #2

    Will be developed also for Joomla 1.5? thanks

  3. May 3rd, 2009 at 00:32
    Reply | Quote | #3

    @gringo
    Sorry, at the moment I have stopped work on this software. You (or anyone) is free to take the code and modify it to work for Joomla 1.5.

    I do not even run Joomla anymore on this site, the site has become too simple.

    Again, sorry about this.

  4. gringo
    May 3rd, 2009 at 09:04
    Reply | Quote | #4

    Thanks for the quick response. :)

  5. June 24th, 2009 at 08:41
    Reply | Quote | #5

    nice one. I tried to install it but…

    * JInstaller::install: There is already a folder called ‘/var/www/vhosts/dzineit.gr/subdomains/tracker/httpdocs/administrator/components/com_torrenttrader/’. Please initially check whether:
    • the Extension is already installed
    • the file names in the XML file are spelled correctly
    • there are no XML files listed inside the extension.xml file
    • all of the files (not including XML files) are correctly listed in the extension.xml file and there are no duplicate entries
    • there is an empty folder listed from a previous installation attempt
    * Component Install: Could not copy PHP install file.

    I cant solve it… :(

  6. June 25th, 2009 at 11:25
    Reply | Quote | #6

    @nick
    First of all, remember this is unsupported with Joomla 1.5+ and it’s here for source code only.

    Make sure the folder does not exist com_torrenttrader.

    Looking at it, seems you probably have Joomla 1.5 or newer.

  7. August 10th, 2009 at 03:34
    Reply | Quote | #7

    It is desired and useful module. There is such a question! what point the way for the announcement torenta on the tracker? Usually there is a file announce.php here that I did not find.

  8. August 13th, 2009 at 08:31
    Reply | Quote | #8

    @Alex
    This is not a Torrent ‘Tracker’ this is simply a way to share .torrent files. There is no tracker server supplied here, included in the package, nor was there ever one. You can get a simple PHP tracker to run WITH this package to add features to a simple tracker only package.

  9. September 7th, 2009 at 12:40
    Reply | Quote | #9

    i was wondering where should i upload the cron update tracker file and how to edit it and also this is a great program and my website is compleltly based on this .

  10. September 7th, 2009 at 15:10

    You can edit the script with any text editor, VI, Notepad, nano. It does not matter. It also does not matter where you place the update file, as long as you make a cron job to run the file itself. You can find out how to make cron jobs by searching Google, as your host may use a different version of Linux or UNIX then mine.

    Torrent Trader was a side project I used when I was building Joomla sites and really made it for my cousin, it’s not been updated for Joomla 1.5 or really ever used after. The code is actually very simple, and can be edited with any text editor. It’s written in PHP as are the majority if not of Joomla components.

    I do not run a Joomla site anymore, so if I did have some extra time to test it, I would have to setup another Joomla install.

    I would suggest you open the .php files and such and read over them, I left comments where I felt they are necessary and it was kept as clean as I could keep it.

    I just could not support the amount of requests coming on a hourly basis for this component.

  11. September 14th, 2009 at 17:14

    i understand the support request coming on an hourly basis we at mozartskull.com would like to host and make a complete forum to your component question and answers that way you can have more time to yourself while we answer the amount of request
    what do you think of that and pls read on
    thanks for replying anyhow i found how to edit it and i would like to ask how do i add trackers to it and i found a problem something i dont understand its showing tracker errors on almost every torrent i dont understand even the ones which were working fine we removed a torrent and uploaded the same torrent again it showed a tracker error while 5 min ago it was working fine.
    THANKS

    and please can you make one for 1.5 it would be a joomla super hit and in return ill help you out in any advertising or anything and pls could you just see the tracker problem

  12. September 15th, 2009 at 08:30

    Sometimes the trackers you are contacting will not respond to the specified user agent, other times they will only allow a number of requests in a specific time span.

    Let me load up 1.5 and read all the stuff for the new install routines and see what I can do. This will take some time though. I will post up what I find needs to be changed and see what I can do.

  13. September 15th, 2009 at 16:53

    can we communicate through email

  14. September 17th, 2009 at 15:44

    New bug i think
    every new torrent added aparently has a tracker error i know that im bothering you a lot for that i apologize but still i have no way of contactiong you cause you never reply to emails

    2ndly do you want me to mail you the bugs we found or should i post them here
    thanks
    mozartskull

  15. September 18th, 2009 at 08:58

    I’m slowly working on a Joomla 1.5 version. Please do not post bugs until this version is out since I will be writing it from new code and not using old code. I am a systems administrator for a medium sized company and have much going on at the moment, I cannot respond to all emails sorry.

  16. October 20th, 2009 at 12:09

    hi
    we got the older version working on 1.5 in legacy mode and its working great it just needs a few adjustments oh ya and if you release the new version and we install that will we have to upload our torrents from the begining again
    and how can we make the torrents searchable which have been uploaded on the site
    thanks
    mozartskull

TOP