|
#1
|
||||
|
||||
Show Rating in browse
I saw on a tracker the rating showed on browse page, here is a picture:
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); Sorry for my english.
__________________
|
#2
|
||||
|
||||
Hi ,add that in bittorent.php
|
#3
|
||||
|
||||
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()\">" : ""); I think is something like this: Code:
$rating = ($row[ratetorrents]=="yes" ? "rating code" : "");
__________________
|
#4
|
||||
|
||||
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"); */ Code:
<!--<td class="colhead" align="center">Rating</td>--> end yes something like that
__________________
only me |
Tags |
browse , rating , show |
|
|
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 |