balloon mod
1 Attachment(s)
Quote:
http://www.samisite.com/test-csb2nf/HTMLob.../overlib400.zip open your bittorrent.php and before: Code:
Code:
Code:
|
and put this before it:
then find:
$dispname = htmlspecialchars($row["name"]);
and replace it with this:
$preparing_baloon=mysql_query("SELECT poster FROM torrents WHERE id=$id LIMIT 0, 255") or sqlerr();
$poster=mysql_fetch_array($preparing_baloon);
$poster=$poster[poster];
$nlsubs=$poster[nlsubs];
$preparing_descr=mysql_query("SELECT descr FROM torrents WHERE id=$id LIMIT 0, 1 ") or sqlerr();
$descr=mysql_fetch_array($preparing_descr);
$des = mysql_real_escape_string(format_comment($descr[descr]));
$des=ereg_replace('"',""",$des);
$des=ereg_replace("<","<",$des);
$des=ereg_replace(">",">",$des);
$des=ereg_replace(" "," ",$des);
$des=ereg_replace("
","
",$des);
$dispname = htmlspecialchars($row["name"]);
$baloon=
print("$des ', WIDTH, 400, DELAY, 200);\" onmouseout=\"return nd();\";>$dispname
$description");
then find:
Code:
print("\">$dispname\n");
and erase it
You`re Done !
and remember to back-up your bittorrent.php
P.S you need the poster mod for this to work
*EDIT 2*
to show color and short descr just remove:
Code:
$des=ereg_replace("<","<",$des);
$des=ereg_replace(">",">",$des);
$des=ereg_replace(" ","",$des);
$des=ereg_replace("
","
",$des);
from this:
Code:
$preparing_baloon=mysql_query("SELECT cover, bgsubs FROM torrents WHERE id=$id LIMIT 0, 255") or sqlerr();
$cover=mysql_fetch_array($preparing_baloon);
$cover=$cover[cover];
$subs=$cover[bgsubs];
$preparing_descr=mysql_query("SELECT descr FROM torrents WHERE id=$id LIMIT 0, 100 ") or sqlerr();
$descr=mysql_fetch_array($preparing_descr);
$des = mysql_real_escape_string(format_comment($descr[descr]));
$des=ereg_replace('"',""",$des);
$des=ereg_replace("<","<",$des);
$des=ereg_replace(">",">",$des);
$des=ereg_replace(" ","",$des);
$des=ereg_replace("
","
",$des);
$dispname = htmlspecialchars($row["name"]);
$baloon=
print("$des ', WIDTH, 400, DELAY, 200);\" onmouseout=\"return nd();\";>$dispname");
so it looks like this:
Code:
$preparing_baloon=mysql_query("SELECT poster FROM torrents WHERE id=$id LIMIT 0, 255") or sqlerr();
$poster=mysql_fetch_array($preparing_baloon);
$poster=$poster[poster];
$nlsubs=$poster[nlsubs];
$preparing_descr=mysql_query("SELECT descr FROM torrents WHERE id=$id LIMIT 0, 100 ") or sqlerr();
$descr=mysql_fetch_array($preparing_descr);
$des = mysql_real_escape_string(format_comment($descr[descr]));
$des = ereg_replace('"',""",$des);
$dispname = htmlspecialchars($row["name"]);
$dispname = ereg_replace('\.', ' ', $dispname);
$baloon=
print("$des ', WIDTH, 400, DELAY, 200);\" onmouseout=\"return nd();\";>$dispname");
Could someone plz remake this to work with torrent strike plz it is from tbdev.net but it won't work on torrent strike !
All times are GMT +2. The time now is 12:42.
Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2024, vBulletin Solutions Inc.