if you have a double o triple peers, or if you want reset ALL peer (seeder e leecher) for any reason, you can install this shortcut in your adminCP
in admincp-php find:
i hope this can be usefull
in admincp-php find:
<td align="center"><a href=admincp.php?action=clearshoutbox><img src="images/admin/forums.gif" border=0 width=32 height=32><BR>Clear Shoutbox</a><BR></td>add after:<td align="center"><a href=admincp.php?action=delpeers><img src="images/admin/disabledaccounts.gif" border=0 width=32 height=32><BR>Truncate Peers</a><BR></td>
at the end of page, but first by:
?>
add:
#======================================================================#
# TRUNCATE TABLE 'peers'
#======================================================================#
if ($action=="delpeers"){
stdhead("RESET PEERS");
navmenu();
begin_frame("Reset peers", center);
if ($yes == "yes") {
mysql_query("TRUNCATE TABLE `peers`");
print("<font size=2 color=red><center>Success, All peers as been reset!</b></center></font><br>\n");
} else {
echo "Are you sure you want to RESET ALL PEERS?<br>";
echo "<a href='admincp.php?action=delpeers&yes=yes'><b>Yes</b></a>";
}
end_frame();
stdfoot();
}i hope this can be usefull