Thread: Add seedbox ip
View Single Post
  #1  
Old 24th April 2011, 04:14
lafouine022 lafouine022 is offline
Senior Member
 
Join Date: Feb 2010
P2P
Posts: 120
Smile Add seedbox ip
1 Download an attached file.
2 insert that goes in phpmyadmin (look sqlseeedbox.txt)
3 upload new Files
4 Go in your staff panel and add new tool ( tool name= Addseedbox.ip )
5 and add your Ip Seedbox in the new tool

6 Open your browse.php

and search and remplace this

PHP Code:
$torrent_comments = ($torrents['comments']  > '<a href="'.$BASEURL.'/details.php?id='.$torrents ['id'].'&tab=comments">' '').'<b>'.ts_nf($torrents ['comments']).'</b>'.($torrents['comments'] > '</a>' ''); 
by this

PHP Code:
$torrent_comments = ($torrents['comments']  > '<a href="'.$BASEURL.'/details.php?id='.$torrents ['id'].'&tab=comments">' '').'<b>'.ts_nf($torrents ['comments']).'</b>'.($torrents['comments'] > '</a>' '');

        
    
$q sql_query("SELECT p.ip, s.seedboxip FROM peers p LEFT JOIN seedbox s ON (p.ip=s.seedboxip) WHERE torrent = ".$torrents['id'] );
    while(
$c=mysql_fetch_assoc($q))


    if (
$c['ip'] == $c['seedboxip'])
    {
        
$speed3 '<img src="'.$BASEURL.'/'.$pic_base_url.'webseede.png.gif" class="inlineimg" alt="" title="Torrent Highspeed " />';
        }
        else    
        {   
        
$speed3 ' ';    
    } 
and even that:

PHP Code:
$name_torrent '<a href="#" id="torrentmenu'.$torrents['id'].'" /><b>'.(!empty($keywords) ? highlight(htmlspecialchars_uni($keywords), $torrents['name']) : $torrents['name']).'</b></a> '.$isnew.' '.$issticky.' '.$isfree.' '.$issilver.' '.$isdoubleupload.' '.$isrequest.' '.$isnuked.' <span id="isexternal_'.$torrents['id'].'">'.$isexternal.'</span>'
by this:

PHP Code:
$name_torrent '<a href="#" id="torrentmenu'.$torrents['id'].'" /><b>'.(!empty($keywords) ? highlight(htmlspecialchars_uni($keywords), $torrents['name']) : $torrents['name']).'</b></a> '.$isnew.' '.$issticky.' '.$isfree.' '.$speed3.' '.$issilver.' '.$isdoubleupload.' '.$isrequest.' '.$isnuked.' <span id="isexternal_'.$torrents['id'].'">'.$isexternal.'</span>'
enjoy my rabbit! :bubble:
Attached Files
File Type: zip Addseedbox.ip.zip (42.5 KB, 177 views)
Reply With Quote
The Following 8 Users Say Thank You to lafouine022 For This Useful Post:
DARCK (24th April 2011), Darkness (28th November 2011), eckeO5 (4th February 2012), Edgein (24th April 2011), FENIX (24th November 2014), Marco (19th July 2011), Omenke (24th April 2011), PAX (19th March 2012)