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

because wen i coded this in the site it was made for was not using it so i never looked into it or even thought about it..............

I'm sure it can work quite easily after a lil while SJ if u wnt it dun give me a shout on messenger and il look into it 4 ya

And serph looking at it just adding ,8,52 etc wud probably work but il need to look into it when i get a chance next week but im busy coding on phpbb3 at the moment.

Also replied to pm's
sorry joey i had missed a ] in the code i have updated it now and should now work!
add in the sql  after it says WHERE  category = 18 AND   cat number may be diffrent so check first and it should show that cat only, i could fix it but would take time best bet jsut to add a picture tbh, still not sure y it dont work with ie for sum people =/ sorry i dont have more time to work on these they are litterally requests from a site i help on and after works for them its posted and dont really check again sorry!
that is wierd as the script its based on works with ie il have a look thru the code but i cnt make ne promises as all my site are made for ff
sorry code has been updated forgot to change a line of code  also i have added a new feautre to it so please re download the raging.zip
so its been a while since i dun any work for tt but this was requested by an old friend over at ragingtorrents.net i was given some files from it which i belive were from tb dev so all credit goes to them...

ok this is basically this [url="http://imageflow.finnrudolph.de/"]http://imageflow.finnrudolph.de/[/url] but modded to show torrents and stats!



1st upload the files to your root directory (attactment)

2nd add this in index.php

find

//Site Notice

if ($site_config['SITENOTICEON']){

begin_frame("" . NOTICE . "");

echo stripslashes($site_config['SITENOTICE']);

end_frame();

}
add after




{

begin_frame("New Torrents");

echo '<IFRAME name="new_torrents" src="'.$site_config["SITEURL"].'/imageflow.php" frameborder="0" marginheight="0" marginwidth="0" width="99%" height="260" width=350 scrolling="no" align="middle"></IFRAME>';



end_frame();

}





in imageflow.php

find



http://mentaldesign.ismywebsite.com/beta/TorrentTrader//uploads/images/



and change it to the root url where your images are shown

[url="http://devscorner.xyz/applications/core/interface/file/attachment.php?id=4045"]raging.zip[/url]
to allow admins to change bonus amounts

in account-details.php

find

print("<tr><td>GBP
sithlord the reason i had dun it the way it was, wsa on my site i had extra custom user classes so it made more sense for my site the way it was, and yh dent  this mod requires you to have certain mods installed if there not that perticualr mod will give you an error all the mods used are on this site just search for them
soz havent been aorund for a while thnx foz for giving them advice

bs hacker the reason for that is you dont ahcve stats.php uploader which is another mod that will be found on here i dont have a link i afraid as i said i havent been around for a long while.

thnx
yh i saw it on ur site but couldnt find the code so jsut made it myself lol my contact staff just shows up on index saying there is one lol
this is dif from the over one on here ive seen it on a few sites tho so maybe on here somewhere!

this one will say "user" has sent a new pm

im workin on it so it says to who but keep getting errors

in mailbox.php

find

$msg = sqlesc(unesc(@$_POST['msg']));





and after if



mysql_query("INSERT INTO shoutbox VALUES('', 'System', '[url=http://".$SITEURL."/account-details.php?id=".$CURUSER['id']."]" .$CURUSER['username']. "[/url] Has Sent A New PM', now(), '0')");
not sure about the show hide thing can you show me your code and suire someone be able to sort it!

and sorry i just modded the v1 one thnx 4 the link torrentialstorm
for bans i just use ip bans and ive imported the peer guardian anti p2p list to help keep the site safer
This may look like alot but it all depends on what mods you have already installed!

DONT FORGET TO BACK IT ALL UP

firsst replace all the code in advanced stats with this





now if you ahve the[url="http://www.torrenttrader.org/index.php?showtopic=8800&hl=forum"] forum mod installed[/url] under






if you have the mod that l[url="http://www.torrenttrader.org/index.php?showtopic=3488&hl=iplog"]ogs all the ips that a user uses[/url] then below


[url="http://www.torrenttrader.org/index.php?showtopic=9095&hl=friend"]Affiliates block/mod added[/url] then below

<?

begin_block("Stats");



$date_time = get_date_time(gmtime()-(3600*24)); // the 24hrs is the hours you want listed

$registered = number_format(get_row_count("users"));

$ncomments = number_format(get_row_count("comments"));

$nmessages = number_format(get_row_count("messages"));

$trackers = number_format(get_row_count("announce"));

$ntor = number_format(get_row_count("torrents"));

$totaltoday = number_format(get_row_count("users", "WHERE users.last_access>='$date_time'"));

$regtoday = number_format(get_row_count("users", "WHERE users.added>='$date_time'"));

$todaytor = number_format(get_row_count("torrents", "WHERE torrents.added>='$date_time'"));

$guests = number_format(getguests());

$seeders = number_format(get_row_count("peers", "WHERE seeder='yes'"));

$leechers = number_format(get_row_count("peers", "WHERE seeder='no'"));

$members = number_format(get_row_count("users", "WHERE UNIX_TIMESTAMP('" . get_date_time() . "') - UNIX_TIMESTAMP(users.last_access) < 900"));

$totalonline = $members + $guests;

$bans = number_format(get_row_count("bans"));

$languages = number_format(get_row_count("languages"));

$admins = number_format(get_row_count("users", "WHERE class=8"));

$leaders = number_format(get_row_count("users", "WHERE class=7"));

$super = number_format(get_row_count("users", "WHERE class=6"));

$mod = number_format(get_row_count("users", "WHERE class=5"));

$up = number_format(get_row_count("users", "WHERE class=4"));

$vip = number_format(get_row_count("users", "WHERE class=3"));

$pwr = number_format(get_row_count("users", "WHERE class=2"));

$user = number_format(get_row_count("users", "WHERE class=1"));

$ext = number_format(get_row_count("torrents","WHERE external='yes'"));

$int = number_format(get_row_count("torrents","WHERE external='no'"));

$warn1 = number_format(get_row_count("warnings"));

$warn2 = number_format(get_row_count("users","WHERE warned='yes'"));

$ip = number_format(get_row_count("iplog"));

$board = number_format(get_row_count("forum_forums "));

$topic = number_format(get_row_count("forum_topics"));

$posts = number_format(get_row_count("forum_posts"));

$com = number_format(get_row_count("completed"));

$afil = number_format(get_row_count("affil"));





$result = mysql_query("SELECT SUM(downloaded) AS totaldl FROM users");

while ($row = mysql_fetch_array ($result)) {

$totaldownloaded = $row["totaldl"];

}



$result = mysql_query("SELECT SUM(uploaded) AS totalul FROM users");

while ($row = mysql_fetch_array ($result)) {

$totaluploaded  = $row["totalul"];

}



$localpeers = $leechers+$seeders;

$warn = $warn1+$warn2;

echo "<div align=left>";

echo "<B>Torrents</B>";

echo "<br><small>Tracking:<B> " . $ntor . " Torrents</b></small>";

echo "<br><small>External: <b>" . $ext . "</b></small>";

echo "<br><small>Internal: <b>" . $int . "</b></small>";

echo "<br><small>New Today:<B> " . $todaytor . "</b></small>";

echo "<br><small>Trackers:<B> " . $trackers . "</b></small>";

echo "<br><small>Local Seeders:<B> " . $seeders . "</b></small>";

echo "<br><small>Local Leechers:<B> " . $leechers . "</b></small>";

echo "<br><small>Local Peers:<B> " . $localpeers . "</b></small>";

ECHO "<br><small>Downloaded:<B> " . mksize($totaldownloaded) . "</b></small>";

ECHO "<br><small>Uploaded:<B> " . mksize($totaluploaded) . "</b></small>";

echo "<br><small>Completed:<B> " . $com . "</b></small>";

echo "<br><br><B>Members</B>";

echo "<br><small>We Have:<B> " . $registered . " Members</b></small>";

echo "<br><small>New Today:<B> " . $regtoday . "</b></small>";

echo "<br><small>Visited Today: <B>" . $totaltoday . "</b></small>";

echo "<br><br><B>Online</B>";

echo "<br><small>Total:<B> " . $totalonline . "</b></small>";

echo "<br><small>Members:<B> " . $members . "</b></small>";

echo "<br><small>Guests:<B> " . $guests . "</b></small>";

echo "<br><small>Comments Posted:<B> " . $ncomments . "</b></small>";

echo "<br><small>Messages Sent:<B> " . $nmessages . "</b></small>";

echo "<p><B>Other</B>";

echo "<br><small>Bans:<B>" . $bans . "</b></small>";

echo "<br><small>languages:<B>" . $languages . "</b></small>";

echo "<br><small>warnings:<B>" . $warn . "</b></small>";

echo "<p><B>Members</b>";

echo "<br><small><font color=aqua>Admins: <b>" . $leaders . "</b></small>";

echo "<br><small><font color=orange>Super Moderators: <b>" . $super . "</b></small>";

echo "<br><small><font color=brown>Moderators: <b>" . $mod . "</b></small>";

echo "<br><small><font color=red>Uploaders: <b>" . $up . "</b></small>";

echo "<br><small><font color=green>VIP: <b>" . $vip . "</b></small>";

echo "<br><small><font color=purple>Power User: <b>" . $pwr . "</b></small>";

echo "<br><small><font color=white>User: <b>" . $user . "</b></small>";



echo "<br><br></div>";

end_block();

?>
This will add amount of internal and external torents how many warnings there are how many bans and how many languages and amount of completed torrents also how many of each user class their is see pic

echo "<br><small>warnings:<B>" . $warn . "</b></small>";



add



echo "<p><B>Forum Stats</B>";

echo "<br><small>Posts:<B>" . $posts . "</b></small>";

echo "<br><small>Topics:<B>" . $topic . "</b></small>";

echo "<br><small>Boards:<B>" . $board . "</b></small>";



will now lok like this


echo "<br><small>warnings:<B>" . $warn . "</b></small>";



add



echo "<br><small>Individual Visits:<B>" . $ip . "</b></small>";





if you have the

echo "<br><small>warnings:<B>" . $warn . "</b></small>";



add



echo "<br><small>Affiliates:<B>" . $afil . "</b></small>";


and will now look like this if all are installed!

glad you liked it :blink:
i do no some french studyied it for 2 years just paid lil attention lol
if you need help i am on your site altough dont understand a word on it lol
it is for 2.04 however its something i added myself  :blink:

i added a extra class 8 which i use for the site owners sort of thing

to make a class 8 you must add it via phpmyadmin and then to add people to the class you must do it via phpmyadmiun for security

if you dont have a class 8 you can jsut remove the bits that envolve class 8

the bans and languages i used a script from foz

[url="http://www.torrenttrader.org/index.php?showtopic=9261"]http://www.torrenttrader.org/index.php?showtopic=9261[/url]

hope that helps! any more help dont hesertate in replying :blink:
best description is showing



open advancestats_block.php

find

$totalonline = $members + $guests;
below it add


$admins = number_format(get_row_count("users", "WHERE class=8"));

$leaders = number_format(get_row_count("users", "WHERE class=7"));

$super = number_format(get_row_count("users", "WHERE class=6"));

$mod = number_format(get_row_count("users", "WHERE class=5"));

$up = number_format(get_row_count("users", "WHERE class=4"));

$vip = number_format(get_row_count("users", "WHERE class=3"));

$pwr = number_format(get_row_count("users", "WHERE class=2"));

$user = number_format(get_row_count("users", "WHERE class=1"));





then find



echo "<br><small>Messages Sent:<B> " . $nmessages . "</b></small>";





an add below it



echo "<p><B>Members</b>";

echo "<br><small><font style=letter-spacing:normal;font-style:normal;color:#66ff66;filter:Glow(color=FF00FF,strength=4);height:14px;>Admins: <b>" . $admins . "</b></small></font>";

echo "<br><small><font color=aqua>Staff leaders: <b>" . $leaders . "</b></small>";

echo "<br><small><font color=orange>Super Moderators: <b>" . $super . "</b></small>";

echo "<br><small><font color=brown>Moderators: <b>" . $mod . "</b></small>";

echo "<br><small><font color=red>Uploaders: <b>" . $up . "</b></small>";

echo "<br><small><font color=green>VIP: <b>" . $vip . "</b></small>";

echo "<br><small><font color=purple>Power User: <b>" . $pwr . "</b></small>";

echo "<br><small><font color=white>User: <b>" . $user . "</b></small>";





and thats it!

if you only have default classes then you can remove



echo "<br><small><font style=letter-spacing:normal;font-style:normal;color:#66ff66;filter:Glow(color=FF00FF,strength=4);height:14px;>Admins: <b>" . $admins . "</b></small></font>";


as i ahve an extra class!

enjoy!!!!!

plz also note this was on my private beta site and therefore stats do not reflect our true site!
[MOD] Thanks — 2008-08-18 21:49:47 in v2 Only Mods Complete
never minds works fine:D
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: 3
  • Members: 0
  • Guests online: 3
  • Comments: 3
  • Messages: 1,728