Bravo List
Register
Go Back   > Bravo List > Source Code > Archived Trackers > TBDev > Mods & Themes
Reply
  #1  
Old 12th October 2012, 20:09
MJUER's Avatar
MJUER MJUER is offline
Senior Member
 
Join Date: Aug 2012
P2P
Posts: 23
Default Mod need
Hello I have a question does anyone know how to give Flush Torrents Ghost at all because I have many seeders ghost on tracker ,Tracker runs on TBDEV 2005, kind XZ and FZ
Reply With Quote
  #2  
Old 12th October 2012, 21:05
firefly's Avatar
firefly firefly is offline
Senior Member
 
Join Date: Dec 2009
P2P
Posts: 74
Default
Quote:
Originally Posted by MJUER View Post
Hello I have a question does anyone know how to give Flush Torrents Ghost at all because I have many seeders ghost on tracker ,Tracker runs on TBDEV 2005, kind XZ and FZ
I'm not to sure if you have a flush torrent.php, but I would look at creating a Cron to execute the flush torrent file.

# crontab -e

and cut and paste this in and then hit Ctrl + x and type y to save


30 23 * * * php /path/to/your/fushtorrent.php
Reply With Quote
  #3  
Old 12th October 2012, 22:39
MJUER's Avatar
MJUER MJUER is offline
Senior Member
 
Join Date: Aug 2012
P2P
Posts: 23
Default re
I and torrent.php the folder includes I looked through it but have not found anything
Reply With Quote
  #4  
Old 17th October 2012, 10:49
Chez's Avatar
Chez Chez is offline
Senior Member
 
Join Date: Sep 2011
P2P
Posts: 278
Default
Quote:
Originally Posted by MJUER View Post
Hello I have a question does anyone know how to give Flush Torrents Ghost at all because I have many seeders ghost on tracker ,Tracker runs on TBDEV 2005, kind XZ and FZ
Take this:

http://fisierulmeu.ro/5832PC0Y8PWG/takeflush-php.html
__________________
http://www.bvlist.com/images/avatars/signaturepics/sigpic16443_2.gif
Reply With Quote
  #5  
Old 21st November 2012, 14:56
MJUER's Avatar
MJUER MJUER is offline
Senior Member
 
Join Date: Aug 2012
P2P
Posts: 23
Default help
Quote:
Originally Posted by Chez View Post

Takeflush know and php but I have to give up everything I tracker for each user that is to give global flushtorrents
Reply With Quote
  #6  
Old 3rd December 2012, 14:05
rabtb's Avatar
rabtb rabtb is offline
Senior Member
 
Join Date: Aug 2008
Posts: 39
Default
think this should do you

where you want add in

userdetails.php
Code:
<tr><td class=rowhead width=1%>Flush Torrents</td><td align=left width=99%><?print("<h0>Flush Torrents, <a href=takeflush.php?id=$id>click here</a>!</h0>\n");?></td></tr>
takeflush.php
Code:
<?
require_once("include/bittorrent.php");

dbconn();

loggedinorreturn();

$id = 0 + $_GET["id"];

mysql_query("DELETE FROM peers WHERE userid = $id");

header("Refresh: 0; url=userdetails.php?id=$id");
?>
Reply With Quote
Reply

Tags
mod

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



All times are GMT +2. The time now is 03:18. vBulletin skin by ForumMonkeys. Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2022, vBulletin Solutions Inc.