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

i can change in announce too?

look code in announce:

function validip($ip)

{

if (!empty($ip) && ip2long($ip)!=-1)

{

$reserved_ips = array (

array('0.0.0.0','2.255.255.255'),

array('10.0.0.0','10.255.255.255'),

array('127.0.0.0','127.255.255.255'),

array('169.254.0.0','169.254.255.255'),

array('172.16.0.0','172.31.255.255'),

array('192.0.2.0','192.0.2.255'),

array('192.168.0.0','192.168.255.255'),

array('255.255.255.0','255.255.255.255')

);



foreach ($reserved_ips as $r)

{

$min = ip2long($r[0]);

$max = ip2long($r[1]);

if ((ip2long($ip) >= $min) && (ip2long($ip) <= $max)) return false;

}

return true;

}

else return false;

}
what is this mod???
cause very load on server ;)
[MOD] Thanks — 2008-11-01 17:09:36 in v2 Only Mods Complete
in ajax?
what is this???
Dont work for me...
Tkssss :)
Quote:
I have the same problem. I've watched a user logout and then close their browser completely only to stay in the users online box for several hours.

Please help
They are no longer in the index, did willfully to test this issue...
Some users do not leave the usersonline.

Although not entering more than 24h
Does not is 100% finished.

Help to finish
Mod pending users, 1x to 2x

find in admincp.php

echo "<a href=admincp.php?action=users>Users</a><BR>";



and add after:



echo "<a href=admincp.php?action=confirmreg>Pending Users</a><BR>";







Find



	$smallname = CutName(htmlspecialchars($row["name"]), $char1);



echo "<tr><td class=table_col1>" . $smallname . "</td><td class=table_col2>$row[visible]</td><td class=table_col1>$row[banned]</td><td class=table_col2>$row[seeders]</td><td class=table_col1>$row[leechers]</td><td class=table_col2>$row[external]</td><td class=table_col1><a href=\"torrents-edit.php?returnto=" . urlencode($_SERVER["REQUEST_URI"]) . "&id=" . $row["id"] . "\"><font size=1 face=Verdana>EDIT</a></td></tr>\n";

}



echo "</table></CENTER>\n";



print($pagerbottom);



end_frame();

stdfoot();

}







And add after



#======================================================================#

# Manual confirm users

#======================================================================#

if ($action == "confirmreg") {

stdhead("pending users");

navmenu();



$search = trim($search);



if ($search != '' ){

$where = "WHERE username LIKE " . sqlesc("%$search%") . " AND status='pending'";

}





$res2 = mysql_query("SELECT COUNT(*) FROM users $where");

$row = mysql_fetch_array($res2);

$count = $row[0];



$perpage = 50;



list($pagertop, $pagerbottom, $limit) = pager($perpage, $count, "admincp.php?action=confirmreg&");



begin_frame("pending users");



print("<CENTER><form method=get action=?>\n");

print("<input type=hidden name=action value=users>\n");

print("" . SEARCH . ": <input type=text size=30 name=search>\n");

print("<input type=submit value='Search'>\n");

print("</form></CENTER>\n");



echo $pagertop;

?>

<CENTER><table align=center cellpadding="0" cellspacing="0" class="table_table" width="100%" border="1">

<tr>

<td class=table_head align=center>User Name</td>

<td class=table_head align=center>E-mail</td>

<td class=table_head align=center>Dateo</td>

<td class=table_head align=center>IP</td>

<td class=table_head align=center>Stats</td>

</tr>

<?



$rqq = "SELECT * FROM users WHERE status='pending' ORDER BY username";

$resqq = mysql_query($rqq);



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

extract ($row);



 echo "<tr><td class=table_col1>$row[username]</td><td class=table_col2>$row[email]</td><td class=table_col1>$row[added]</td><td class=table_col2>$row[ip]</td><td class=table_col1><a href=admincp.php?action=editreg&id=$row[id]>$row[status]</a></td></tr>\n";



}



echo "</table></CENTER>\n";



print($pagerbottom);



end_frame();

stdfoot();

}
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