/******************************************************************************** ************ 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 = ''; var $DisabledFlag = false; 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"'; $this->DisabledFlag = true; } } 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'])) { $FirstArtist = true; foreach($Torrent['Artists'] as $Importance => $Artists) { foreach($Artists as $Artist) { ?> Disabled?>/> if ($FirstArtist) { if (!$this->DisabledFlag) { ?> [+] [-] } $FirstArtist = false; } ?>} } } 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. |
||||||||
MusicBrainz: | |||||||||
>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. 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?> /> Please double check the record label and catalogue number when using MusicBrainz. See this guide for more details. | ||||||||
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)) { ?> } ?>
|
||||||||
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()" /> /> | ||||||||
Log files: |
Check your log files before uploading here. For multi-disc releases, click the [+] button to add multiple log files. [+] [-] |
||||||||
Multi-format uploader: | |||||||||
Vanity House: | |||||||||
Media: | Do NOT upload a cassette rip without first getting approval from a moderator! | ||||||||
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. | ||||||||
Cassette Approved: | /> Check this box if the torrent is an approved cassette rip. | ||||||||
Lossy Master Approved: | /> Check this box if the torrent is an approved lossy master. | ||||||||
Lossy Web Approved: | /> Check this box if the torrent is an approved lossy WEB release. | ||||||||
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 (e.g. use the official 'drum.and.bass' tag, instead of an unofficial 'dnb' tag). Please note that the '2000s' tag refers to music produced between 2000 and 2009. 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: |
Disabled)); ?>
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. |
Author - Title: |
Should only include the author if applicable. |
Year: | |
Format: | |
Bitrate: | > onchange="AltBitrate()" /> /> |
Tags: | |
Image (optional): | Disabled?>/> |
Description: |
Contains information like the track listing, a review, a link to Discogs or MusicBrainz, etc. |
Release description (optional): |
Contains information like encoder settings. For analog rips, this frequently contains lineage information. |
Author - Title: | } else { ?>Title: | } ?>|
Tags: | ||
Image (optional): | Disabled?>/> | |
Description: |