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]Uploader in torrents.php
Controls ·  Search New posts · Mark unread

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

Unknown User
2008-02-10 09:57:18
Hi all!

Find in functions.php:

	<td class=ttable_head>Seeder</td>

<td class=ttable_head>Leecher</td>

<td class=ttable_head><?php echo "" . HEALTH . "";?></td>
Add after:


	<td class=ttable_head>Uploader</td>





Find:



		print("<td class=ttable_col2 align=center><b><font color=green><B>" . $row["seeders"] . "</b></td>\n");



print("<td class=ttable_col1 align=center><font color=red><B>" . $row["leechers"] . "</b></td>\n");



print("<td class=ttable_col1 align=center><img src=".$site_config["SITEURL"]."/images/health_".health($row["leechers"], $row["seeders"]).".gif></td>\n");





Add after:



		if ($row["username"]) 

print("<td class=ttable_col1 align=center><b><a href=account-details.php?id=" . $row["owner"] . ">" . $row["username"] . "</a></b></td>\n");



EnjoY!!!!!

Hi all!

wolfnet

* Mod Edit: As of v2.04 this isn't needed.
Unknown User
2008-02-10 15:06:19
yep nice hack good work....
Unknown User
2008-02-10 15:27:21
wep work number one thanks :)
Unknown User
2008-02-10 18:30:38
Thanks :)
Unknown User
2008-02-10 20:20:01
thank you
Unknown User
2008-02-12 00:21:10
whats wrong ? ^^ please help me   :)

[url="http://img209.imageshack.us/my.php?image=zwischenablage01zn0.jpg"][/url]

[url="http://devscorner.xyz/applications/core/interface/file/attachment.php?id=2008"]functions.php[/url]
functions.php
Download
Unknown User
2008-02-12 13:34:13
???  :)  :D :D

This is my functions.php:

[url="http://devscorner.xyz/applications/core/interface/file/attachment.php?id=2013"]functions.php[/url]
functions.php
Download
Unknown User
2008-02-12 13:56:57
oh thx ! i forgot this:

<td class=ttable_head><?php echo "" . NAME . "";?></td>
Unknown User
2008-02-12 14:43:27
very good work thanks

gia
Unknown User
2008-02-12 18:41:38
Privacy part missing. If user like to hide his name then torrent table show up his name.
Unknown User
2008-02-12 19:45:38
"Maku, post: 38862":
Privacy part missing. If user like to hide his name then torrent table show up his name.


yep it's true i didn't noticed that but i tried now and it shows the uploader name...
Unknown User
2008-02-14 09:58:52
... ^_^
Unknown User
2008-02-27 01:23:24
thanks :)
Unknown User
2008-02-27 01:37:59
"SpaZiuR, post: 38866":
yep it's true i didn't noticed that but i tried now and it shows the uploader name...

code i used in SVN:

echo "<td class=ttable_col2 align=center>";

if ($row["privacy"] == "strong" && !($CURUSER["id"] == $row["owner"] || $CURUSER["edit_torrents"] == "yes"))

echo "Anonymous";

elseif ($row["username"])

echo "<a href='account-details.php?id=$row[owner]'>$row[username]</a>";

else

echo "Unknown";

echo "</td>";
Unknown User
2008-02-27 12:08:45
Nice!  :)  thanks
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