SkyCatcher |
05-11-2006 11:02 PM |
PHP Code:
<tr> <td class="smallfont"> <if condition="!$top['rated']"> Not Available at this Time <else /> <a href="jukebox.php?$session[sessionurl]do=view&type=media&mid={$top['rated']['mediaid']}">{$top['rated']['title']} (Average Rating: $rating)</a><br /> Submitted by <a href="member.php?$session[sessionurl]u={$top['rated']['userid']}"><strong>{$top['rated']['username']}</strong></a> </if> </td> </tr>
To fix the actual filename being displayed on top rated with the current version.
The Top Rated songs will show the link to the actual MP3 file, and when clicked it will ask the user if he/she would like to download it.
Edit the jukebox_media_toprated template and replace everything in it with the code above and it will no longer show the actual file, preventing users from downloading the media.
I'm using 0.9
|