Bravo List

Bravo List (http://www.bvlist.com/index.php)
-   Torrent Strike (http://www.bvlist.com/forumdisplay.php?f=21)
-   -   Download don't start ! (http://www.bvlist.com/showthread.php?t=3431)

Zuby 20th September 2009 11:20

Download don't start !
 
i have some problem with ts fully modded: al work's fine but the download won't start, the torrent goes in utorrent butit don't start ( and also i'm connectable )

i gave no problem when i upload an torrent, chmod is set correctly (i think)

also i've reset my passkey for 10000x times ..i don't now what is, need help !

Tracker url: http://torrent.tvg-office.ro

Dimaches 20th September 2009 12:51

Take my announce.php and then it will work you can have it from herehttp://bvlist.com/torrent-strike/117...ed-v1-0-a.html

Zuby 20th September 2009 16:26

it work's man ! thank's a lot .. I've been trying to fix this bug for about 1 week .. thanks again !

Dimaches 20th September 2009 18:44

You welcome
 
You welcome hope i whill assist you in the futre .

Zuby 20th September 2009 18:47

dimaches .. another question :)
how to show stats block on index also for non-registered users. i want to put below login area

Dimaches 20th September 2009 18:55

re
 
give me a ss and more details pls about what do you wahnt

Zuby 20th September 2009 21:33

oh man, it's simple, i want the bloc with statistics ( that with users / torrents / lottery ) on the front page since the statistics are viewed only by reg users

Dimaches 20th September 2009 22:18

re
 
I undarstand what do you whant you don't whant the unregisterd users to aces your statistics by this example http://www.yourtraker.com/statistics.php its very easy you must use this kind of php lines in all your pages that you don't whant acces from unwanted users ,such php code is:

PHP Code:

<?php
require "include/bittorrent.php";
dbconn(false);

loggedinorreturn();

if (
get_user_class() < UC_MODERATOR)
stderr("Sorry""Access denied.");


you simply add after loggedinorreturn():


PHP Code:

if (get_user_class() < UC_MODERATOR)
stderr("Sorry""Access denied."); 

that code from up now if someone tries to acces those files by the comand i gave you example it whil say to him Sorry acces denied :)

Easy as that .For more question ask here .And by the way you can give acces to difrent classes by modify
Cheers man.:ok:

Zuby 21st September 2009 14:18

ok, i solvet that..
i need another thing: how to disable the function that delete users who have ratio below x ( i dont now how it's set ) my tracker is new oppend...and with that function i lost lots of users

Dimaches 21st September 2009 18:55

re
 
i don't thik that the script has delete users , in your include/cleanup.php
are some wariables that can be modified by your needs warnings promotion etc,take a look there and give a response here if you still cant manage to solve the problem and i whill help you.Cheers man.:friend:

Zuby 22nd September 2009 10:33

massmail don't work
the tracker say's that the mail have been sent but users dont recevice the mail

wtf ?! i know i'm a little bit stressing you but i need help
im rockie in TS...

Dimaches 22nd September 2009 17:55

re
 
1 Attachment(s)
is you instaled the traker on localhost you need to change your mercury mail server default user and pass.
any way do that but use this massmail.php has no bugs .Leave here some feedback after. A good day to you.

Zuby 22nd September 2009 19:21

1 Attachment(s)
i will try this massmail from you. and no my tracker is not on localhost .. is on localhost ...

doesn't work, it sending me on last page ( massmail.php )

and also the "freeleech" doesn't work ... appears like freeleech but when i download the torrent it count me the download

Dimaches 22nd September 2009 20:31

re
 
I have a look to the script and y have found this for you



PHP Code:

<?

require "include/bittorrent.php";
dbconn();

loggedinorreturn();

if (
get_user_class() < UC_ADMINISTRATOR)
stderr("Error""Permission denied.");
$class $_POST["class"];
$or $_POST["or"];

if (
$HTTP_SERVER_VARS["REQUEST_METHOD"] == "POST")
{
$res mysql_query("SELECT id, username, email FROM users WHERE class $or $class") or sqlerr(__FILE____LINE__);

$from_email "yourmail@yourmail.com"//site email

$subject substr(trim($HTTP_POST_VARS["subject"]), 080);
if (
$subject == ""$subject "(no subject)";
$subject "Fw: $subject";

$message1 trim($HTTP_POST_VARS["message"]);
if (
$message1 == ""stderr("Error""Empty message!");
while(
$arr=mysql_fetch_array($res)){

$to $arr["email"];
$message "Message received from terrapinconnection.info on " gmdate("Y-m-d H:i:s") . " GMT.\n" .
"---------------------------------------------------------------------\n\n" .
$message1 "\n\n" .
"---------------------------------------------------------------------\n$SITENAME\n";

$success mail($to$subject$message"From: $SITEEMAIL""-f$SITEEMAIL");

}
if (
$success)
stderr("Success""Messages sent.");
else
stderr("Error""Try again.");

}

stdhead("Mass E-mail Gateway");
?>

<p><table border=0 class=main cellspacing=0 cellpadding=0><tr>
<td class=embedded><img src=/pic/email.gif></td>
<td class=embedded style='padding-left: 10px'><font size=3><b>Send mass e-mail to all members</b></font></td>
</tr></table></p>
<table border=1 cellspacing=0 cellpadding=5>
<form method=post action=massmail.php>
<!--<tr><td class=rowhead>Your name</td><td><input type=text name=from size=80></td></tr>-->
<?
if (get_user_class() == UC_MODERATOR && $CURUSER["class"] > UC_POWER_USER)
printf("<input type=hidden name=class value=$CURUSER[class]\n");
else
{
print(
"<tr><td class=rowhead>Classe</td><td colspan=2 align=left><select name=or><option value='<'><<option value='>'>><option value='='>=<option value='<='><=<option value='>='>>=</select><select name=class>\n");
if (
get_user_class() == UC_MODERATOR)
$maxclass UC_POWER_USER;
else
$maxclass get_user_class() - 1;
for (
$i 0$i <= $maxclass; ++$i)
print(
"<option value=$i. ($CURUSER["class"] == $i " selected" "") . ">$prefixget_user_class_name($i) . "\n");
print(
"</select></td></tr>\n");
}
?>

<tr><td class=rowhead>Your e-mail</td><td><input type=text name=from_email size=80></td></tr>
<tr><td class=rowhead>Subject</td><td><input type=text name=subject size=80></td></tr>
<tr><td class=rowhead>Body</td><td><textarea name=message cols=80 rows=20></textarea></td></tr>
<tr><td colspan=2 align=center><input type=submit value="Send" class=btn></td></tr>
</form>
</table>

<?
stdfoot
();
?>


Be sure to change the line :

PHP Code:

$from_email "yourmail@yourmail.com"//site email 

whit your mail.Cheers man.

Zuby 22nd September 2009 20:43

it is not working man
fuck :(

Dimaches 22nd September 2009 20:50

1 Attachment(s)
what error you get?

P.S Try this file

see my edit post pls.Take the file.

Zuby 22nd September 2009 20:51

no error...but isn`t say's that the email has been sent, just give the page back (i named mass.php and take me in mass.php)

i've take that file...and same
takes me back like last script

Dimaches 22nd September 2009 21:15

re
 
Don't now why you get that crap !what i gave you should work 100% omenting is not right whit the core script or whit your host or whit your setings on the traker source.:wallbash:


P.S You have taken the file but you edit the lines that i told you?

Zuby 22nd September 2009 21:34

yes, i've changed the email, my mail server works fine...users gave instant email on registration.

freeleech it is not working .

i've try to use the tutorial from tbdev forums but with no succes


All times are GMT +2. The time now is 03:32.

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