Zone-IT.com

ยินดีต้อนรับคุณ, บุคคลทั่วไป กรุณา เข้าสู่ระบบ หรือ ลงทะเบียน
Please Login!
หน้า: [1]
  พิมพ์  
ผู้เขียน หัวข้อ: มาใหม่ SMFXBTIT REV.547 แก้ไขบั๊คแล้ว ใช้ได้กับ SMF 1.15 OR SMF2.0 BETA  (อ่าน 519 ครั้ง)
0 สมาชิก และ 1 บุคคลทั่วไป กำลังดูหัวข้อนี้
เด๊อะกิ๊ก ออฟ นิวยอร์ค สายตรวจ .::ZoNe-It GrOuP::.
ออฟไลน์
ชาย
Posts 365
Coolness 902
131497215 joeyoldman@hotmail.com giggocknewyork giggock@yahoo.com
ดูรายละเอียด
« เมื่อ: 7 กันยายน พ.ศ. 2551, 10.05 น. »



มาใหม่ SMFXBTIT REV.547 แก้ไขบั๊คแล้ว ใช้ได้กับ SMF 1.15 OR SMF2.0 BETA




อ้างถึง
Revision 547
------------
- small fix on account.php (smf group update on validate)
- fixed possible SQL injection in scrape.php
- changed Spanish language



Revision 545
------------
Fix a Remote SQL Injection Vulnerability

Revision 544 - Directory Listing
Modified Tue Jul 15 16:40:33 2008 UTC (6 weeks, 1 day ago) by Khez

=== admin.users.tools.php ===
FIXED - A PHP Warning when no change is made to the user

=== blocks/forum_block.php ===
FEATURE - Option to chose from last active TOPICS or latest POSTS
FIXED - SMF SQL with proper caching

=== language/lang_admin.php ===
ADDED - 3 new vars: SETTING_FORUMBLOCK, FORUMBLOCK_POSTS, FORUMBLOCK_TOPICS

=== admin.config.php | admin.config.tpl ===
ADDED - Support for the forum block topic|posts option

=== install.php ===
FIXED - A possible issue with XBTIT-SMF support on an XBTIT reinstall



Revision 543
------------
=== admin.users.tools.php ===
ADDED - SMF Search for member ID => pottentially bad
ADDED - Notices on member/rannk not found in SMF
OPTIM - Removed an if statement
FIXED - General tab/space issues
FIXED - Some double-single quoted lost optimizations

=== forum_block.php ===
OPTIM - Completely Rewritten Code
FIXED - SMF branch to show topic subject

=== common.php ===
OPTIM - everything with proper indentation
OPTIM - everything with dash comments

=== functions.php ===
FIXED - Invalid memory_get_usage with PHP 4 when compiled without memory-limit

=== include/jscss.php ===
ADDED - include/jscss file for use with $morescript and $morecss vars
OPTIM - moved js to an actual file

=== jscript/xbtit.js ===
ADDED - jscript/xbtit.js file to allow clientside caching and conserver bandiwdth
OPTIM - resize by removing clientside a subsequent getElementById call

=== index.php ===
OPTIM - A couple of double quoted vars to direct php
ADDED - include statement for include/jscss.php


www.xbtit.com making it easy to own a tracker, my cat has a tracker and she is no PHP guru ...

here are some pointers for novice and expert alike. first decide what you want:

QUESTION: internal PHP tracker or xbtt?
xbtt is recommended but you need root access to your server. the PHP tracker can handle 5-10,000 peers but creates a high volume of hits on your webserver. if you intend in time to migrate to xbtt then START with xbtt (those legacy PHP torrents will be a burden on your server for as long as they live, think about it)

QUESTION: internal forum or smf?
smf is the best but the internal forum is good, and you can migrate the site to smf at any time with our easy import script

- PHP TRACKER AND INTERNAL FORUM -
this is the easiest and fastest way to get your tracker up and running

1. place the xbtit code in your webroot
2. create your db (utf8_unicode_ci) and db user e.g. using phpMyAdmin. grant your db user usage privileges (data+structure, not grant/administration)
3. use a web browser to open the site
4. follow the instructions on the screen
5. delete install.php
6. enter the admin control panel and set your tracker's URL and announce URL's (delete the xbtt example announce with the :2710) and set your preferences ... save

- xbtt AND INTERNAL FORUM -
xbtt is the recommended tracker

1. place the xbtit code in your webroot
2. create your db (utf8_unicode_ci) and db user e.g. using phpMyAdmin. grant your db user usage privileges (data+structure, not grant/administration)
3. use a web browser to open the site
4. follow the instructions on the screen
5. delete install.php
6. install xbtt from http://xbtt.sourceforge.net/tracker/
7. create the xbtt tables in your db using /xbt/Tracker/xbt_tracker.sql
8. configure xbtt /xbt/Tracker/xbt_tracker.conf with the same db and db user as above
9. add these two lines to /xbt/Tracker/xbt_tracker.conf (leave 1xblank line at end of file)
auto_register = 0
full_scrape = 0
10. enter the admin control panel and set your tracker's URL and announce URL's (delete the PHP tracker example) check the Use xbtt as backend? option and set your preferences ... save
12. start the xbtt tracker and test by browsing to http://www.YOURSITE.com:2710/stats

- smf -
smf is GREAT forum code

A. installing smf at installation of xbtit

1. place the xbtit code in your webroot
2. create your db (utf8_unicode_ci) and db user e.g. using phpMyAdmin. grant your db user usage privileges (data+structure, not grant/administration)
3. get your smf code from http://www.simplemachines.org/ and place it in your webroot ./smf/
4. use a web browser to open the site
5. follow the instructions on the screen
6. for smf use the same db and db user you created for xbtt and xbtit ...
7. follow the instructions on screen

B. migrating an internal forum to smf AFTER installation of xbtit

1. get your smf code from http://www.simplemachines.org/ and place it in your webroot ./smf/
2. open smf_import.php in a browser
3. use the same db and db user you created for xbtt and xbtit ...
4. follow the instructions on screen

- xbtt AND smf -
the *recommended* configuration

1. read the above, it is all there. focus on xbtt and smf ;-)
2. do it in a relaxed style. you are cool. you are a tracker owner
3. enjoy your state of the devine art tracker  Grin
4. donate to btiteam.org
5. join xbtit and gain access to private hacks, modifications, and styles www.xbtit.com

- UPGRADING FROM BTIT 1.4.* -
your hacks and mods are NOT gonna migrate. the best you can do is bring ALL your torrents and members and posts and comments and stats etc ... and that is a RESULT!

1. place the xbtit code in your webroot
2. open 
3. use a web browser to open the site
4. follow the instructions on the screen
5. delete install.php
6. enter the admin control panel and set your tracker's URL and announce URL's (delete the xbtt example announce with the :2710) and set your preferences ... save
7. re-apply your hacks and mods (join xbtit and gain access to the one click hacks and mods)

NOTES:
- xbtt installs with auto_register = 1 which means people can use your tracker without uploading ...
- the default xbtit tracker config needs your attention, i have made settings in there which you want to change 100%, look for them and learn your system (the tracker timings are all good)
- look to your Users Group Settings, do they match what you want?
- you need to create the boards for your internal forum
- it is a lot of new stuff to take in, visit us at btiteam.org for free opensource support
- for the adventurous, the latest (unstable) revision of xbtit is available at:
svn co https://btit-tracker.svn.sourceforge.net/svnroot/btit-tracker/BtitT2/branches/beta

Locutius
version 1, Dec 2007
"send me anything you think should be in this file. if there is great demand i may do it"
admin@xbtit.com

ReadMe.txt.


#--------------------------#
# Welcome to the xbtit v.2 #
#--------------------------#
Just a few words about this piece of script and some credits wink.gif

The script is released under modified BSD, which mean you can freely use and
modify it (read LICENSE for more info)

xbtit is a complete rewrite of our BtiTracker base code. Every file has been changed, it is impracticable to list all the changes here. xbtit is the concentration of biteam.org's years of experience developing, hacking, and operating, tracker software. We are confident you are going to enjoy this release

To upgrade your modified Btit 1.4.x to xbtit it is necessary to upgrade your current db using upgrade.php (not included in the standard package) and then reapply your hacks to the new xbtit code. Although xbtit has a hack template system designed to make the application of hacks easy, none of our 1.4.x hacks have yet been packaged for xbtit, these will arrive in time as the community adopts the new code

xbtit has two bittorrent tracker systems - a PHP tracker and xbtt. The PHP tracker is designed for platforms without access to the system root, or where your tracker is not expected to run with greater than 5-10,000 peers. A PHP tracker can generate a high volume of TCP traffic, potentially millions of hits per day on port 80, you have been cautioned. The second tracker system is xbtt by Olaf van der Spek. xbtt is an efficient C++ tracker capable of running millions of peers at very low overhead, you are recommended in all cases to use the xbtt system

The tracker is professionally supported for a small fee at http://www.xbtit.com where you will also find private hacks, modifications, and styles

The opensource free support forum is http://www.btiteam.org

#----------------#
# MAJOR FEATURES #
#----------------#
- real template system, 99% of the html code is out for the PHP files using bTemplate http://www.massassi.com/bTemplate/
- rewritten (optimized) announce.php (the PHP tracker)
- integrated optional xbtt backend by Olaf Van der Spek http://xbtt.sourceforge.net/tracker/
- support for external mail server using phpmailer http://sourceforge.net/projects/phpmailer
- rewritten internal forum with subforum support
- integrated optional smf forum (big thanks to petr1fied) http://www.simplemachines.org/
- one click hack installer, an easy way to install hacks into your tracker (a working example is provided)
- modules support
- new online procedure
- new AJAX shoutbox (big thanks to miskotes)
- XSS/SQL injection protection with log insertion (thank you cobracrk)
- new AJAX polls system (thank you to Ripper)
- new design (4 styles provided by TreepTopClimber)
- RSS reader (only class, with example in admincp for btiteam.org latest news)
- basic cache system
- new language system (array is used instead of constant)
- smf_import script to import standard internal forum and users to smf (thank you again to petr1fied)
- 1.4.x upgrade script

#--------------#
# REQUIREMENTS #
#--------------#
- Web server with Apache or Lighttp installed and running
- PHP 4.1 or higher
- Mysql 4.1 or higher

#----------------#
# DOCUMENTATION  #
#----------------#
We are working on a wiki which will give information, installation steps, how to, etc ...
at the moment it is a "work in progress" site: http://wiki.btiteam.org

#---------#
# CREDITS #
#---------#
The script in this version is very very different than the original one, but we are pleased to leave the credits from previous version from which this is born wink.gif

This tracker's origin was as a frontend for DeHackEd's tracker aka phpBTTracker (now almost extinct)

We aimed to make a nice user interface and a good admin tool at the same time. Some code and some ideas came from other trackers and projects:
- torrentbits (http://www.torrentbits.org - dead)
- torrenttrader (http://www.torrentrader.org)
- bytemoonsoon (deadlink)
- Tbdev: CoLdFuSiOn (http://www.tbdev.net)
- xbtt: Olaf van der Spek (http://xbtt.sourceforge.net)
- phpmailer (http://sourceforge.net/projects/phpmailer)
- smf (http://www.simplemachines.org/)
- bTemplate: Brian Lozier (http://www.massassi.com/bTemplate)

The rest has been coded, designed, and thought up from scratch

Thanks to coder addons/hacks (many are included in this version):
Ripper, cobracrk, JBoy, Liroy, Petr1fied, miskotes, gAndo, Fireworx, Freelancer, Sktoch, Nimrod, etc ... sorry if someone is missed smile1.gif

Thanks to style maker:
TreeTopClimber

Many thanks to all guys who participated for the testing and for addons/styles etc.

Btiteam   



โค๊ด:
http://rapidshare.com/files/143244957/xbtit_rev.547.zip
 
or

http://www.mediafire.com/?sharekey=c3a8a58bae9fbafdd2db6fb9a8902bda


NEW LINK UPDATE 09/07/08

ร่วมด้วยช่วยกันแปลหน่อยน่ะครับ มีแค่ 18 อันเองครับ จะได้เอามาใช้กันได้สักที

โค๊ด:
http://www.mediafire.com/?sharekey=c3a8a58bae9fbafdd2db6fb9a8902bda
บันทึกการเข้า

ผู้เยี่ยมชม
คลิ๊กที่นี่เพื่อดูข้อความที่ซ่อนอยู่� l� � l� � l� � l� � l� � l� � l�
_________________________________________________________________________________________________________________________________________
_________________________________________________________________________________________________________________________________________

ติดต่อ-สอบถาม ผู้ดูแลเว็บ Email :admin@zone-it.com| แจ้งเหตุด่วนถึงสายตรวจ (คลี๊กที่นี่)| กฎระเบียบข้อบังคับ (คลิ๊กที่นี่) l พ.ร.บ คอมพิวเตอร์ ปี 2550 (คลิ๊กที่นี่)
ร่วมรับผิดชอบต่อสังคม ไม่ใช้คำหยาบ เพราะอาจมีเด็กประถมอ่านอยู่ด้วย ร่วมเป็นตัวอย่างที่ดีกันนะครับ ส่วนคนที่ชอบสาปแช่งให้ส่งข้อความลูกโซ่ รู้ไว้เลยว่าคุณผิดศีลข้อ4อยู่ แต่ผิดยกกำลังเท่าไรขึ้นอยู่กับมีคนอ่านเท่าไร l ทีมงานไม่ขอรับผิดชอบข้อความต่างๆ ขอให้ผู้โพสรับผิดชอบตัวเอง และรับผิดชอบต่อสังคม ถ้าข้อความใดส่งผลต่อประเทศชาติ ทีมงานพร้อมจะส่งรายละเอียดให้เจ้าหน้าที่ เพื่อตามจับตัวผู้กระทำผิด_____________________________________________________________________________________________________________________
_____________________________________________________________________________________________________________________
Mr.Tb.Fai รองผู้ใหญ่บ้าน ฝายครับ..
ออฟไลน์
ชาย
ไม่ได้เก่งอะไร แต่แค่อยากแบ่งปัน
Posts 1344
Coolness 399
Mr.Tb.Fai@live.fr
ดูรายละเอียด เว็บไซต์
« ตอบ #1 เมื่อ: 8 กันยายน พ.ศ. 2551, 0.21 น. »

เด่วหลังสอบปลายภาค ผมจะชำแหละ mod ตัวนี้อย่างละเอียด Tongue
บันทึกการเข้า

ออฟไลน์
ชาย
Posts 254
Coolness 207
pichet05@msn.com midiwinoke_2007@yahoo.co.th
ดูรายละเอียด เว็บไซต์ อีเมล์
« ตอบ #2 เมื่อ: 9 กันยายน พ.ศ. 2551, 15.57 น. »

เดี๋ยวปิดเทอมแล้วจะช่วยแปลครับ
บันทึกการเข้า

Comming Soon
แล้วพบกันใหม่ เร็วๆนี้
หน้า: [1]
  พิมพ์  
 
กระโดดไป:  

8



Powered by SMF 1.1.7 | SMF © 2006-2008, Simple Machines LLC | Thai language by ThaiSMF | Icons from Everaldo.com, famfamfam.com

© 2006 - 2009 Zone-IT.com


หน้านี้ถูกสร้างขึ้นภายในเวลา 1.133 วินาที กับ 26 คำสั่ง