Posts Tagged ‘P2P’
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.
So you want to download files from sites that are using Bittorrent? But have no idea how to start? No problem, I am going to walk you through downloading files using a Bittorrent client.
First, you are going to need a piece of software called a Bittorrent client. There are quite a few programs that will do this task, but I like using uTorrent, and thats what I’m going to walk you through.
Get uTorrent by clicking here [Link: http://www.utorrent.com/download.php ]. I recommend that you download the Installation Program version, as you can easily remove it later on, if you don’t have a use for it.
When the file is done downloading, double click to open it. Choose your language from the list and click OK.
Click Next on the Welcome Screen. The default Destination Folder is best in most cases, click Next at the bottom. The installer will now ask you what to call the start menu folder, click Install at the bottom, as the default is fine.
When it is done, click Finish at the bottom. Lets configure the client now.
You can delete the file that you downloaded if you wish, then go to Start -> Programs -> uTorrent and run uTorrent.
The welcome message will display, you can click on No, because we already have a shortcut on the start menu. uTorrent will now ask if you wish for it to be the default application for .torrent files. Go ahead and click Yes, this will make your life much easier.
The next screen is where things get a little confusing. For uTorrent to download files more efficiently you have to forward a port in your router, it can be any number you choose at the bottom. Default is 32459. I will have to let you refer to your routers manual if you have a router.
Click Run speed test at button and choose the best speed for what the site returns to you. Then, click Use Selected Settings at the bottom of the dialog.
Now you have completed the install of uTorrent.
Now the easiest way to download files, is to find a tracker website, and follow their way to download the .torrent files, when your browser goes to download the file, uTorrent will open the file and begin.
Althrough there is no proven way to completely protect yourself from the money hungry bastards that want to limit and control the P2P networks, there are some ways that you can protect yourself.
First of all, don’t share your entire hard drives. I have seen people sharing their entire C: drive. (Windows users of course)
Second, use some sort of program that will block connections to and from servers and clients that are known as fake, bad, corrupt, or just some unknown that seem suspicious. Two programs I know of are… Protowall and PeerGuardian.
After you have an IP Blocking Program, you have to keep it updated. There are probably many more, but I use Blocklist Manager which can update block lists for eMule, PeerGuardian, Protowall and many more.
Third, if you are sharing lots of files, DON’T leave your P2P program running 24/7 if your not downloading anything!