Bravo List
Register
Go Back   > Bravo List > Source Code > Archived Trackers > TBDev
Reply
Thread Tools
  #1  
Old 31st May 2010, 19:27
lovebeer's Avatar
lovebeer lovebeer is offline
Senior Member
 
Join Date: May 2009
Romania
Posts: 91
Default Show Rating in browse
I saw on a tracker the rating showed on browse page, here is a picture:

Click the image to open in full size.


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.
__________________

Reply With Quote
  #2  
Old 31st May 2010, 19:59
Timisoreanul's Avatar
Timisoreanul Timisoreanul is offline
Senior Member
 
Join Date: Apr 2008
P2P
Posts: 211
Default
Hi ,add that in bittorent.php
Reply With Quote
  #3  
Old 31st May 2010, 20:06
lovebeer's Avatar
lovebeer lovebeer is offline
Senior Member
 
Join Date: May 2009
Romania
Posts: 91
Default
where to add it?
I think I have to make something like sticky or freeleech :

Code:
 $sticky = ($row[sticky]=="yes" ? "<img src=pic/sticky.gif border=0  onMouseover=\"ddrivetip('Sticky !', 35)\"; onMouseout=\"hideddrivetip()\">" : "");
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 :)
__________________

Reply With Quote
  #4  
Old 31st May 2010, 23:54
Timisoreanul's Avatar
Timisoreanul Timisoreanul is offline
Senior Member
 
Join Date: Apr 2008
P2P
Posts: 211
Default
What version are you using? i'm sure you have rating in your bittorrent , somethinq like this:
Code:
/*

        print("<td align=\"center\">");

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

            print("---");

        else {

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

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

            if (!isset($rating))

                print("---");

            else

                print($rating);

        }

        print("</td>\n");
*/
or
Code:
<!--<td class="colhead" align="center">Rating</td>-->
end yes something like that
__________________
only me
Reply With Quote
Reply

Tags
browse , rating , show


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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Rating in Comments Fynnon Mods & Themes 6 5th May 2010 06:27
Dead IMDB rating proba10 Community Cafe 2 7th January 2010 15:24
How can I show Passkey ?? kingo_2003 Template Shares 4 3rd September 2008 13:17
Cat icons doesnt show? oem TBDev 2 2nd July 2008 20:23
Ts 43 not show correctly zenja777 Template Shares 0 13th June 2008 20:34



All times are GMT +2. The time now is 05:47. vBulletin skin by ForumMonkeys. Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2024, vBulletin Solutions Inc.