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
[HACK] New Torrent in Shoutbox
Controls ·  Search New posts · Mark unread

You are in: Forum / Forum / v2.08 / v2 Only Mods Complete

Unknown User
2010-06-29 08:45:08
replace  :

mysql_query("INSERT INTO shoutbox VALUES('', 'System', 'New Torrent: [url=".$site_config['SITEURL']."/torrents-details.php?id=".$id."]".$torrent."[/url] has been uploaded by [url=".$site_config['SITEURL']."/account-details.php?id=".$CURUSER['id']."]" .$CURUSER['username']. "[/url]', now(), '0')") or sqlerr(__FILE__,__LINE__);





by :



	

$anonyupload = unesc($_POST["anonycheck"]);

if ($anonyupload == "yes" || $CURUSER["privacy"] == "strong")

{

$uploader = "anonyme";

}else{

  $uploader = "[url=".$site_config['SITEURL']."/account-details.php?id=".$CURUSER['id']."]" .$CURUSER['username']. "[/url]";

}



mysql_query("INSERT INTO shoutbox VALUES('', 'System', 'New Torrent: [url=".$site_config['SITEURL']."/torrents-details.php?id=".$id."]".$torrent."[/url] has been uploaded by ".$uploader."', now(), '0')") or sqlerr(__FILE__,__LINE__);
Unknown User
2010-09-20 14:32:25
Hi all !! i try it on torrentrader v2.06 , me (administrator ) can't see now the shoutbox but member yes ... Any idea ?? thx.

oops resolved in changing the theme of the site ... Thx to me so  ;) .
2010-10-31 04:08:50
"tealk, post: 65373":
Hi all !! i try it on torrentrader v2.06 , me (administrator ) can't see now the shoutbox but member yes ... Any idea ?? thx.
oops resolved in changing the theme of the site ... Thx to me so  :D .


[url="http://www.torrenttrader.org/index.php?showtopic=12906&st=0#entry66883"]http://www.torrenttrader.org/index.php?sho...st=0#entry66883[/url]
Unknown User
2012-01-08 23:45:19
"iMagin3 SweeTDeviL, post: 34417":
This hack is entirely based in the v Torrential Storm 1.x hack, with the correct changes.

In torrents-upload.php find:

write_log("Torrent $id ($torrent) was uploaded by " . $CURUSER["username"]);





Insert after:



mysql_query("INSERT INTO shoutbox VALUES('', 'System', 'New Torrent: ".$torrent." has been uploaded by [url=http://".$SITEURL."/account-details.php?id=".$CURUSER['id']."]" .$CURUSER['username']. "[/url]', now(), '0')") or sqlerr(__FILE__,__LINE__);







and in shoutbox.php find:



$THEME = $ss_a["uri"];

$lng_a = mysql_fetch_array(mysql_query("select uri from languages where id='" . $site_config['default_language'] . "'")) or die(mysql_error());

if ($lng_a)

$LANGUAGE = $lng_a["uri"];

}





add after:



//replace [url] tags with a proper link

$msg = preg_replace("/\[url\]([^[]+)\[\/url\]/i","<a href=\"\\1\" target=\"_blank\">\\1</a>",$msg);













Have fun!



iMagin3


hello can we have the Anonymous fix too for shoutbox too for said uploader please



this what i have but no Anonymous as my uploader are on one asking me for the Anonymous to us it

this is in my torrents-upload





	write_log("Torrent $id ($name) was Uploaded by $CURUSER[username]");

$query = "INSERT INTO shoutbox (user, message, date, userid) VALUES ('SystemBoT', ':smile50: [url=".$site_config['SITEURL']."/torrents-details.php?id=".$id."]".$torrent."[/url] has been uploaded by [url=".$site_config['SITEURL']."/account-details.php?id=".$CURUSER['id']."]" .$CURUSER['username']. "[/url]', now(), '2')";
Unknown User
2012-01-09 13:19:15
"matchbox, post: 77840":
hello can we have the Anonymous fix too for shoutbox too for said uploader please
this what i have but no Anonymous as my uploader are on one asking me for the Anonymous to us it

this is in my torrents-upload

	write_log("Torrent $id ($name) was Uploaded by $CURUSER[username]");

$query = "INSERT INTO shoutbox (user, message, date, userid) VALUES ('SystemBoT', ':smile50: [url=".$site_config['SITEURL']."/torrents-details.php?id=".$id."]".$torrent."[/url] has been uploaded by [url=".$site_config['SITEURL']."/account-details.php?id=".$CURUSER['id']."]" .$CURUSER['username']. "[/url]', now(), '2')";

any help  would be good of you please on this one for uploaders to show as Anonymous in shoutbox
Unknown User
2012-01-09 13:30:33
$user = ($_POST["anonycheck"] == "yes") ? "Anonymous" : $CURUSER["username"];


Will determine the name now u will have to edit your code to use this.
Unknown User
2012-01-09 15:26:12
"XIII, post: 77852":
$user = ($_POST["anonycheck"] == "yes") ? "Anonymous" : $CURUSER["username"];


Will determine the name now u will have to edit your code to use this.
would you tell me where please ?
Unknown User
2012-01-09 15:28:36
$user = ($_POST["anonycheck"] == "yes") ? "Anonymous" : $CURUS

$query = "INSERT INTO shoutbox (user, message, date, userid) VALUES ('SystemBoT', ':smile50: [url=".$site_config['SITEURL']."/torrents-details.php?id=".$id."]".$torrent."[/url] has been uploaded by [url=".$site_config['SITEURL']."/account-details.php?id=".$CURUSER['id']."]" .$user. "[/url]', now(), '2')";
Unknown User
2012-01-09 15:43:57
"XIII, post: 77860":
$user = ($_POST["anonycheck"] == "yes") ? "Anonymous" : $CURUS

$query = "INSERT INTO shoutbox (user, message, date, userid) VALUES ('SystemBoT', ':smile50: [url=".$site_config['SITEURL']."/torrents-details.php?id=".$id."]".$torrent."[/url] has been uploaded by [url=".$site_config['SITEURL']."/account-details.php?id=".$CURUSER['id']."]" .$user. "[/url]', now(), '2')";






tell me if rong or rite please





	write_log("Torrent $id ($name) was Uploaded by $CURUSER[username]");

$user = ($_POST["anonycheck"] == "yes") ? "Anonymous" : $CURUSER["username"];

$query = "INSERT INTO shoutbox (user, message, date, userid) VALUES ('SystemBoT', ':smile50: [url=".$site_config['SITEURL']."/torrents-details.php?id=".$id."]".$torrent."[/url] has been uploaded by [url=".$site_config['SITEURL']."/account-details.php?id=".$CURUSER['id']."]" .$CURUSER['username']. "[/url]', now(), '2')";
Unknown User
2012-01-09 15:44:29
wrong
Unknown User
2012-01-09 15:48:48
"XIII, post: 77862":
wrong
lol tell me lol
Unknown User
2012-01-09 15:52:51
the writelog line goes above this

$user = ($_POST["anonycheck"] == "yes") ? "Anonymous" : $CURUS

$query = "INSERT INTO shoutbox (user, message, date, userid) VALUES ('SystemBoT', ':smile50: [url=".$site_config['SITEURL']."/torrents-details.php?id=".$id."]".$torrent."[/url] has been uploaded by [url=".$site_config['SITEURL']."/account-details.php?id=".$CURUSER['id']."]" .$user. "[/url]', now(), '2')"
Unknown User
2012-01-09 15:55:30
"XIII, post: 77864":
the writelog line goes above this


$user = ($_POST["anonycheck"] == "yes") ? "Anonymous" : $CURUS

$query = "INSERT INTO shoutbox (user, message, date, userid) VALUES ('SystemBoT', ':smile50: [url=".$site_config['SITEURL']."/torrents-details.php?id=".$id."]".$torrent."[/url] has been uploaded by [url=".$site_config['SITEURL']."/account-details.php?id=".$CURUSER['id']."]" .$user. "[/url]', now(), '2')"

just testing our many thax
Unknown User
2012-01-09 15:57:22
"matchbox, post: 77865":
just testing our many thax
getting a white page on upload
Unknown User
2012-01-09 15:59:52
its missing a ;
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: 1
  • Members: 0
  • Guests online: 1
  • Comments: 3
  • Messages: 1,728