Bravo List

Bravo List (http://www.bvlist.com/index.php)
-   TBDev (http://www.bvlist.com/forumdisplay.php?f=20)
-   -   Trying to fix the Swedvdr Source (http://www.bvlist.com/showthread.php?t=8314)

mascuuus 10th November 2012 22:22

Quote:

Originally Posted by phazer (Post 37316)
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.

phazer 11th November 2012 14:32

Quote:

Originally Posted by mascuuus (Post 37320)
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"?

mascuuus 11th November 2012 14:37

Quote:

Originally Posted by phazer (Post 37328)
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.

phazer 11th November 2012 15:02

Quote:

Originally Posted by mascuuus (Post 37330)
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.

mascuuus 11th November 2012 15:04

Quote:

Originally Posted by phazer (Post 37333)
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: ".$row[username]." tillåts ej logga in från IP: ".$ip.".");
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

phazer 11th November 2012 15:17

Quote:

Originally Posted by mascuuus (Post 37334)
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: ".$row[username]." tillåts ej logga in från IP: ".$ip.".");
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

mascuuus 11th November 2012 15:23

Quote:

Originally Posted by phazer (Post 37335)
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?

phazer 11th November 2012 15:24

Quote:

Originally Posted by mascuuus (Post 37336)
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?

mascuuus 11th November 2012 15:29

Quote:

Originally Posted by phazer (Post 37337)
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

phazer 11th November 2012 15:38

Quote:

Originally Posted by mascuuus (Post 37338)
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?


All times are GMT +2. The time now is 06:47.

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