Bravo List
Register
Go Back   > Bravo List > Source Code > Archived Trackers > Torrent Strike
Reply
  #201  
Old 7th March 2010, 20:27
Timisoreanul's Avatar
Timisoreanul Timisoreanul is offline
Senior Member
 
Join Date: Apr 2008
P2P
Posts: 211
Default
For fullymodded there is not multi language , you can use this : http://bvlist.com/torrent-strike/265...ltistrike.html
__________________
only me
Reply With Quote
The Following User Says Thank You to Timisoreanul For This Useful Post:
uutorrent (7th March 2010)
  #202  
Old 7th March 2010, 21:56
uutorrent uutorrent is offline
Member
 
Join Date: Mar 2010
P2P
Posts: 3
Default
Quote:
Originally Posted by Timisoreanul View Post
For fullymodded there is not multi language , you can use this : http://bvlist.com/torrent-strike/265...ltistrike.html
Thanks Timisoreanul, you gave me a great help. I'll take a look there.
Reply With Quote
  #203  
Old 8th March 2010, 23:36
tekmobile tekmobile is offline
Senior Member
 
Join Date: Jul 2009
United Kingdom
Posts: 16
Default
Scrape does not seen to be working and looking through the PHP error logs it seems to be calling a function

hash_where_arr()

that it says does not exist any idea what its contents should be and what page it goes on I suspect it should be on bittorrent.php
Reply With Quote
  #204  
Old 9th March 2010, 03:27
joeroberts's Avatar
joeroberts joeroberts is offline
BT.Manager Owner
 
Join Date: Jan 2008
United States
Posts: 2,113
Default
hash_where_arr
is in include/benc.php
Code:
function hash_where_arr($name, $hash_arr) {
        $new_hash_arr = Array();
        foreach ($hash_arr as $hash) {
                $new_hash_arr[] = sqlesc((urldecode($hash)));
        }
        return $name." IN ( ".implode(", ",$new_hash_arr)." )";
}
__________________
Do not ask me to help you work on your site that is not phpMyBitTorrent
Do not ask me to make a mod for any other source
Do not Ask me to setup your site.
I will no longer help you setup your site, there is a setup script if you have trouble with it post in the forum here or in BT.Manager™ forum
My Current Demo is here http://demo.btmanager.org/
Reply With Quote
The Following User Says Thank You to joeroberts For This Useful Post:
tekmobile (9th March 2010)
  #205  
Old 9th March 2010, 08:29
tekmobile tekmobile is offline
Senior Member
 
Join Date: Jul 2009
United Kingdom
Posts: 16
Default
Quote:
Originally Posted by joeroberts View Post
hash_where_arr
is in include/benc.php
Code:
function hash_where_arr($name, $hash_arr) {
        $new_hash_arr = Array();
        foreach ($hash_arr as $hash) {
                $new_hash_arr[] = sqlesc((urldecode($hash)));
        }
        return $name." IN ( ".implode(", ",$new_hash_arr)." )";
}
Thanks a million there was no function by that name in the benc.php I added the hash_where_arr() code you supplied and it fixed it straight away.

I have had my site live now for almost a year and never had scrape working that function never existed in the original code.
Reply With Quote
  #206  
Old 22nd April 2010, 15:52
Coraille Coraille is offline
Senior Member
 
Join Date: Feb 2009
Canada
Posts: 92
Default
I Have Error

Code:
Warning:  fopen(cache/index/newestuser.txt)  [function.fopen]:  failed to open stream: Permission denied in /home/******/public_html/index.php  on line 130

Warning:  fputs(): supplied argument is not a valid stream  resource in /home/******/public_html/index.php on line 131

Warning:  fclose(): supplied argument is not a valid stream  resource in /home/******/public_html/index.php on line 132

Warning:  fopen(cache/index/stats.txt) [function.fopen]:  failed to open stream: Permission denied in /home/*****/public_html/index.php  on line 181

Warning:  fwrite(): supplied argument is not a valid stream  resource in /home/*****/public_html/index.php on line 182

Warning:  fclose(): supplied argument is not a valid stream  resource in /home/*******/public_html/index.php on line 183
Reply With Quote
  #207  
Old 22nd April 2010, 16:38
joeroberts's Avatar
joeroberts joeroberts is offline
BT.Manager Owner
 
Join Date: Jan 2008
United States
Posts: 2,113
Default
make sure those 2 files are writable! (newestuser.txt stats.txt)
__________________
Do not ask me to help you work on your site that is not phpMyBitTorrent
Do not ask me to make a mod for any other source
Do not Ask me to setup your site.
I will no longer help you setup your site, there is a setup script if you have trouble with it post in the forum here or in BT.Manager™ forum
My Current Demo is here http://demo.btmanager.org/
Reply With Quote
  #208  
Old 22nd April 2010, 17:05
Coraille Coraille is offline
Senior Member
 
Join Date: Feb 2009
Canada
Posts: 92
Default
Quote:
Originally Posted by joeroberts View Post
make sure those 2 files are writable! (newestuser.txt stats.txt)
On takeconfirminvite.php
Code:
Warning:  Missing argument 4 for  insert_phpBB2user(), called in  /home/*****/public_html/takeconfirminvite.php on line 111 and defined  in /home/tigersdr/public_html/include/phpbb2Bridge.php on line 23

Warning:  Cannot modify header information - headers already sent  by (output started at  /home/*********/public_html/include/phpbb2Bridge.php:23) in /home/tigersdr/public_html/include/bittorrent.php  on line 475

Warning:  Cannot modify header information - headers already sent  by (output started at  /home/***/public_html/include/phpbb2Bridge.php:23) in /home/tigersdr/public_html/include/bittorrent.php  on line 476

Warning:  Cannot modify header information - headers already sent  by (output started at  /home/*****/public_html/include/phpbb2Bridge.php:23) in /home/tigersdr/public_html/takeconfirminvite.php  on line 116
Reply With Quote
  #209  
Old 22nd April 2010, 18:20
joeroberts's Avatar
joeroberts joeroberts is offline
BT.Manager Owner
 
Join Date: Jan 2008
United States
Posts: 2,113
Default
try this one
PHP Code:
<?
require_once("include/bittorrent.php");
require_once(
"include/phpbb2Bridge.php");


$id $HTTP_GET_VARS["id"];
$md5 $HTTP_GET_VARS["secret"];
if (!
$id)
httperr();

dbconn();

$res mysql_query("SELECT COUNT(*) FROM users") or sqlerr(__FILE____LINE__);
$arr mysql_fetch_row($res);
if (
$arr[0] >= $invites)
stderr("Error""Sorry, user limit reached. Please try again later.");

$res mysql_query("SELECT editsecret,email, status FROM users WHERE id = $id");
$row mysql_fetch_array($res);

if (!
$row)
httperr();

if (
$row["status"] != "pending") {
header("Refresh: 0; url=ok.php?type=confirmed");
exit();
}

$email $row["email"];

$sec hash_pad($row["editsecret"]);
if (
$md5 != md5($sec))
httperr();
if (empty(
$wantusername) || empty($wantpassword))
//bark("Don't leave any fields blank.");
if (!mkglobal("wantusername:wantpassword:passagain:country"))
die();

function 
bark($msg) {
stdhead();
stdmsg("Signup failed!"$msg);
stdfoot();
exit;
}

function 
validusername($username)
{
if (
$username == "")
return 
false;

// The following characters are allowed in user names
$allowedchars "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789";

for (
$i 0$i strlen($username); ++$i)
if (
strpos($allowedchars$username[$i]) === false)
return 
false;

return 
true;
}

function 
isportopen($port)
{
global 
$HTTP_SERVER_VARS;
$sd = @fsockopen($HTTP_SERVER_VARS["REMOTE_ADDR"], $port$errno$errstr1);
if (
$sd)
{
fclose($sd);
return 
true;
}
else
return 
false;
}

if (empty(
$country))
    
bark("You must select a country.");

if (
strlen($wantusername) > 12)
bark("Sorry, username is too long (max is 12 chars)");

if (
$wantpassword != $passagain)
bark("The passwords didn't match! Must've typoed. Try again.");

if (
strlen($wantpassword) < 6)
bark("Sorry, password is too short (min is 6 chars)");

if (
strlen($wantpassword) > 40)
bark("Sorry, password is too long (max is 40 chars)");

if (
$wantpassword == $wantusername)
bark("Sorry, password cannot be same as user name.");

if (!
validusername($wantusername))
bark("Invalid username.");

// make sure user agrees to everything...
if ($HTTP_POST_VARS["rulesverify"] != "yes" || $HTTP_POST_VARS["faqverify"] != "yes" || $HTTP_POST_VARS["ageverify"] != "yes")
stderr("Signup failed""Sorry, you're not qualified to become a member of this site.");


$secret mksecret();
$wantpasshash md5($secret $wantpassword $secret);

$ret mysql_query("UPDATE users SET username='$wantusername', passhash='$wantpasshash', status='confirmed', editsecret='', secret='$secret', country='$country' WHERE id=$id");
$newid mysql_insert_id(); 
if (!
$ret) {
if (
mysql_errno() == 1062)
bark("Username already exists!");
bark("Database Update Failed");
}
insert_phpBB2user($wantusernamemd5($wantpassword), $id$email);
login_phpBB2user($wantusernamemd5($wantpassword), TRUE);

logincookie($id$wantpasshash);

header("Refresh: 0; url=ok.php?type=confirm");


?>
__________________
Do not ask me to help you work on your site that is not phpMyBitTorrent
Do not ask me to make a mod for any other source
Do not Ask me to setup your site.
I will no longer help you setup your site, there is a setup script if you have trouble with it post in the forum here or in BT.Manager™ forum
My Current Demo is here http://demo.btmanager.org/
Reply With Quote
  #210  
Old 22nd April 2010, 18:23
Coraille Coraille is offline
Senior Member
 
Join Date: Feb 2009
Canada
Posts: 92
Default
Files invite.php or Takeconfirminvite.php ?
Reply With Quote
Reply

Tags
fullymodded , torrents tracker , torrentstrike , v10

Thread Tools

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Torrentstrike Fullymodded v1.0 Seedbox problem!Help! jernej1 Torrent Strike 4 19th December 2012 22:09
Hit&Run system for Fullymodded adrian21 Torrent Strike 5 1st July 2010 22:29
Help with torrentstrike fullymodded v1.0 RikT Torrent Strike 0 24th September 2008 12:52
TS FullyModded 1.0 Problem NighTing Torrent Strike 4 13th September 2008 16:51
Torrentstrike Fullymodded v1.0 Passkey HELP Robz Torrent Strike 6 11th September 2008 22:49



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