Bravo List

Bravo List (http://www.bvlist.com/index.php)
-   Torrent Strike (http://www.bvlist.com/forumdisplay.php?f=21)
-   -   Help with details.php (http://www.bvlist.com/showthread.php?t=4548)

cekosexama 20th February 2010 20:59

Help with details.php
 
Hello, how can i make the torrent i point open the poster from it like... this:

http://img684.imageshack.us/img684/8916/helpl.jpg

\n");
add after it 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];
if (!empty($arr["poster"])){
$poster1 = "
Timisoreanul 20th February 2010 21:05

first go to themes your theme name end sthead.php before add
Code:


then after add
Code:


save
now in bittorrent.php
Find this
Code:

print($row["cat_name"]);
            print("");
        }
        else
            print("-");
        print("
";
}
else{
$poster1 = "
";
}

so it is look like this
Code:

                print($row["cat_name"]);
            print("");
        }
        else
            print("-");
        print("\n");
        $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];
if (!empty($arr["poster"])){
$poster1 = "
";
}
else{
$poster1 = "
";
}

now find this
Code:

        print("\" title=\"" . $dispname . "\">" . CutName($dispname, $char) . "
Replace with this
Code:

          print("\"onmouseover=\"return overlib('
',  WIDTH, 150, DELAY, 200);\" onmouseout=\"return nd();\";>$dispname
then find this
Code:

        else

            print("\" title=\"" . $dispname ."\">" . CutName($dispname, $char) . "

Replace with this
Code:

            print("\"onmouseover=\"return overlib('
',  WIDTH, 150, DELAY, 200);\" onmouseout=\"return nd();\";>$dispname
So the code look like this(mine is a bit different because i add freelech,sticky,scene,request,2xupload)
Code:

          print("\"onmouseover=\"return overlib('
',  WIDTH, 150, DELAY, 200);\" onmouseout=\"return nd();\";>$dispname $thisisfree  $double_seed $scene $request$description");   
          else

            print("\"onmouseover=\"return overlib('
',  WIDTH, 150, DELAY, 200);\" onmouseout=\"return nd();\";>$dispname $thisisfree $double_seed $scene $request$description");
if ($variant == "index")


cekosexama 20th February 2010 21:58

thanks very much! :) :drink:


All times are GMT +2. The time now is 03:49.

Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2024, vBulletin Solutions Inc.