BitTorrent Source Code
Switch branches/tags
Nothing to show
Clone or download
Latest commit 070ed3e Dec 5, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
XBT Add XBT files! Aug 27, 2016
admin Undefined variable fixed. Dec 24, 2017
ajax Update Licence Nov 5, 2016
avatar Update getstats.php Nov 21, 2017
blocks Update announcement.php Mar 12, 2017
cache Fixed userdetails.php anonymous flag May 3, 2017
captchaImages Added user acheivements link on statusbar ! Aug 28, 2016
css Scroll torrents & news update by son; browse search input box edited … Oct 29, 2016
dir_list Added user acheivements link on statusbar ! Aug 28, 2016
fonts Added user acheivements link on statusbar ! Aug 28, 2016
forums Update view_topic.php Dec 4, 2018
images Added user acheivements link on statusbar ! Aug 28, 2016
imdb Update imdb.class.php Sep 15, 2016
include Update invincible.php Jan 16, 2018
install Update config.xbtsample.php Mar 11, 2017
lang Merge pull request #110 from iseeyoucopy/patch-19 Jan 21, 2018
lottery Update Licence Nov 5, 2016
mods update free_details.php Feb 12, 2017
pm_system Update send_message.php Apr 25, 2017
scripts Update multiupload.js Nov 23, 2017
sqlerr_logs Blank File Nov 5, 2016
subtitles Update Licence Nov 5, 2016
templates Update template.php Jan 29, 2018
torrents Added user acheivements link on statusbar ! Aug 28, 2016
uploads Added user acheivements link on statusbar ! Aug 28, 2016
uploadsub Added user acheivements link on statusbar ! Aug 28, 2016
.gitignore Fixed userdetails.php anonymous flag May 3, 2017
.htaccess " -> " Nov 20, 2017
404.html U_232 First commit ! Aug 27, 2016
GeoIP.tar.gz U_232 First commit ! Aug 27, 2016
LICENSE.txt License update complete; Nov 6, 2016
Log_Viewer.tar.gz U_232 First commit ! Aug 27, 2016
README.md Updated readmes about Mysql 5.7 Sep 20, 2017
Readme.txt Updated readmes about Mysql 5.7 Sep 20, 2017
achievementbonus.php Update Licence Nov 5, 2016
achievementhistory.php Test commits; Dec 3, 2017
achievementlist.php Update Licence Nov 5, 2016
ajax.like.php Update Licence Nov 5, 2016
ajax.status.php Update Licence Nov 5, 2016
ajax.suggest.php Update Licence Nov 5, 2016
ajax_thumbsup.php Update Licence Nov 5, 2016
announce.php Update Licence Nov 5, 2016
auto_shout_scroll.php Update Licence Nov 5, 2016
auto_shout_scroll_get.php Test commit; Nov 25, 2017
bitbucket.php Update bitbucket.php JPEG extension bug Nov 30, 2017
bjstats.php Update Licence Nov 5, 2016
blackjack.php Update blackjack.php Nov 22, 2016
bookmark.php Update Licence Nov 5, 2016
bookmarks.php Update Licence Nov 5, 2016
browse.php forum sql corrections. Browse sql error fix. Dec 24, 2017
browse_catalogue.php Update browse_catalogue.php Feb 1, 2017
bugs.php Update Licence Nov 5, 2016
casino.php Update Licence Nov 5, 2016
catalogue.php Added missing global; Dec 29, 2016
chat.php Update chat.php Nov 18, 2016
clear_announcement.php Update Licence Nov 5, 2016
coins.php Update Licence Nov 5, 2016
comment.php Update Licence Nov 5, 2016
confirm.php Update Licence Nov 5, 2016
confirmemail.php Update Licence Nov 5, 2016
contactstaff.php contact staff subject issue + lang FR contactstaff Jan 11, 2017
createlink.php Update Licence Nov 5, 2016
credits.php Update Licence Nov 5, 2016
croncleanloader.php Update Licence Nov 5, 2016
delete.php Update Licence Nov 5, 2016
details.php Update details.php Feb 12, 2017
donate.php Update Licence Nov 5, 2016
donatecheck.php Update Licence Nov 5, 2016
download.php Update Licence Nov 5, 2016
downloadsub.php Update Licence Nov 5, 2016
edit.php Brace placement restored; Dec 14, 2016
error.php Update Licence Nov 5, 2016
faq.php Update Licence Nov 5, 2016
fastdelete.php Update Licence Nov 5, 2016
favicon.ico U_232 First commit ! Aug 27, 2016
filelist.php Update Licence Nov 5, 2016
formats.php Update Licence Nov 5, 2016
forums.php Update forums.php Jan 29, 2018
friends.php Update Licence Nov 5, 2016
getrss.php Update Licence Nov 5, 2016
gift.php Update Licence Nov 5, 2016
happylog.php Update Licence Nov 5, 2016
hnr.php Update Licence Nov 5, 2016
img.php Update Licence Nov 5, 2016
imgup.html U_232 First commit ! Aug 27, 2016
index.php Update Licence Nov 5, 2016
info.php Update Licence Nov 5, 2016
invite.php invite.php update Dec 4, 2016
invite_signup.php Update invite_signup.php Feb 18, 2017
invitecounter.php Update Licence Nov 5, 2016
irc_idle.php Update Licence Nov 5, 2016
irc_stats.php Update Licence Nov 5, 2016
ircs.php Update Licence Nov 5, 2016
links.php Update Licence Nov 5, 2016
login.php Update Licence Nov 5, 2016
logout.php Update Licence Nov 5, 2016
lottery.php Update Licence Nov 5, 2016
member_input.php Update Licence Nov 5, 2016
moresmiles.php Update Licence Nov 5, 2016
moresmilies_custom.php Update Licence Nov 5, 2016
multidetails.php Update Licence Nov 5, 2016
multiupload.php Update Licence Nov 5, 2016
mybonus.php Merge pull request #119 from iseeyoucopy/patch-24 Apr 1, 2018
mytorrents.php Update mytorrents.php Jan 20, 2018
namecheck.php Update; Nov 21, 2016
needseed.php Update Licence Nov 5, 2016
new_announcement.php Update Licence Nov 5, 2016
offers.php Update Licence Nov 5, 2016
ok.php Update Licence Nov 5, 2016
pagelogin.php Update Licence Nov 5, 2016
paypal_pay.gif U_232 First commit ! Aug 27, 2016
peerlist.php Update Licence Nov 5, 2016
peerlist_xbt.php Update Licence Nov 5, 2016
pic.tar.gz Various forums updates; Oct 9, 2016
pm_system.php removed extra characters from lang file, corrected 2 css links in pm_… Dec 14, 2016
polls.php Update Licence Nov 5, 2016
polls_take_vote.php Update Licence Nov 5, 2016
postcounter.php Update Licence Nov 5, 2016
promo.php Update Licence Nov 5, 2016
radio.php Hide paranoid users Nov 6, 2016
radio_popup.php Update Licence Nov 5, 2016
random.php Update Licence Nov 5, 2016
rating.php Update Licence Nov 5, 2016
recover.php Update Licence Nov 5, 2016
report.php Update Licence Nov 5, 2016
reputation.php Update; Nov 21, 2016
requests.php Update Licence Nov 5, 2016
reset_theme.php Update Licence Nov 5, 2016
resetpw.php Update Licence Nov 5, 2016
restoreclass.php Update Licence Nov 5, 2016
robots.txt U_232 First commit ! Aug 27, 2016
rss.php Update Licence Nov 5, 2016
rss.xml U_232 First commit ! Aug 27, 2016
rssdd.xml U_232 First commit ! Aug 27, 2016
rsstfreak.php Update Licence Nov 5, 2016
rules.php Update Licence Nov 5, 2016
scrape.php Update Licence Nov 5, 2016
setclass.php Update Licence Nov 5, 2016
sharemarks.php Update Licence Nov 5, 2016
shoutbox.php Update shoutbox.php Mar 11, 2017
shoutbox_commands.php Update Licence Nov 5, 2016
signup.php Updated readmes about Mysql 5.7 Sep 20, 2017
simpleCaptcha.php Update Licence Nov 5, 2016
sitepot.php Update Licence Nov 5, 2016
smilies.php Update Licence Nov 5, 2016
snatches.php Update Licence Nov 5, 2016
snatches_xbt.php Update Licence Nov 5, 2016
staff.php Update Licence Nov 5, 2016
staff_shoutbox.php Update staff_shoutbox.php Mar 11, 2017
staff_smilies.php Update Licence Nov 5, 2016
staffbox.php Update Licence Nov 5, 2016
staffpanel.php Update Licence Nov 5, 2016
subscriptions.php Update Licence Nov 5, 2016
subtitles.php subtitles.php + lang files Jan 22, 2017
tags.php Update Licence Nov 5, 2016
take_invite_signup.php Update take_invite_signup.php Jun 13, 2017
take_lang.php Update take_lang.php Jan 30, 2017
take_theme.php Update Licence Nov 5, 2016
takeedit.php Update Licence Nov 5, 2016
takeeditcp.php Update Licence Nov 5, 2016
takelogin.php Update takelogin.php Feb 23, 2018
takemultiupload.php Update takemultiupload.php Nov 20, 2016
takereseed.php Fix takereseed.php to clear memcache pm count for people getting a re… Feb 4, 2018
takesignup.php Update takesignup.php Feb 17, 2017
takethankyou.php Update Licence Nov 5, 2016
takeupload.php Update takeupload.php Nov 21, 2016
tenpercent.php Update Licence Nov 5, 2016
tfreak.php Update Licence Nov 5, 2016
thanks.php Update Licence Nov 5, 2016
topiccounter.php Update Licence Nov 5, 2016
topmoods.php Update Licence Nov 5, 2016
topten.php update topten.php - lang_topten.php (EN) Dec 7, 2016
torrents-today.php Update Licence Nov 5, 2016
upload.php Update Licence Nov 5, 2016
uploadapp.php Update Licence Nov 5, 2016
user_blocks.php Update Licence Nov 5, 2016
user_unlocks.php Update Licence Nov 5, 2016
useragreement.php Update Licence Nov 5, 2016
usercomment.php Update Licence Nov 5, 2016
usercp.php Lang pack 2 :: French Dec 4, 2016
userdetails.php Fixed userdetails.php anonymous flag May 3, 2017
userhistory.php forum sql corrections. Browse sql error fix. Dec 24, 2017
usermood.php Update Licence Nov 5, 2016
users.php Update users.php Nov 7, 2016
videoformats.php Update Licence Nov 5, 2016
view_announce_history.php Update Licence Nov 5, 2016
viewnfo.php Update Licence Nov 5, 2016
wiki.php Update Licence Nov 5, 2016

README.md

U-232-V5

   _   _   _   _   _     _   _   _   _   _   _     _   _   _   _	
  / \ / \ / \ / \ / \   / \ / \ / \ / \ / \ / \   / \ / \ / \ / \	
 ( U | - | 2 | 3 | 2 )-( S | O | U | R | C | E )-( C | O | D | E )	
  \_/ \_/ \_/ \_/ \_/   \_/ \_/ \_/ \_/ \_/ \_/   \_/ \_/ \_/ \_/	

U-232 V5 -> High performance Bittorrent tracker

Credits

All Credit goes to the original code creators, and especially to any author for the modifications I selected for U-232.

The original coders of torrentbits and especially to CoLdFuSiOn for carrying on the legacy with Tbdev.

XBT High-performance BitTorrent Tracker By Olaf van der Spek - http://code.google.com/p/xbt/, https://github.com/OlafvdSpek/xbt

PimpMyLog - http://pimpmylog.com/ - https://github.com/potsky/PimpMyLog

The coders of gazelle for the class.cache, sctbdev for various replacement code.

All other snippets, mods and contributions for this version from CoLdFuSiOn, *putyn, pdq, djGrrr, Retro, elephant, ezero, Alex2005, system, sir_Snugglebunny, laffin, Wilba, Traffic, dokty, djlee, neptune, scars, Raw, soft, jaits, Melvinmeow, RogueSurfer, stoner, Stillapunk, swizzles, autotron, stonebreath, whocares, Tundracanine.

U-232 wants to thank everyone who helped make it what it is today; shaping and directing our project, all through the thick and thin. It wouldn't have been possible without you. This includes our users and especially Beta Testers - thanks for installing and using u-232 source code as well as providing valuable feedback, bug reports, and opinions.

The Team

Lead Coders

  • Mindless
  • autotron
  • Stoner
  • Stonebreath
  • whocares

Support coders & Beta tests

  • ChubbyNinja
  • BunkerBengt
  • Tundracanine
  • son

Support Specialists

  • Credit's to pdq, putyn and elephant for improvements in key areas on the code. Your input has been first class.

Lead Designer

  • Swizzles

Designers Support

  • Credit's to Kidvision & others for designs used in the v0+v1+v2 Installer projects.
  • Credit's to Roguesurfer for all v3 and v4 design - Your a credit to this team.
  • Credit's to son for v5 design work.
  • Credit's to swizzles and mistero for their work on framework intergration and design layout for v4.

## Special Thanks

Consulting Developers

Huge thanks to pdq for so much input and improved code and guidance with memcache.

Huge thanks to elephant for the XBT edits.

Beta Testers

The invaluable few who tirelessly find bugs, provide feedback, and drive the developers crazier.

Language Translators

  • iseeyoucopy
  • whocares
  • Tundrcanine

Thank you for your efforts which make it possible for people all around the world to use U-232.

THERES TO MANY TO MENTION HERE BUT THE UPMOST RESPECT AND CREDIT TO YOU ALL.

Support Forum

Test site

## IRC

  • irc.mibbit.com #09source

Server set Up Instructions:

U-232 V5 requires the following :

  • Memcached
  • PHP7
  • PHP7-CURL
  • PHP7-IGBINARY
  • PHP7-JSON
  • PHP7-MEMCACHED
  • PHP7-MSGPACK
  • PHP7-MCRYPT
  • PHP7-MYSQL/MYSQLI
  • PHP7-MBSTRING
  • PHP7-GD
  • PHP7-GEOIP
  • PHP7-OPCACHE
  • PHP7-XML
  • PHP7-ZIP
  • LIBAPACHE2-MOD-PHP7
  • Apache/2.4.10
  • Mysql 5.5.50-0

Set Up Instructions:

XBT

High-performance BitTorrent Tracker

Installing under Linux
  • Debian

Use the following commands to install the C++ dependencies on Debian. The g++ version should be at least 4.7.

apt-get install cmake g++ libboost-dev libmysqlclient-dev make zlib1g-dev
  • Centos/RedHat

Use the following commands to install some of the C++ dependencies on CentOS, Fedora Core and Red Hat. The g++ version should be at least 4.7.

yum install boost-devel gcc-c++ mysql-devel

Enter the following commands in a terminal. Be patient while g++ is running, it'll take a few minutes.

  • Geting sources and compiling
wget https://github.com/whocares-openscene/u-232-xbt/raw/master/xbt.tar.gz
tar xfz xbt.tar.gz
cd xbt/Tracker
./make.sh

Remember to add your mysql connect details TO xbt_tracker.conf

If no errors occurred during install then to start XBT tracker run

./xbt_tracker

To stop XBT run

killall xbt_tracker

Upgrade to U-232 V5

If running the upgrade sql then you need to check a few points first:

  • Go to your phpmyadmin and check what the last id is on cleanup_manager and edit the upgrade.sql inserts accordingly.
  • Check the staff panel last id and edit the upgrade.sql inserts accordinally, userclasses in class_config table are default 0-6 so if you have different classes then edit that table first adding the new classes and values also edit cache/class_config.php.
  • Once your upgrade is completed with new code in place simply edit your announce urls in all seeding torrents and change announce.php?passkey= to announce.php?torrent_pass= and all torrents should resume as normal, same applies if switching to XBT_TRACKER, you would use the XBT_TRACKER format for announce url in client.
  • Open the upgrade.sql and update your database adding all additional entries, once done backup cache/staff_settings.php also cache/staff_settings2.php, backup include/ann_config.php and include/config.php, then delete all the old v4 files from ftp except pic folder, torrents, then upload the v5 code onto your server except the install folder, when prompted at pic folder hit skip and it will only add the newer files depending on ftp client. Open your ann_config.php and config.php files then open the install/extra/ann_config.sample.php and config.sample.php, transfer all your config settings to the newer files then save and rename them removing.sample out the file name, then transfer them into include folder, ensure you chmod any new cache files added also.

Set up U-232 V5

Please take note: Before you begin installation it is very important that your server is configured correctly and has all the required source code dependencies.

Ensure your error reporting is enabled on the server and you are logging the errors and not displaying them.

A error on install is a failure to adhere to setup instructions.

If you experience a failure then a properly configured server will report that issue, no excuses required.

Install memcached and zend opcode cache before installing U-232 V5.

  1. Create a directory one up from root so it resides beside it not inside it, named bucket.

    1. Then inside the bucket folder make another and name it avatar, remember to chmod them to 777
    2. If you use your own names for those folders then you need to edit bitbucket.php and img.php defines at top of the files.
    3. Then add a .htaccess and index.html files into both newly created folders.
    4. Then chmod those above folders.
    5. Then extract pic.tar.gz, Log_Viewer.tar.gz and GeoIp.tar.gz and ensure they are not inside an extra folder from being archived.
    6. Then upload the code to your server and chmod:
      • cache and all nested files and folders.
      • dir_list
      • uploads
      • uploadsub
      • imdb/cache
      • imdb/images
      • include
      • include/backup
      • include/settings/settings.txt
      • install/extra/config.phpsample.php/config.xbtsample.php
      • install/extra/ann_config.phpsample.php/ann_config.xbtsample.php
      • sqlerr_logs
      • torrents
  2. Create a new database user and password via phpmyadmin.

  3. Point to https://yoursite.com/install/index.php - fill in all the required data and choose XBT or default - then log in.

  4. Create a second user on entry named System ensure it's user id = 2 so you don't need to alter the autoshout function on include/user_functions.php.

  5. Sysop is added automatically to the array in cache/staff_settings.php and cache/staff_setting2.php.

  6. Staff is automatically added to the same two files, but you have to make sure the member is offline before you promote them.

Side note on Mysql 5.7: Mysql 5.7 And MariaDB 10.2 will not work with U-232, We recommend you use Mysql 5.5 or MariaDB 10.1 @ https://downloads.mariadb.org/mariadb/10.1.26/