Bravo List
Register
Go Back   > Bravo List > Source Code > Archived Trackers > Torrent Strike
Reply
  #11  
Old 22nd September 2009, 10:33
Zuby's Avatar
Zuby Zuby is offline
Senior Member
 
Join Date: Sep 2009
P2P
Posts: 101
Default
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...
Reply With Quote
  #12  
Old 22nd September 2009, 17:55
Dimaches's Avatar
Dimaches Dimaches is offline
Senior Member
 
Join Date: Sep 2009
Germany
Posts: 21
Default re
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.
Attached Files
File Type: php massmail.php (2.6 KB, 9 views)
Reply With Quote
  #13  
Old 22nd September 2009, 19:21
Zuby's Avatar
Zuby Zuby is offline
Senior Member
 
Join Date: Sep 2009
P2P
Posts: 101
Default
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
Attached Files
File Type: php massemail.php (2.7 KB, 5 views)
Reply With Quote
  #14  
Old 22nd September 2009, 20:31
Dimaches's Avatar
Dimaches Dimaches is offline
Senior Member
 
Join Date: Sep 2009
Germany
Posts: 21
Default 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.
Reply With Quote
  #15  
Old 22nd September 2009, 20:43
Zuby's Avatar
Zuby Zuby is offline
Senior Member
 
Join Date: Sep 2009
P2P
Posts: 101
Default
it is not working man
fuck :(
Reply With Quote
  #16  
Old 22nd September 2009, 20:50
Dimaches's Avatar
Dimaches Dimaches is offline
Senior Member
 
Join Date: Sep 2009
Germany
Posts: 21
Default
what error you get?

P.S Try this file

see my edit post pls.Take the file.
Attached Files
File Type: php massmail.php (2.7 KB, 1 views)
Reply With Quote
  #17  
Old 22nd September 2009, 20:51
Zuby's Avatar
Zuby Zuby is offline
Senior Member
 
Join Date: Sep 2009
P2P
Posts: 101
Default
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
Reply With Quote
  #18  
Old 22nd September 2009, 21:15
Dimaches's Avatar
Dimaches Dimaches is offline
Senior Member
 
Join Date: Sep 2009
Germany
Posts: 21
Default 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.


P.S You have taken the file but you edit the lines that i told you?
Reply With Quote
  #19  
Old 22nd September 2009, 21:34
Zuby's Avatar
Zuby Zuby is offline
Senior Member
 
Join Date: Sep 2009
P2P
Posts: 101
Default
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
Reply With Quote
Reply

Tags
download , start

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
Cant download piders TBDev 1 10th February 2010 17:04
I can download ceausescu xBTiT 1 29th January 2010 13:36
Start with 5Gb ? Ripparinn xBTiT 1 14th May 2009 18:34
seed start for a while then stops mhmd_1983 Template Shares 1 5th November 2008 19:38
UDP download. How to? Jack Community Cafe 0 22nd May 2008 17:21



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