Bravo List
Register
Go Back   > Bravo List > Source Code > Active Trackers > Project U-232
Reply
  #1  
Old 14th December 2019, 20:00
steven2007's Avatar
steven2007 steven2007 is offline
Senior Member
 
Join Date: Jul 2011
Belgium
Posts: 46
Default Mousover in torrent-details and last_torrent.block
Hello everybody,
can someone help me and tell me how I can best modify the Mousover in the torrent details and in the last torrent block so that the text is not over the poster but next to it?
So a new facelift, comme the catalogue
Thanks in advance
Reply With Quote
  #2  
Old 14th December 2019, 21:11
firefly007's Avatar
firefly007 firefly007 is offline
SUPPORT GURU
 
Join Date: Jun 2010
P2P
Posts: 702
Default
I cant quite remember how u232 implements this but I'm sure its JavaScript.

one way you can do this is with CSS. First add a class to it and then add the appropriate property.
__________________

Due to free time I'm able to help interested member's with their tracker.

Please Note!
Depending on your requests I will charge you for my assistance for Tracker installs and mods.
All my mods are custom and prices will very depending on the request.

I'm able to install any tracker and mods including themes.

Please PM me

Reply With Quote
  #3  
Old 14th December 2019, 22:33
steven2007's Avatar
steven2007 steven2007 is offline
Senior Member
 
Join Date: Jul 2011
Belgium
Posts: 46
Default
the code in latest torrent look like this
PHP Code:
$HTMLOUT.= "            <tbody><tr>            <td class='text-center'><img src='pic/caticons/{$CURUSER['categorie_icon']}/" htmlsafechars($top5torrentarr["cat_pic"]) . "' alt='" htmlsafechars($top5torrentarr["cat_name"]) . "' title='" htmlsafechars($top5torrentarr["cat_name"]) . "' /></td>            <td><a href="{$INSTALLER09['baseurl']}/details.php?id=" . (int)$top5torrentarr['id'] . "&amp;hit=1" onmouseover="Tip('<b>{$lang['index_ltst_name']}" . htmlsafechars($top5torrentarr['name']) . "</b><br /><b><center>{$lang['index_ltst_seeder']}" . (int)$top5torrentarr['seeders'] . "</center></b><br /><b><center>{$lang['index_ltst_leecher']}" . (int)$top5torrentarr['leechers'] . "</center></b><br />$poster');" onmouseout="UnTip();">{$torrname}</a></td>          <td class='text-center'><span class='badge'>" . (int)$top5torrentarr['seeders'] . "</span></td>          <td class='text-center'><span class='badge'>" . (int)$top5torrentarr['leechers'] . "</span></td>          <td class='text-center'><span class='badge'>$thealth</span></td>            </tr></tbody>";        } 

the only thing i could do was center the ad for seeder and leecher.
However, adding a color fails
Reply With Quote
  #4  
Old 14th December 2019, 22:51
firefly007's Avatar
firefly007 firefly007 is offline
SUPPORT GURU
 
Join Date: Jun 2010
P2P
Posts: 702
Default
That wont help me much. I will need to install the version what version are u using V5?
__________________

Due to free time I'm able to help interested member's with their tracker.

Please Note!
Depending on your requests I will charge you for my assistance for Tracker installs and mods.
All my mods are custom and prices will very depending on the request.

I'm able to install any tracker and mods including themes.

Please PM me

Reply With Quote
  #5  
Old 14th December 2019, 23:23
steven2007's Avatar
steven2007 steven2007 is offline
Senior Member
 
Join Date: Jul 2011
Belgium
Posts: 46
Default
yes its version 5

Bump: this is orginal

https://ibb.co/Yd3wzB5


and this with center
https://ibb.co/rmHStDF

and in catalogue looks like this

https://ibb.co/Wz468fH

Last edited by steven2007; 14th December 2019 at 23:39. Reason: forgotten link
Reply With Quote
  #6  
Old 15th December 2019, 00:01
Napon's Avatar
Napon Napon is offline
Banned
 
Join Date: Feb 2016
P2P
Posts: 522
Default
PHP Code:
$name substr$name035 ); 

PHP Code:
" . htmlspecialchars($name) . " 
or

PHP Code:
function CutName ($txt$len){
    
$len 55;
    return (
strlen($txt) > $len substr($txt0$len-1) . '...':$txt);

PHP Code:
" . CutName($dispname, 55) . " 
Reply With Quote
The Following User Says Thank You to Napon For This Useful Post:
steven2007 (17th December 2019)
  #7  
Old 15th December 2019, 08:38
steven2007's Avatar
steven2007 steven2007 is offline
Senior Member
 
Join Date: Jul 2011
Belgium
Posts: 46
Default
thanks Napon,I have absolutely no plan where to put it

Last edited by steven2007; 15th December 2019 at 08:39. Reason: name edit
Reply With Quote
  #8  
Old 15th December 2019, 11:07
Napon's Avatar
Napon Napon is offline
Banned
 
Join Date: Feb 2016
P2P
Posts: 522
Default
top one 1 the latest_torrents_scroll block


botton one for torrenttable_functions
Reply With Quote
The Following User Says Thank You to Napon For This Useful Post:
papad (15th December 2019)
  #9  
Old 15th December 2019, 12:33
firefly007's Avatar
firefly007 firefly007 is offline
SUPPORT GURU
 
Join Date: Jun 2010
P2P
Posts: 702
Default
Ah! Now I get the problem.. Use what Napon posted but I'm not sure about adding a whole new function because if memory serves 232 should have a function like that in one of the function files. Also if I were u I would use a combination of the two, meaning the cut function and CSS, this way u wont loose so much text. Ok so I would reduce the font size a bit.
__________________

Due to free time I'm able to help interested member's with their tracker.

Please Note!
Depending on your requests I will charge you for my assistance for Tracker installs and mods.
All my mods are custom and prices will very depending on the request.

I'm able to install any tracker and mods including themes.

Please PM me

Reply With Quote
  #10  
Old 17th December 2019, 04:49
steven2007's Avatar
steven2007 steven2007 is offline
Senior Member
 
Join Date: Jul 2011
Belgium
Posts: 46
Default
i have played a little bit ,looks now like this


https://ibb.co/CJ5zwgN
Reply With Quote
Reply

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 19:23. vBulletin skin by ForumMonkeys. Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2021, vBulletin Solutions Inc.