Recommend this page to a friend! |
Download .zip |
Info | View files (6) | Download .zip | Reputation | Support forum (1) | Blog | Links |
Last Updated | Ratings | Unique User Downloads | Download Rankings | |||||
2003-10-01 (13 years ago) | 47% | Total: 2,562 This week: 1 | All time: 1,448 This week: 1,047 |
Version | License | Categories | ||||
phpdc 1.0.0 | GNU General Publi... | Statistics, P2P |
Description | Author | |||||||||||||
This class is meant to connect to a Direct Connect hub and retrieve several statistics values. |
|
//=============================// // // // PHPDc v0.2 // // by [RO]VeNoM // // razvan_stanga@yahoo.com // // // // Thanks to daniele_dll // // daniele_dll@yahoo.it // // // // MADE IN ROMANIA // // // //=============================// Installation : Edit PHPDc.Config.php in includes directory. Set your HUB(s), ports ... ------------- Template Tags ------------- name.tpl {site_url} | will be replaced with the one in config {hub} | same {port} | same {users} | total online users {share} | total share {date} | cron job time {menu} | pages navigation menu {select} | select with the HUB(s) in config {counter} | replaced with the contents of counter.tpl Please do not remove them from the templates : {phpdc_version} | PHPDc version {phpdc_author} | PHPDc author, me :) name-user.tpl : {nick} | Nickname {sharesize} | Share Size {description} | Desc {speed} | Connection {email} | Email adress, don't worry, on the output pages it's spam protected. The best way to understand it's by editing the template zap.tpl and zap-user.tpl ------------- Ftp Uploading ------------- 1. set the URL to the site where you uill be hosting the files. Ex : www.hubstats.go.ro On this host you will have to create 2 directories, html and templates. -html --hubadress1 --hubadress2 ............ -templates --images 2. set the $config['ftp_active'] to 1. 3. Edit the line from the template : <script language="PHP" src="{site_url}PHPDc_Cron.php"></script> {site_url} should be the URL where you generate your stats If you don't use FTP Uploading, then the {site_url} tag will be replaced by the $config['site_url'] and it should be OK. --------- PHPDc.php --------- This is a manual bot. If you would like to make the stats yourself, then you should acces the file, enter the user/pass and will be done. Also, remove <script language="PHP" src="{site_url}PHPDc_Cron.php"></script> from the templates and delete PHPDc_Cron.php ---------------------- Licence And Conditions ---------------------- PHPDc it's free for use, but you must accept the following conditions : The script reports back to me on each cron job the URL, DCHub, total online users, totalshare. This is done for stats and it will be shown on the PHPDc's webpage under "Who's using PHPDc". -------- REMEMBER -------- This is a test version, please test it and mail me feedback. |
Files |
File | Role | Description | ||
---|---|---|---|---|
includes (3 files) | ||||
PHPDc.php | Example | example | ||
PHPDc_Cron.php | Example | cron example | ||
readme.txt | Data | readme |
Files | / | includes |
File | Role | Description |
---|---|---|
PHPDc.Class.php | Class | class |
PHPDc.Config.php | Conf. | config |
PHPDc.Cron.php | Class | cron class |
Version Control | Unique User Downloads | Download Rankings | |||||||||||||||
0% |
|
|
User Ratings | ||||||||||||||||||||||||||||||
|
Applications that use this package |
RoHubStats stats from a few DCHub's in .ro |
If you know an application of this package, send a message to the author to add a link here.
Related pages |
sourceforge.net project sourceforge.net project, go there to download a full release |