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
[ADDON] IP History
Controls ·  Search New posts · Mark unread

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

Unknown User
2013-03-07 09:50:22
this mod only show ip history, there's no ip banned systeme into
Unknown User
2013-03-07 11:44:47
strange when i add it it banned ip and when i remove it site is fine
Unknown User
2013-03-07 17:07:15
well ofcourse if you add it the banned ip.... you will have issues

But this addon has no auto ban or any other system in it... its just an display!!!!!!!!!!!!!!!!!!!!
Unknown User
2013-09-09 08:55:03
good job what else  :D
Unknown User
2014-07-06 09:42:41
This is working 100%, I just want to ask, can someone help please ... I would like to add the "plus" button here for access to this, as the ip history gets quite long sometimes, and how do I go to add a function so it displays this in pages of 20 ??

also - adding THIS gives an error :

account-login.php, find:
logincookie($row["id"], $row["password"], hash_pad($row["secret"], 20));

the error :  Fatal error: Call to undefined function hash_pad() in /var/www/xxxxxxxxxxxxxxx/public_html/account-login.php on line 46

so how /where should that get defined ????

This is my current code :


echo "<table align=center cellpadding=0 cellspacing=0 class='ttable_headinner' width='99%'>";
$res = mysql_query("SELECT * FROM iplog WHERE userid=$id ORDER BY lastused DESC, timesused ASC");
echo "<tr><td class='ttable_head'>IP</td><td class='ttable_head'>Date Added</td><td class='ttable_head'>Last Used</td><td class='ttable_head'>Times Used</td><td class='ttable_head'>Other Users</td></tr>";
$x = 1;
while($row=mysql_fetch_assoc($res)) {
//Find other users with the same IP
$res2 = mysql_query("SELECT users.id AS id,users.username as username FROM users INNER JOIN iplog ON (iplog.ip = '$row[ip]' AND users.id=iplog.userid AND users.id<>$id)");
$usersSame="";
while($userrow=mysql_fetch_assoc($res2)) {
$usersSame .= "<a href='account-details.php?id=$userrow[id]'>$userrow[username]</a>,&nbsp;";
}
//display table
echo "<tr align='center' class='ttable_col$x'><td>$row[ip]</td><td>".date("d/m/Y H:i:s", utc_to_tz_time($row['added']))."</td><td>".date("d/m/Y H:i:s", utc_to_tz_time($row['lastused']))."</td><td>".number_format($row['timesused'])."</td></tr>";
if ($x == 1)
$x = 2;
else
$x = 1;
}
unset($x);
echo "</table>";
end_frame();

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