/******************************************************************************** ************ Torrent form class *************** upload.php and torrents.php **** ******************************************************************************** ** This class is used to create both the upload form, and the 'edit torrent' ** ** form. It is broken down into several functions - head(), foot(), ** ** music_form() [music], audiobook_form() [Audiobooks and comedy], and ** ** simple_form() [everything else]. ** ** ** ** When it is called from the edit page, the forms are shortened quite a bit. ** ** ** ********************************************************************************/ class TORRENT_FORM { var $Categories = array(); var $Formats = array(); var $Bitrates = array(); var $Media = array(); var $NewTorrent = false; var $Torrent = array(); var $Error = false; var $TorrentID = false; var $Disabled = ''; function TORRENT_FORM($Torrent = false, $Error = false, $NewTorrent = true) { $this->NewTorrent = $NewTorrent; $this->Torrent = $Torrent; $this->Error = $Error; global $Categories, $Formats, $Bitrates, $Media, $TorrentID; $this->Categories = $Categories; $this->Formats = $Formats; $this->Bitrates = $Bitrates; $this->Media = $Media; $this->TorrentID = $TorrentID; if($this->Torrent && $this->Torrent['GroupID']) { $this->Disabled = ' disabled="disabled"'; } } function head() { global $LoggedUser; ?>
Your personal announce url is:
'.$this->Error.'
'; } ?>Artist(s) |
Please use the multiple artists feature rather than adding 'Various Artists' as an artist, read this for more information on why. if(!empty($Torrent['Artists'])) { foreach($Torrent['Artists'] as $Importance => $Artists) { foreach($Artists as $Artist) { ?> Disabled?>/>} } } else { ?> Disabled?>/> [+] [-] } ?> |
Album title: |
Disabled?>/>
Do not include the words remaster, re-issue, MSFL Gold, limited edition, bonus tracks, bonus disc or country specific information in this field. That belongs in the edition information fields below, see this for further information. Also remember to use the correct capitalization for your upload. See the Capitalization Guidelines for more information. |
>Year >Year of original release |
You have entered a year for a release which predates the medium's availibility. You will need to change the year, enter additional edition information or if this information cannot be provided, select the 'Unknown Release' checkbox below Disabled?> onblur="CheckYear();" /> This is the year of the original release. |
Record Label (Optional): | Disabled?> /> |
Catalogue Number (Optional): | Disabled?> /> |
Release type | Please take the time to fill this out properly (try searching musicbrainz). |
Edition information |
onclick="Remaster();NewTorrent) {?> CheckYear(); } ?>" />
Check this box if this torrent is a different release to the original, for example a limited or country specific edition or a release that includes additional bonus tracks or is a bonus disc.
>
if(check_perms('edit_unknowns') || $LoggedUser['ID'] == $Torrent['UserID']) { ?>
onclick="NewTorrent) {?> CheckYear(); } ?>ToggleUnknown();"/> Unknown Release } ?> if(!empty($GroupRemasters)) { ?> } ?> Year (Required): /> Title: /> Title of the release, eg. 'Deluxe Edition' or 'Remastered'. Record Label: />This is for the record label of the release (It may differ from the original). Catalogue Number: />This is for the catalogue number of the release. |
Scene |
/>
Check this only if this is a 'scene release'. If you ripped it yourself, it is not a scene release. If you are not sure, DO NOT check it, you will be penalized. For information on the scene, visit Wikipedia. |
Format | |
Bitrate | > onchange="AltBitrate()" /> /> |
Media | Do NOT upload a cassette rip without first getting approval from a moderator! |
Log Files |
Check your log files here before uploading: logchecker.php [+] [-] |
Log/Cue |
/> Check this box if the torrent has (or should have) a log file. /> Check this box if the torrent has (or should have) a cue file. } global $LoggedUser; if ((check_perms('users_mod') || $LoggedUser['ID'] == $Torrent['UserID']) && ($Torrent['LogScore'] == 100 || $Torrent['LogScore'] == 99)) { $DB->query("SELECT LogID FROM torrents_logs_new where TorrentID = ".$this->TorrentID." AND Log LIKE 'EAC extraction logfile%' AND (Adjusted = '0' OR Adjusted = '')"); list($LogID) = $DB->next_record(); if ($LogID) { if (!check_perms('users_mod')) { ?> |
Trumpable | } ?> />Check this box if you want this torrent to be trumpable (subtracts 1 point). if (!check_perms('users_mod')) { ?> |
Log Score | |
Log Adjustment Reason |
Contains reason for adjusting a score. This field is displayed on the torrent page. |
Bad Tags | /> Check this box if the torrent has bad tags. |
Bad Folder Names | /> Check this box if the torrent has bad folder names. |
Bad File Names | /> Check this box if the torrent has bad file names. |
Tags |
if($GenreTags) { ?>
} ?>
Disabled?>/>
Tags should be comma separated, and you should use a period ('.') to separate words inside a tag - eg. 'hip.hop'. There is a list of official tags to the left of the text box. Please use these tags instead of 'unofficial' tags (eg. use the official 'drum.and.bass' tag, instead of an unofficial 'dnb' tag.) Avoid abbreviations if at all possible. So instead of tagging an album as 'alt', tag it as 'alternative'. Make sure that you use correct spelling. Avoid using multiple synonymous tags. Using both 'prog.rock' and 'progressive.rock' is redundant and annoying - just use the official 'progressive.rock' tag. Don't use 'useless' tags, such as 'seen.live', 'awesome', 'rap' (is encompassed by 'hip.hop'), etc. If an album is live, you can tag it as 'live'. Only tag information on the album itself - NOT THE INDIVIDUAL RELEASE. Tags such as 'v0', 'eac', 'vinyl', 'from.oink' etc are strictly forbidden. Remember that these tags will be used for other versions of the same album. You should be able to build up a list of tags using only the official tags to the left of the text box. If you are in any doubt about whether or not a tag is acceptable, do not add it. |
Image (optional) | Disabled?>/> |
Album Description |
Contains background information such as album history and maybe a review. |
Release Description (optional) |
Contains information like encoder settings or details of the ripping process. DO NOT PASTE THE RIPPING LOG HERE. |
Artist - Title |
Should only include the artist if applicable |
Year | |
Format | |
Bitrate | > onchange="AltBitrate()" /> /> |
Tags | |
Description |
Contains information like the track listing, and maybe a review. |
Release Description (optional) |
Contains information like encoder settings, and/or a log of the ripping process. |
Author - Title | } else { ?>Title | } ?>|
Tags | ||
Description |