View Single Post
  #10  
Old 20th May 2011, 11:47
mmisu120000's Avatar
mmisu120000 mmisu120000 is offline
Senior Member
 
Join Date: Jun 2009
P2P
Posts: 202
Default
Quote:
Originally Posted by turktiger View Post
it seems very far from mouse and only thumb like in the attachment , cant we show seeders and leechers in it like 7.2 (i use 5.6 )
at your page there maybe a problem in css ... in header perhaps ...

I will work on a balloon that shows seeders/leechers, etc. ... but what's the point in that, you can see those values in the browse page right on the torrent you're pointing ... maybe it's not a good idea in loading the tracker with thousands of graphics and gizmos ... but, as I said, i'll work on a balloon like that

Bump: Ok, here is the version with seeders/leechers/category/size shown in the window ...:


for those who never changed browse.php:

find:
PHP Code:
$name_torrent '<a href="'.($UseQuickMenu '#' $seolink2).'" 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>'
and replace it with:
PHP Code:
$res12 mysql_query("SELECT name FROM categories WHERE id=$torrents[category]");
        
$arr1 mysql_fetch_assoc($res12);
        
$cat1 $arr1["name"];
        
$size1 mksize($torrents["size"]);
        
$imagineat=htmlspecialchars_uni($torrents['t_image']);
$name_torrent '<a href="'.$seolink2.'" onmouseover="return overlib(\'<table width=100%><tr><td bgcolor=black align=center><img src='.$imagineat.' width=150 height=200></td><td bgcolor=black align=center ><b><font color=white>'.$torrents['name'].'</font></b><br><br><font color=yellow><b>Tip:&nbsp;'.$cat1.'</font><br><br><font color=lime><b>'.$torrents['seeders'].'&nbsp;Seederi</font><br><font color=red>'.$torrents['leechers'].'&nbsp;Leecheri</font><br><br><font color=white>Marime:&nbsp;'.$size1.'</font></td></tr></table>\',  WIDTH, 150, DELAY, 100);" onmouseout="return nd();"><b>'.$torrents['name'].'</b></a> '.$isnew.' '.$issticky.' '.$isfree.' '.$issilver.' '.$isdoubleupload.' '.$isrequest.' '.$isnuked.' <span  id="isexternal_'.$torrents['id'].'">'.$isexternal.'</span>'
For those who already made the ballon modification from the first post:

in browse.php

find:
PHP Code:
$imagineat=htmlspecialchars_uni($torrents['t_image']);
$name_torrent '<a href="'.$seolink2.'" onmouseover="return overlib(\'<table width=100%><tr><td><img src='.$imagineat.' width=150 height=200></td></tr></table>\',  WIDTH, 150, DELAY, 100); ..... etc 
and replace it with:
PHP Code:
$res12 mysql_query("SELECT name FROM categories WHERE id=$torrents[category]");
        
$arr1 mysql_fetch_assoc($res12);
        
$cat1 $arr1["name"];
        
$size1 mksize($torrents["size"]);
        
$imagineat=htmlspecialchars_uni($torrents['t_image']);
$name_torrent '<a href="'.$seolink2.'" onmouseover="return overlib(\'<table width=100%><tr><td bgcolor=black align=center><img src='.$imagineat.' width=150 height=200></td><td bgcolor=black align=center ><b><font color=white>'.$torrents['name'].'</font></b><br><br><font color=yellow><b>Tip:&nbsp;'.$cat1.'</font><br><br><font color=lime><b>'.$torrents['seeders'].'&nbsp;Seederi</font><br><font color=red>'.$torrents['leechers'].'&nbsp;Leecheri</font><br><br><font color=white>Marime:&nbsp;'.$size1.'</font></td></tr></table>\',  WIDTH, 150, DELAY, 100);" onmouseout="return nd();"><b>'.$torrents['name'].'</b></a> '.$isnew.' '.$issticky.' '.$isfree.' '.$issilver.' '.$isdoubleupload.' '.$isrequest.' '.$isnuked.' <span  id="isexternal_'.$torrents['id'].'">'.$isexternal.'</span>'
that should do it ....
__________________
"How terrible is wisdom when it holds no benefit for the wise?" - Louis Cypher
WDW Tracker - Using heavy modified TSSE

Last edited by mmisu120000; 20th May 2011 at 12:45.
Reply With Quote
The Following 9 Users Say Thank You to mmisu120000 For This Useful Post:
Botanicar (29th July 2013), csapagy (29th December 2011), DAKz (23rd June 2011), dandanch (18th April 2012), Darkness (28th November 2011), FENIX (27th February 2013), Marco (30th December 2011), PAX (29th November 2011), Tones (18th July 2012)