Login
Username: Password:
Remember me

[Sign Up] / [Recover Password]

Theme / Language

Popular
New Torrents
new name
Size: 18.40 MB
Most active
new name
S: 74 L: 3
New Posters
[MOD] Ballon Tooltips
Controls ·  Search New posts · Mark unread

You are in: Forum / Forum / v2.08 / v2 Only Mods Complete

Unknown User
2007-10-16 07:25:37
"dada83, post: 34155":
inthe . rar it's written upload the images/nocover.jpg and i haven't fond it?

Use: [url="http://images.google.com/images?q=nocover&gbv=2&svnum=10&hl=bg&sa=G&imgsz=small%7Cmedium%7Clarge%7Cxlarge"]GOOGLE.COM[/url]

or download:

nocover.jpg
nocover.jpg
Unknown User
2007-11-06 13:16:33
super mod... thx!!!
Unknown User
2007-12-08 06:19:42
"Skayver, post: 34190":

or try this

nocover.jpg
nocover.jpg
Unknown User
2007-12-19 06:41:55
humm look great but im on v2.2 and nothing appear ...:(
Unknown User
2007-12-21 01:39:50
in my tracker nothing appears also!!

Torrenttrader v2.02
Unknown User
2007-12-21 22:12:53
use this

<script type="text/javascript" src="<?= $site_config["SITEURL"]; ?>/themes/default/overlib.js"></script>

</head>

<div id="overDiv" style="position:absolute; visibility:hidden; z-index:1000;"></div>
Unknown User
2007-12-22 16:35:42
thanks!!

but i was making a mistake.

i'm such a n00b... i forgot to change:

<script type="text/javascript" src="<?= $site_config["SITEURL"]; ?>/themes/default/overlib.js"></script>

by:

<script type="text/javascript" src="<?= $site_config["SITEURL"]; ?>/themes/NB-13/overlib.js"></script>

i was all about the directory of the theme  :(
Unknown User
2007-12-26 06:34:00
"teamfsx, post: 36666":
use this


<script type="text/javascript" src="<?= $site_config["SITEURL"]; ?>/themes/default/overlib.js"></script>

</head>

<div id="overDiv" style="position:absolute; visibility:hidden; z-index:1000;"></div>


thanks mista work no#1  :(  happy holliday's
Unknown User
2008-01-23 11:25:37
I update Ballon_Tooltip_INSTALL.txt compatible with new 2-svn version and recent backend/functions.php changes

####################################################

## MOD Title: Ballon Tooltips

## MOD Author: Skayver

## MOD Description: This MOD will add the ability to show first

## image in baloon tooltip in torrent browse page.

## MOD Compatibility: TT v2-svn

##

## Installation Level: easy

## Installation Time: 2 minutes

##

## Files To Edit: 2

##

## themes/default/header.php # Or you theme header

## backend/functions.php

##

##

## Files To Upload: 2

## themes/default/overlib.js

## images/nocover.jpg

##

####################################################

#

#----------[ UPLOAD ]----------------------------------------------------

#

themes/default/overlib.js

images/nocover.jpg

#

#----------[ OPEN ]------------------------------------------------------

#

themes/default/header.php



# or you theme heder.php

#----------[ FIND ]------------------------------------------------------

#

</head>



#

#----------[AND REPLACE WITH ]-----------------------------------------

#

<script type="text/javascript" src="/themes/default/overlib.js"></script>

</head>

<div id="overDiv" style="position:absolute; visibility:hidden; z-index:1000;"></div>



#

#----------[ SAVE & CLOSE ]----------------------------------

#############################################################

#----------[ OPEN ]------------------------------------------

#

backend/functions.php



#

#----------[ FIND ]------------------------------------------

#

print("<td class=ttable_col$x nowrap><a href=\"java script: klappe_torrent('t".$row['id']."')\"><img border=\"0\" src=\"".$site_config["SITEURL"]."/images/plus.gif\" id=\"pict".$row['id']."\" alt=\"Show/Hide\" class=\"showthecross\"></a> <a title=\"".$row["name"]."\" href=\"torrents-details.php?id=$id&hit=1\">$dispname</a>");

#

#----------[AND REPLACE WITH ]-----------------------------------------

#

/// START BALLON MOD ///

$bimg = @mysql_fetch_array(@mysql_query("SELECT image1 FROM torrents WHERE id=$id"));

$balon =($bimg["image1"] ? "/uploads/images/" . htmlspecialchars($bimg["image1"]) : "images/nocover.jpg");

/// END BALONN MOD ///



print("<td class=ttable_col$x nowrap><a href=\"java script: klappe_torrent('t".$row['id']."')\"><img border=\"0\" src=\"".$site_config["SITEURL"]."/images/plus.gif\" id=\"pict".$row['id']."\" alt=\"Show/Hide\" class=\"showthecross\"></a> <a href=\"torrents-details.php?id=$id&hit=1\" onmouseover=\" return overlib('<img src=$balon width=120 border=0>', CENTER);\" onmouseout=\"return nd();\">$dispname</a>");



#

#----------[ SAVE & CLOSE ]----------------------------------

#############################################################
Unknown User
2008-01-25 17:58:04
Works great on 1.8 also  :)  just one minor hickup is my tables are now like 130% instead of 100% width if anyone has any ideas why would be great

changing

		print("<td class=ttable_col2> <img border=0 src=" . $GLOBALS['SITEURL'] . "/images/cross.gif id=expandoGif$id onclick=\"expand($id)\" alt=\"show/hide\"> <a  title=\"".$row["name"]."\" href=\"torrents-details.php?");


for

/// START BALLON MOD ///
$bimg = @mysql_fetch_array(@mysql_query("SELECT image1 FROM torrents WHERE id=$id"));

$balon =($bimg["image1"] ? "/uploads/images/" . htmlspecialchars($bimg["image1"]) : "images/nocover.jpg");

/// END BALONN MOD ///

print("<td class=ttable_col2> <img border=0 src=" . $GLOBALS['SITEURL'] . "/images/cross.gif id=expandoGif$id onclick=\"expand($id)\" alt=\"show/hide\"> <a  title=\"".$row["name"]."\" class=\"showthecross\"><a href=\"torrents-details.php?id=$id&hit=1\" onmouseover=\" return overlib('<img src=$balon width=120 border=0>', CENTER);\" onmouseout=\"return nd();\">$dispname</a>");
Unknown User
2008-03-07 08:26:46
not working for me on test site

i get the pop up box when the mouse runs over it

but dont show image ...but will show the default pic

done all the edits checked it to make sure still no image

thanks

v2.3

EDIT FIXED
Unknown User
2008-04-25 17:19:12
the mod it's working , but now the plus pic not working (klappe_torrent)
Unknown User
2008-04-25 18:00:54
"versamak, post: 41856":
the mod it's working , but now the plus pic not working (klappe_torrent)
sometime if you move the order of script they will work together ok so try moving the (klappe_torrent) line to after the (overlib.js) line so it looks like

<script type="text/javascript" src="/themes/default/overlib.js"></script>

<script type="text/javascript" src="<?= $site_config["SITEURL"]; ?>/backend/java_klappe.js"></script>

</head>

<div id="overDiv" style="position:absolute; visibility:hidden; z-index:1000;"></div>


don't ask me why but this does actualy sometimes work with script errors...
Unknown User
2008-04-25 21:06:16
Thank you for reply!

Ok I did add

Quote:
<script type="text/javascript" src="<?= $site_config["SITEURL"]; ?>/backend/java_klappe.js"></script>
in themes/default/header.php

but what i need to do with this in backend/functions.php ?

Quote:
print("<td class=ttable_col2 nowrap><a href=\"java script: klappe_torrent('t".$row['id']."')\"><img border=\"0\" src=\"".$site_config["SITEURL"]."/images/plus.gif\" id=\"pict".$row['id']."\" alt=\"Show/Hide\" class=\"showthecross\"><a href=\"torrents-details.php?id=$id&amp;hit=1\" onmouseover=\" return overlib('<img src=$balon width=120 border=0>', CENTER);\" onmouseout=\"return nd();\">$dispname</a>");
Unknown User
2008-04-25 21:26:45
take the space out of java script  so it javascript
Users online

No users online

Search



Statistics

    Torrents

  • Tracking: 3
  • Todays torrents: 0
  • Seeders: 0
  • Leechers: 0
  • Peers: 0
  • Downloaded: 89.96 GB
  • Uploaded: 9.86 GB

  • Members

  • We have: 838
  • New today: 0
  • Guest today: 9

  • Online

  • Total online: 1
  • Members: 0
  • Guests online: 1
  • Comments: 3
  • Messages: 1,728