Bravo List

Bravo List (http://www.bvlist.com/index.php)
-   Torrent Trader (http://www.bvlist.com/forumdisplay.php?f=29)
-   -   help plz (http://www.bvlist.com/showthread.php?t=1952)

hack346 7th February 2009 16:53

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 (

gigiranga 7th February 2009 18:13

Quote:

Originally Posted by hack346 (Post 8822)
u have readed my last post?

i read your post but same thing is happen
i create another torrent same thing
any other sugestion ? :wallbash:

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

hack346 7th February 2009 20:36

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

gigiranga 7th February 2009 21:05

Quote:

Originally Posted by hack346 (Post 8824)
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

hack346 7th February 2009 21:11

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:

}

gigiranga 7th February 2009 22:00

Quote:

Originally Posted by hack346 (Post 8826)
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??

hack346 8th February 2009 11:57

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)


All times are GMT +2. The time now is 19:27.

Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2024, vBulletin Solutions Inc.