Login
Username: Password:
Remember me

[Sign Up] / [Recover Password]

Theme / Language

Popular
New Torrents
new name
Size: 18.40 MB
Most active
new name
S: 74 L: 3
New Posters
User Posts

Go to Profile

Thanks for this info ...
Log pirate — 2012-08-24 17:33:27 in v2.08 Mods Completed
ok, thanx all :)
Log pirate — 2012-08-23 20:41:42 in v2.08 Mods Completed
hello Jessy

I understood...but where put those lines? in which file?
Log pirate — 2012-08-23 20:27:11 in v2.08 Mods Completed
Hi,

Where put those lines :

if (!$CURUSER || $CURUSER["control_panel"]!="yes"){

piratage("admincp.php");

}

for protect this page (admincp) ?

Thanks in advance
Share — 2012-07-19 16:26:31 in v2.08 Mods Completed
What is this ??
Hello, I've a problem with my VIP's

I've installed this mod but the amount of download continues to be add in the VIP's account...

Do you have a solution?

thanks in advance :)
Great !
"war02, post: 61800":
sendbonus.php:

<?

require_once("backend/functions.php");

dbconn(false);

stdhead("Bonus gift");

loggedinonly();

begin_frame("Seed Bonus Gift");

if ($_SERVER["REQUEST_METHOD"] == "POST") {



 

$nick = $_POST["nick"];

$amount = (int)$_POST['amount'];

if (empty($nick)) {

show_error_msg($tracker_lang['error'], "Insert name!");

die();

}

if(!preg_match("/^[a-zA-Z0-9_+]+$/", $nick)) {

show_error_msg($tracker_lang['error'], "Illegal signs!");

die();

}



if ($amount<0) {

show_error_msg($tracker_lang['error'], "I smell the rat!");

die();

}

$msg = @$_POST['msg'];

 

$res = mysql_query("SELECT * FROM users WHERE `username` = '$nick'") or sqlerr(__FILE__,__LINE__);

$receiver = mysql_fetch_assoc($res);

if(!$receiver['id']) {  

show_error_msg($tracker_lang['error'], "No such user: " . $nick ."!");

die();

}

if($receiver['id'] == $CURUSER["id"]) {

show_error_msg($tracker_lang['error'], "Can´t send gift yourself.");

die();

}

if($CURUSER["seedbonus"] < $amount) {

show_error_msg($tracker_lang['error'], "There is not enough points!");

die();



}



/*** send bonus ****/

if (!mysql_query("UPDATE users SET seedbonus = seedbonus - $amount WHERE id = ".sqlesc($CURUSER["id"]))) {

show_error_msg($tracker_lang['error'], "Error !");

die();

}

if (!mysql_query("UPDATE users SET seedbonus = seedbonus + $amount WHERE id = ".sqlesc($receiver['id']))) {

show_error_msg($tracker_lang['error'], "Unknown User!");

die();

}

/*** send message ***/

$subject = sprintf("User %s send %d points", $CURUSER["username"], $amount);

$msg = "You received from $CURUSER[username] $amount bonus points. Messages:n " . $msg;

 

$sql = "INSERT INTO `messages` (sender, receiver, added, msg, poster, subject) VALUES (0, $receiver[id], NOW(), '$msg', 0, '$subject')";

mysql_query($sql) or sqlerr($sql,__LINE__);

 

show_error_msg($tracker_lang['success'], "Sended!");

 



} else {



?>

<center>

<div style="width:550px; text-align:left;">

<form action="/sendbonus.php" name="sendbonus" method="post">

<?=$output;?>

<center><b>Here you can send bonus points, for your favorite users.</b></center>

<label>Name:</label>

<input type="text" name="nick" /><br>

<label>Points:</label>

<input type="text" name="amount" /><br><br>

<label>Messages:</label><br>

<textarea cols="60" rows="10" name="msg"></textarea><br />

<input type="submit" onclick="send(); return false;" value="Send gift!" />

</form>

</div>

</center>

<? }

end_frame();

stdfoot();

?>
[/code]

Works fine. Tested 2 months  ;)

Make link where you want  ;)

I'm running on 2.08 and i've an error, line57 with "sqlerr"...

But the points was given

Can I replace sqlerr by show_error_msg ?

Any message was sent.

EDIT: Sorry...

Now it works! Thanks
Yes !!

You're the best

I've received the message, the block's info is updated, the account to...

Many thanks !!!
Thanks All !  :)

Works on v2.08 !
Any update for the moment, I will wait an other donation to verify

Thanks Artic :)
I've already changed the mail adress... I received the donation but any automatic update (block,etc...)

How update informations by database?

Like this?

Quote:
INSERT INTO `funds` VALUES(1, 10, 131, '2012-05-05 21:58:56');

I put my file too...

[url="http://devscorner.xyz/applications/core/interface/file/attachment.php?id=5727"]paypal.php[/url]
Don't work with v 2.08

In the mod comment in a user details, it shows:

Quote:
2012-05-06 - Admin has given 0.00 B to this user.
And the account don't update

Have you any idea ?

Thanks
How to update manually?

I've installed this mod but no change in my block, any change in the account

Can you give me an example to update with ID user= 25, 10€, may 5th 2012, at 22:00PM please.

Thanks in advance
thanx friends :)
don't work for me..

I have any error but it do anything

I've changed mysql_query to SQL_Query_exec

TT v2.08
Thanx for your response XIII but I didn't explain correctly what I want...

In fact, I would recommend 2 or 3 cathegories and in the index.php, I want to show only one sort of recommended torrent, decided by myself. Do you understand what I mean?

If I change to "torrents.category = '3'", it will be no correct because others recommended torrents can't be showed and I don't want to show all the cathegory, only one recommended .

To resume, I want to recommended torrents by cathegory.

Ex: Show 3 recommended torrents in Music cathegory + 3 recommended torrents in Movie cathegory + 3 recommended torrents in Ebook cathegory... each cathegory in a different frame in index.php, do you see?

I know it's difficult to explain it...Sorry for my english but I'm sure you understood  :)

Thanx m8
Hello,

And if I want to show only one sort of category, what can I change?

for example, imagine my category movie is id=3, and I want only show this category as recommended, what can I change please?(in the lines below)

Quote:
/// Recommended torrents imagesbegin_frame("Recommended");

$news = mysql_query("SELECT id, name, added, image1, image2 FROM torrents WHERE banned ='no' AND visible='yes' AND torrents.recommended='yes' ORDER BY torrents.id DESC LIMIT 6"); ///limit number of images

if (mysql_num_rows($news) > 0) {

print("<table align=center cellpadding=0 cellspacing=0 width=100% border=0><tr>");

while ($row2 = mysql_fetch_array($news, MYSQL_NUM)) {

$tor = $row2['0'];

$altname = $row2['1'];

$where = "WHERE banned = 'no' AND visible='yes' AND torrents.id='$tor'";

$res = mysql_query("SELECT torrents.id, torrents.image1, torrents.image2, torrents.added, categories.name AS cat_name FROM torrents LEFT JOIN categories ON torrents.category = categories.id $where $orderby $limit");

$row = mysql_fetch_array($res);

$cat = $row['cat_name'];

$img1 = "<a href='$site_config[sITEURL]/torrents-details.php?id=$row[id]'><img border='0'

src='uploads/images/$row[image1]' alt=\"$altname / $cat\" width=90></a>";

if ($row["image1"] != ""){

print("<td align=center>". $img1 ."<BR></td><td>&nbsp;</td>");

}

}

print("</tr></table>");

}

end_frame();

/// end recommended torrent images

Thanx in advance
Which difference? — 2011-10-16 10:18:34 in General Chat
oh yessssssssss !!! It words fine, exept accents and some characters  ;)

Have you the solution for this please ?
Which difference? — 2011-10-16 09:55:37 in General Chat
I've written the value "32", in hazard and it works

And How to translate all words marked "TRANSLATED" please ?
Users online

No users online

Search



Statistics

    Torrents

  • Tracking: 3
  • Todays torrents: 0
  • Seeders: 0
  • Leechers: 0
  • Peers: 0
  • Downloaded: 89.96 GB
  • Uploaded: 9.86 GB

  • Members

  • We have: 838
  • New today: 0
  • Guest today: 9

  • Online

  • Total online: 9
  • Members: 0
  • Guests online: 9
  • Comments: 3
  • Messages: 1,728