Bravo List
Register
Go Back   > Bravo List > Source Code > Active Trackers > Torrent Trader
Reply
Thread Tools
  #11  
Old 7th February 2009, 16:53
hack346 hack346 is offline
Banned
 
Join Date: Mar 2008
Turkey
Posts: 80
Default
u have readed my last post?

[quote]Yeap i see your error
i tried to edit your torrent, sow the proplem is ,
when u create a torrent remove diacritics from torrent files (
Reply With Quote
  #12  
Old 7th February 2009, 18:13
gigiranga gigiranga is offline
Member
 
Join Date: Feb 2009
Default
Posts: 10
Default
Quote:
Originally Posted by hack346 View Post
u have readed my last post?
i read your post but same thing is happen
i create another torrent same thing
any other sugestion ?

Bump: i downloading h-tracker source how i disable on sign up image code verification ??

Last edited by gigiranga; 7th February 2009 at 19:37.
Reply With Quote
  #13  
Old 7th February 2009, 20:36
hack346 hack346 is offline
Banned
 
Join Date: Mar 2008
Turkey
Posts: 80
Default
If u dont see that image.....i sugest to change your hosting, u have more restrictions...

open backend/config.php
find:

$site_config['CAPTCHAON'] = true; //enable/disable confirmation security code


replace with:

$site_config['CAPTCHAON'] = false; //enable/disable confirmation security code
Reply With Quote
  #14  
Old 7th February 2009, 21:05
gigiranga gigiranga is offline
Member
 
Join Date: Feb 2009
Default
Posts: 10
Default
Quote:
Originally Posted by hack346 View Post
If u dont see that image.....i sugest to change your hosting, u have more restrictions...

open backend/config.php
find:

$site_config['CAPTCHAON'] = true; //enable/disable confirmation security code


replace with:

$site_config['CAPTCHAON'] = false; //enable/disable confirmation security code
i do that, and when i want register new account is apears 'You have entered the wrong confirmation code.'

u say to change my host ok then i search another webhost
Reply With Quote
  #15  
Old 7th February 2009, 21:11
hack346 hack346 is offline
Banned
 
Join Date: Mar 2008
Turkey
Posts: 80
Default
is a liitle bug, tnx, i fixed now...sow

open account-signup.php

find:

Code:
$b = get_row_count("captcha", "WHERE imagehash = ".sqlesc($_POST
before add this

Code:
 if ($site_config['CAPTCHAON']){

after:
Code:
$message = "You have entered the wrong confirmation code.";
add:

Code:
}
Reply With Quote
  #16  
Old 7th February 2009, 22:00
gigiranga gigiranga is offline
Member
 
Join Date: Feb 2009
Default
Posts: 10
Default
Quote:
Originally Posted by hack346 View Post
is a liitle bug, tnx, i fixed now...sow

open account-signup.php

find:

Code:
$b = get_row_count("captcha", "WHERE imagehash = ".sqlesc($_POST
before add this

Code:
 if ($site_config['CAPTCHAON']){
after:
Code:
$message = "You have entered the wrong confirmation code.";
add:

Code:
}
now it is working but another problems ocures when i try to upload torrent he give me error Fatal error: Call to undefined function: curl_init() in /home/hosting/free4fun/backend/functions.php on line 449

any sugest??
Reply With Quote
  #17  
Old 8th February 2009, 11:57
hack346 hack346 is offline
Banned
 
Join Date: Mar 2008
Turkey
Posts: 80
Default
3 sugestions:

1.

find :
Code:
function torrent_scrape_url($scrape, $hash) {
    $ch = curl_init();
    $timeout = 5;
    curl_setopt ($ch, CURLOPT_URL, $scrape.'?info_hash='.escape_url($hash));
    curl_setopt ($ch, CURLOPT_RETURNTRANSFER, 1);
    curl_setopt ($ch, CURLOPT_CONNECTTIMEOUT, $timeout);
    $fp = curl_exec($ch);
    curl_close($ch);

    $ret = array();
    if(!$fp) {
        $ret['seeds'] = -1;
        $ret['peers'] = -1;
    }else{
        $stats = BDecode($fp);
        $binhash = addslashes(pack("H*", $hash));
        $seeds = $stats['files'][$binhash]['complete'];
        $peers = $stats['files'][$binhash]['incomplete'];
        $downloaded = $stats['files'][$binhash]['downloaded'];
        $ret['seeds'] = $seeds;
        $ret['peers'] = $peers;
        $ret['downloaded'] = $downloaded;
    }
    return $ret;
}
replace with:
Code:
function torrent_scrape_url($scrape, $hash) {
	ini_set('default_socket_timeout',10); 
	@$fp = file_get_contents($scrape.'?info_hash='.escape_url($hash));
	$ret = array();
	if(!$fp) {
		$ret['seeds'] = -1;
		$ret['peers'] = -1;
	}else{
		$stats = BDecode($fp);
		$binhash = addslashes(pack("H*", $hash));
		$seeds = $stats['files'][$binhash]['complete'];
		$peers = $stats['files'][$binhash]['incomplete'];
		$downloaded = $stats['files'][$binhash]['downloaded'];
		$ret['seeds'] = $seeds;
		$ret['peers'] = $peers;
		$ret['downloaded'] = $downloaded;
	}
	return $ret;
}


2. Change your f*****g hosting
3. Change this f*****g source (h-tracker will never work on free hosting server)
Reply With Quote
Reply

Tags
plz


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



All times are GMT +2. The time now is 01:27. vBulletin skin by ForumMonkeys. Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2024, vBulletin Solutions Inc.