Bravo List

Bravo List (http://www.bvlist.com/index.php)
-   TBDev (http://www.bvlist.com/forumdisplay.php?f=20)
-   -   Show Rating in browse (http://www.bvlist.com/showthread.php?t=5024)

lovebeer 31st May 2010 19:27

Show Rating in browse
 
I saw on a tracker the rating showed on browse page, here is a picture:

http://i50.tinypic.com/vqi2ya.png


but I have installed this rating system:
http://www.tbdev.net/index.php?showt...1&#entry113114


The code from my details.php is this:
Code:

tr("Rating", pullRating($row["id"], true, false, true, true, ($CURUSER["id"] != $row["owner"] ? "NULL" : "novote")), 1);
How can I make this to work in browse?

Sorry for my english.

Timisoreanul 31st May 2010 19:59

Hi ,add that in bittorent.php

lovebeer 31st May 2010 20:06

where to add it?
I think I have to make something like sticky or freeleech :

Code:

$sticky = ($row[sticky]=="yes" ? "" : "");
and put it after Genre Code.

I think is something like this:
Code:

$rating = ($row[ratetorrents]=="yes" ? "rating code" : "");
But I don't know how to make this code, because I am beginner at this, I am trying to learn :)

\n");
*/
or
Code:


end yes something like that
Timisoreanul 31st May 2010 23:54

What version are you using? i'm sure you have rating in your bittorrent , somethinq like this:
Code:

/*

        print("
");

        if (!isset($row["Rating"]))

            print("---");

        else {

            $rating = round($row["Rating"] * 2) / 2;

            $rating = ratingpic($row["Rating"]);

            if (!isset($rating))

                print("---");

            else

                print($rating);

        }

        print("


All times are GMT +2. The time now is 14:40.

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