Silver Download for FTS
1 Attachment(s)
Sql:
Code:
ALTER TABLE `torrents` ADD `silver` enum('yes','no') default 'no' Code:
$res = mysql_query( "SELECT id, name, category, banned, free.... Code:
, silver Code:
if ($upthis > 0 || $downthis > 0) Code:
if ($upthis > 0 || $downthis > 0) Code:
, torrents.silver Code:
if(get_user_class()>=UC_MODERATOR) Code:
if(get_user_class()>=UC_MODERATOR) Code:
$timezone = $row["added"]; Code:
$silver = ($row[silver]=="yes" ? "" : ""); Code:
print("\">$dispname (NEW) $thisisfree $silver $timezone\n"); Code:
$silver |
I can,t find in functions.php
Code:
print("\">$dispname (NEW) $thisisfree $silver $timezone\n"); |
I think he means add rather than find
|
ok, then Phogo where is supposed I have to add it?
I mean after o before what code:girl: |
i think you have to replace this:
PHP Code:
PHP Code:
|
ok done, how can I know that now is working?
I mean where can I find out this silver option? :sos: |
open /include/functions.php find:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
@elvira, edit and complete the mod in the first post. |
Ok, done,
but how can someone that browse torrents notice that the torrent is silver? I mean when you browse and read torrent information, I can,t see a box o similar that indicates that torrent is silver... and how for the admin to know how much silver torrents are there? I mean for control, in the admin panel... thanks in advance |
Quote:
|
Ok, thank you, :ok:
|
All times are GMT +2. The time now is 17:30. |
Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2024, vBulletin Solutions Inc.