Bravo List
Register
Go Back   > Bravo List > Source Code > Archived Trackers > TBDev
Reply
  #11  
Old 10th November 2012, 22:22
mascuuus mascuuus is offline
Senior Member
 
Join Date: Sep 2012
P2P
Posts: 15
Default
Quote:
Originally Posted by phazer View Post
How did you manage to fix it??? It just want to send me to swedvdr.org :(

EDIT: what should I comment out? Anyone have a working bittorrent.php that I can use?
Open bittorrent.php with for example Wordpad, and replace everything that has to do with swedvdr. You can klick Ctrl+H in Wordpad to replace words.

Replace swedvdr.og with your domain.
Note there are some https, if you don't use https to your domain change it to http. So even replace all https to http.
Reply With Quote
  #12  
Old 11th November 2012, 14:32
phazer phazer is offline
Member
 
Join Date: Oct 2009
P2P
Posts: 12
Default
Quote:
Originally Posted by mascuuus View Post
Open bittorrent.php with for example Wordpad, and replace everything that has to do with swedvdr. You can klick Ctrl+H in Wordpad to replace words.

Replace swedvdr.og with your domain.
Note there are some https, if you don't use https to your domain change it to http. So even replace all https to http.
what if I dont have a domain? I run it right now on localhost

EDIT: How do I signup?? When I enter localhost/signup.php it just gives me "sorry pal not found"?
Reply With Quote
  #13  
Old 11th November 2012, 14:37
mascuuus mascuuus is offline
Senior Member
 
Join Date: Sep 2012
P2P
Posts: 15
Default
Quote:
Originally Posted by phazer View Post
what if I dont have a domain? I run it right now on localhost
Use localhost instead of swedvdr then. But I recommend using some sort of domain, you can use for example a free .tk domain (go to www.dot.tk)

Use invites in phpmyadmin. Follow this guide: http://www.bvlist.com/22796-post59.html

Note: In swedvdr code the SysOp use class 10 instead of 9.
Reply With Quote
  #14  
Old 11th November 2012, 15:02
phazer phazer is offline
Member
 
Join Date: Oct 2009
P2P
Posts: 12
Default
Quote:
Originally Posted by mascuuus View Post
Use localhost instead of swedvdr then. But I recommend using some sort of domain, you can use for example a free .tk domain (go to www.dot.tk)

Use invites in phpmyadmin. Follow this guide: http://www.bvlist.com/22796-post59.html

Note: In swedvdr code the SysOp use class 10 instead of 9.
Okey I've made a account now but when I try to login it gives me this

"IP-Kontroll - X.X.X.X
IP-nummret du loggar in ifrån finns inte ibland tillåtna. Händelsen har loggats."

I translate it for you

"IP-Check - X.X.X.X
The IP number you tried to login with is not allowed. The event has been logged."


I've checked on my account in phpmyadmin and the IP is set to my public IP.
Reply With Quote
  #15  
Old 11th November 2012, 15:04
mascuuus mascuuus is offline
Senior Member
 
Join Date: Sep 2012
P2P
Posts: 15
Default
Quote:
Originally Posted by phazer View Post
Okey I've made a account now but when I try to login it gives me this

"IP-Kontroll - X.X.X.X
IP-nummret du loggar in ifrån finns inte ibland tillåtna. Händelsen har loggats."

I translate it for you

"IP-Check - X.X.X.X
The IP number you tried to login with is not allowed. The event has been logged."


I've checked on my account in phpmyadmin and the IP is set to my public IP.
I got also that problem, but the easiest way to get around it is to delete the following in bittorrent.php:

/// START IP-CHECK STAFF
if($row["class"] > UC_UPLOADER){
$feel = false;
$iplock = mysql_query("SELECT * FROM iplock WHERE userid = $id");
while($sko = mysql_fetch_array($iplock))
{
if(strpos($ip, $sko[ip]) > -1){
$feel = true;
}
}

if($feel == false)
{
logoutcookie();
admin_log("IP-varning: <b>".$row[username]."</b> tillåts ej logga in från IP: <a href=usersearch.php?ip=".$ip.">".$ip."</a>.");
genbark("IP-nummret du loggar in ifrån finns inte ibland tillåtna. Händelsen har loggats.","IP-Kontroll - ".$ip);

return;
}
}
/// SLUT IP-CHECK STAFF
Reply With Quote
  #16  
Old 11th November 2012, 15:17
phazer phazer is offline
Member
 
Join Date: Oct 2009
P2P
Posts: 12
Default
Quote:
Originally Posted by mascuuus View Post
I got also that problem, but the easiest way to get around it is to delete the following in bittorrent.php:

/// START IP-CHECK STAFF
if($row["class"] > UC_UPLOADER){
$feel = false;
$iplock = mysql_query("SELECT * FROM iplock WHERE userid = $id");
while($sko = mysql_fetch_array($iplock))
{
if(strpos($ip, $sko[ip]) > -1){
$feel = true;
}
}

if($feel == false)
{
logoutcookie();
admin_log("IP-varning: <b>".$row[username]."</b> tillåts ej logga in från IP: <a href=usersearch.php?ip=".$ip.">".$ip."</a>.");
genbark("IP-nummret du loggar in ifrån finns inte ibland tillåtna. Händelsen har loggats.","IP-Kontroll - ".$ip);

return;
}
}
/// SLUT IP-CHECK STAFF
Thanks I got it worked!

But I cant upload, just getting errors!

Getting this

Warning: filesize() [function.filesize]: stat failed for imdbpics/2.jpg in C:\xampp\htdocs\include\bittorrent.php on line 2152

Warning: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\include\bittorrent.php:2152) in C:\xampp\htdocs\takeupload.php on line 380
Reply With Quote
  #17  
Old 11th November 2012, 15:23
mascuuus mascuuus is offline
Senior Member
 
Join Date: Sep 2012
P2P
Posts: 15
Default
Quote:
Originally Posted by phazer View Post
Thanks I got it worked!

But I cant upload, just getting errors!

Getting this

Warning: filesize() [function.filesize]: stat failed for imdbpics/2.jpg in C:\xampp\htdocs\include\bittorrent.php on line 2152

Warning: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\include\bittorrent.php:2152) in C:\xampp\htdocs\takeupload.php on line 380
I don't know what the errors are due. But I do not think there is a folder in the root called imdbpics.

I can already tell you that there are some bugs that need to be encoded. So it's not just "start and run".

Are you using windows or linux?
Reply With Quote
  #18  
Old 11th November 2012, 15:24
phazer phazer is offline
Member
 
Join Date: Oct 2009
P2P
Posts: 12
Default
Quote:
Originally Posted by mascuuus View Post
I don't know what the errors are due. But I do not think there is a folder in the root called imdbpics.

I can already tell you that there are some bugs that need to be encoded. So it's not just "start and run".

Are you using windows or linux?
windows, why?
Reply With Quote
  #19  
Old 11th November 2012, 15:29
mascuuus mascuuus is offline
Senior Member
 
Join Date: Sep 2012
P2P
Posts: 15
Default
Quote:
Originally Posted by phazer View Post
windows, why?
Just wondering. Have read in a thread here on the forum that the code works best in Linux. But I don't know.

I think I recognize your username, by the way.
I'm from Sweden
Reply With Quote
  #20  
Old 11th November 2012, 15:38
phazer phazer is offline
Member
 
Join Date: Oct 2009
P2P
Posts: 12
Default
Quote:
Originally Posted by mascuuus View Post
Just wondering. Have read in a thread here on the forum that the code works best in Linux. But I don't know.

I think I recognize your username, by the way.
I'm from Sweden
okey.. you got the uploading part working yet?
Reply With Quote
Reply

Tags
fix , source , swedvdr

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



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