Empty commit

This commit is contained in:
Git 2013-07-18 08:00:51 +00:00
parent 19bb3b95d1
commit ddbdda3a43
9 changed files with 29 additions and 23 deletions

View File

@ -297,7 +297,7 @@ public static function release_order(&$SiteOptions, $Default = false) {
$Defaults = !empty($SiteOptions['HideTypes']);
} else {
$Sort =& $SiteOptions['SortHide'];
$MissingTypes = array_diff_key($ReleaseTypes, $Sort);
$MissingTypes = array_diff_key($RT, $Sort);
if (!empty($MissingTypes)) {
foreach (array_keys($MissingTypes) as $Missing) {
$Sort[$Missing] = 0;
@ -309,11 +309,14 @@ public static function release_order(&$SiteOptions, $Default = false) {
if (isset($Defaults)) {
$Checked = ($Defaults && isset($SiteOptions['HideTypes'][$Key]) ? ' checked="checked"' : '');
} else {
if (!isset($RT[$Key])) {
continue;
}
$Checked = ($Val ? ' checked="checked"' : '');
$Val = (isset($RT[$Key]) ? $RT[$Key] : 'Error');
$Val = $RT[$Key];
}
$ID = "$Key_" . (int) !!$Checked;
$ID = $Key . '_' . (int) !!$Checked;
// The HTML is indented this far for proper indentation in the generated HTML
// on user.php?action=edit

View File

@ -3,7 +3,7 @@
die('CLI Only.');
}
define('SERVER', 'irc.what.cd');
define('SERVER', BOT_SERVER);
define('PORT', 6667);
define('NICK', 'RawBot');
define('WATCH', '#raw-input');

View File

@ -5,7 +5,7 @@
<div class="thin">
<h3 id="general">Pursuit of Perfection</h3>
<div class="box pad" style="padding: 10px 10px 10px 20px;">
<p>Here at What.CD, we believe that there's always room for improvement. To aid our effort in the pursuit of perfection, we've put together a few simple lists that can help you build ratio and help us improve our overall quality. Most lists feature 100 torrents at a time and update every 15 minutes.</p>
<p>Here at <?=SITE_NAME?>, we believe that there's always room for improvement. To aid our effort in the pursuit of perfection, we've put together a few simple lists that can help you build ratio and help us improve our overall quality. Most lists feature 100 torrents at a time and update every 15 minutes.</p>
</div>
<h3 id="lists">Lists</h3>
<div class="box pad" style="padding: 10px 10px 10px 20px;">

View File

@ -41,7 +41,7 @@
$nick = $LoggedUser['Username'];
$nick = preg_replace('/[^a-zA-Z0-9\[\]\\`\^\{\}\|_]/', '', $nick);
if (strlen($nick) == 0) {
$nick = 'WhatGuest????';
$nick = SITE_NAME.'Guest????';
} else {
if (is_numeric(substr($nick, 0, 1))) {
$nick = '_' . $nick;

View File

@ -64,7 +64,7 @@
<li><strong>Discography</strong> - A collage containing all the releases of an artist, which can be useful for keeping track of side projects.</li>
<li><strong>Label</strong> - A collage containing all the releases of a particular record label.</li>
<li><strong>Staff picks</strong> - A listing of recommendations picked by the staff on special occasions.</li>
<li><strong>Charts</strong> - Contains all the releases that comprise a certain type of chart (e.g. Billboard Top 100, Pitchfork Top 100, What.CD Top 10, etc.).</li>
<li><strong>Charts</strong> - Contains all the releases that comprise a certain type of chart (e.g. Billboard Top 100, Pitchfork Top 100, <?=SITE_NAME?> Top 10, etc.).</li>
<?
if (($CollageCount < $LoggedUser['Permissions']['MaxCollages']) && check_perms('site_collages_personal')) { ?>
<li><strong>Personal</strong> - You can put whatever you want here. It is your own personal collage.</li>

View File

@ -42,7 +42,7 @@ function toggle_visibility(id) {
$Nick = $_POST['username'];
$Nick = preg_replace('/[^a-zA-Z0-9\[\]\\`\^\{\}\|_]/', '', $Nick);
if (strlen($Nick) == 0) {
$Nick = 'WhatGuest????';
$Nick = SITE_NAME.'Guest????';
} else {
if (is_numeric(substr($Nick, 0, 1))) {
$Nick = '_' . $Nick;
@ -59,7 +59,7 @@ function toggle_visibility(id) {
</div>
<applet codebase="static/irc/" code="IRCApplet.class" archive="irc.jar,sbox.jar" width="800" height="600" align="center">
<param name="nick" value="<?=($Nick)?>" />
<param name="alternatenick" value="WhatGuest????" />
<param name="alternatenick" value="<?=SITE_NAME?>Guest????" />
<param name="name" value="Java IRC User" />
<param name="host" value="<?=(BOT_SERVER)?>" />
<param name="multiserver" value="false" />

View File

@ -889,8 +889,10 @@
'upload' => '0',
'warn' => '1',
'delete' => '1',
'pm' => '[rule]3.3[/rule]. No radio talk shows or podcasts are allowed. What.CD is primarily a music site, and those recordings do not belong in any torrent category.
'pm' => '[rule]3.3[/rule]. No radio talk shows or podcasts are allowed. Those recordings do not belong in any torrent category.
Your torrent was reported because it contained audio files sourced from a talk show or podcast.'
)
)
),

View File

@ -166,7 +166,7 @@
<li id="r2.1.11"><a href="#h2.1"><strong>&uarr;_</strong></a> <a href="#r2.1.11">2.1.11.</a> <strong>Music ripped from the radio (Satellite or FM), television, the web, or podcasts are not allowed.</strong> See <a href="wiki.php?action=article&amp;id=948">this wiki</a> for the difference between web rips and the WEB category.</li>
<li id="r2.1.12"><a href="#h2.1"><strong>&uarr;_</strong></a> <a href="#r2.1.12">2.1.12.</a> <strong>No unofficial audience recordings may be uploaded.</strong> These include but are not limited to AUD (Audience), IEM (In Ear Monitor), ALD (Assistive Listening Device), Mini-Disc, and Matrix-sourced recordings (see <a href="#r2.6.3">2.6.3</a>).</li>
<li id="r2.1.13"><a href="#h2.1"><strong>&uarr;_</strong></a> <a href="#r2.1.13">2.1.13.</a> <strong>Tape (VHS, Video-8, etc.) music sources are not allowed, except for cassette rips and certain soundboards.</strong> See <a href="#h2.6">2.6</a> for further information.</li>
<li id="r2.1.14"><a href="#h2.1"><strong>&uarr;_</strong></a> <a href="#r2.1.14">2.1.14.</a> <strong>The WEB media category is for digital downloads only.</strong> Digital downloads released only on the internet from internet sources cannot be given the CD media label on the <a href="upload.php">upload page</a>. This includes downloads from the iTunes Store, LiveDownloads, Beatport, Amazon.com, Rhapsody, and other web stores. Scene releases with no source information must be labeled as WEB. Freely available music with no source information must also be labeled as WEB. If possible, indicate the source of your files (e.g., the specific web store) in the torrent description. You are responsible for determining whether the downloaded files conform to What.CD's rules for music quality. Note: Do not confuse WEB-sourced files with web rips (see <a href="wiki.php?action=article&amp;id=948">this wiki</a>). WEB media torrents are not always web rips (meaning <a href="wiki.php?action=article&amp;id=14">transcodes</a>). Please check the spectrals before assuming that they are web rips.</li>
<li id="r2.1.14"><a href="#h2.1"><strong>&uarr;_</strong></a> <a href="#r2.1.14">2.1.14.</a> <strong>The WEB media category is for digital downloads only.</strong> Digital downloads released only on the internet from internet sources cannot be given the CD media label on the <a href="upload.php">upload page</a>. This includes downloads from the iTunes Store, LiveDownloads, Beatport, Amazon.com, Rhapsody, and other web stores. Scene releases with no source information must be labeled as WEB. Freely available music with no source information must also be labeled as WEB. If possible, indicate the source of your files (e.g., the specific web store) in the torrent description. You are responsible for determining whether the downloaded files conform to <?=SITE_NAME?>'s rules for music quality. Note: Do not confuse WEB-sourced files with web rips (see <a href="wiki.php?action=article&amp;id=948">this wiki</a>). WEB media torrents are not always web rips (meaning <a href="wiki.php?action=article&amp;id=14">transcodes</a>). Please check the spectrals before assuming that they are web rips.</li>
<li id="r2.1.15"><a href="#h2.1"><strong>&uarr;_</strong></a> <a href="#r2.1.15">2.1.15.</a> <strong>WEB uploads must be uploaded at the bit depths and sampling rates they were sold at.</strong> WEB uploads of the same audio with different sampling rates or bit depths may coexist if that is how they are sold or distributed. This means that if, for example, an album is sold with a bit depth of 24 bits and a sampling rate of 88.2 kHz, it must be uploaded directly with no modifications to the audio stream. An existing WEB upload of the same material with a bit depth of 24 and a sampling rate of 96 kHz may coexist with the new 24/88.2 upload but does not trump it. See <a href="#r2.1.6.2">2.1.6.2</a> for more information.</li>
<li id="r2.1.16"><a href="#h2.1"><strong>&uarr;_</strong></a> <a href="#r2.1.16">2.1.16.</a> <strong>User-made compilations are not allowed.</strong>
<ul>
@ -241,7 +241,7 @@
</ul>
</li>
<li id="r2.2.10.2"><a href="#r2.2.10"><strong>&uarr;_</strong></a> <a href="#r2.2.10.2">2.2.10.2.</a> <strong>A FLAC torrent without a log (or with a log from a non-EAC or non-XLD ripping tool like dBpoweramp or Rubyripper) may be trumped by a FLAC torrent with a log from an approved ripping tool that scores either 100% or &lt;100% because of non-audio deductions.</strong> For example, an <a href="http://www.exactaudiocopy.de/" target="_blank">EAC</a> log that scores 50% (because of CRC mismatches or other audio deductions) cannot trump a Rubyripper log. See <a href="wiki.php?action=article&amp;id=921">this wiki</a> for more information on approved ripping tools. Also, see <a href="wiki.php?action=article&amp;id=693">this wiki</a> for setting up <a href="http://www.exactaudiocopy.de/" target="_blank">EAC</a> and <a href="wiki.php?action=article&amp;id=706">this wiki</a> for ripping with EAC. See <a href="wiki.php?action=article&amp;id=146">this wiki</a> for ripping with <a href="http://tmkk.undo.jp/xld/index_e.html" target="_blank">XLD</a>. Please make sure the log file has the ".log" extension so that it can display properly on the torrent page.</li>
<li id="r2.2.10.3"><a href="#r2.2.10"><strong>&uarr;_</strong></a> <a href="#r2.2.10.3">2.2.10.3.</a> <strong>A FLAC upload with an <a href="http://www.exactaudiocopy.de/" target="_blank">EAC</a> or <a href="http://tmkk.undo.jp/xld/index_e.html" target="_blank">XLD</a> rip log that scores 100% on the <a href="logchecker.php">log checker</a> replaces one with a lower score.</strong> No log scoring less than 100% can trump an already existing one that scores under 100%. For example, a FLAC+log rip that scores 50% in the log checker cannot be trumped by a FLAC+log rip that scores 80%. What.CD recommends <a href="wiki.php?action=article&amp;id=693">this guide for EAC</a>, and <a href="wiki.php?action=article&amp;id=146">this guide for XLD</a>. See <a href="wiki.php?action=article&amp;id=155">this wiki</a> for more information on the site log checker. Note: A FLAC upload with a log that scores 95% for not defeating the audio cache may be rescored to 100% following the procedure outlined in <a href="wiki.php?action=article&amp;id=219">this wiki</a>.</li>
<li id="r2.2.10.3"><a href="#r2.2.10"><strong>&uarr;_</strong></a> <a href="#r2.2.10.3">2.2.10.3.</a> <strong>A FLAC upload with an <a href="http://www.exactaudiocopy.de/" target="_blank">EAC</a> or <a href="http://tmkk.undo.jp/xld/index_e.html" target="_blank">XLD</a> rip log that scores 100% on the <a href="logchecker.php">log checker</a> replaces one with a lower score.</strong> No log scoring less than 100% can trump an already existing one that scores under 100%. For example, a FLAC+log rip that scores 50% in the log checker cannot be trumped by a FLAC+log rip that scores 80%. <?=SITE_NAME?> recommends <a href="wiki.php?action=article&amp;id=693">this guide for EAC</a>, and <a href="wiki.php?action=article&amp;id=146">this guide for XLD</a>. See <a href="wiki.php?action=article&amp;id=155">this wiki</a> for more information on the site log checker. Note: A FLAC upload with a log that scores 95% for not defeating the audio cache may be rescored to 100% following the procedure outlined in <a href="wiki.php?action=article&amp;id=219">this wiki</a>.</li>
<li id="r2.2.10.4"><a href="#r2.2.10"><strong>&uarr;_</strong></a> <a href="#r2.2.10.4">2.2.10.4.</a> <strong>A FLAC upload with <span style="font-weight: bold;">only non-audio deductions</span> in the log (see <a href="wiki.php?action=article&amp;id=888">this wiki</a>) may replace a FLAC upload with a log that scores 0% or contains audio deductions.</strong> For example, a range rip that has AccurateRip scores of two or higher and assorted non-audio deductions (e.g., burst mode, audio cache, pre-gaps, C2 pointers, etc.) can trump a log that has audio deductions for mismatching CRCs.</li>
<li id="r2.2.10.5"><a href="#r2.2.10"><strong>&uarr;_</strong></a> <a href="#r2.2.10.5">2.2.10.5.</a> <strong><a href="http://tmkk.undo.jp/xld/index_e.html" target="_blank">XLD</a> and <a href="http://www.exactaudiocopy.de/" target="_blank">EAC</a> logs in languages other than English require a manual log checker score adjustment by staff.</strong> The current log checker cannot parse non-English logs made by EAC and XLD. However, a special exception is made for foreign-language logs since the rip quality is equivalent to English logs. Please report your torrent with the "RP" button and select "Log Rescore Request" for the reason of the report so staff can score your torrent manually. <span style="font-weight: bold;">Do not translate the log yourself</span> (see <a href="#r2.2.10.9">2.2.10.9</a>).</li>
<li id="r2.2.10.6"><a href="#r2.2.10"><strong>&uarr;_</strong></a> <a href="#r2.2.10.6">2.2.10.6.</a> <strong>Range rips of hidden tracks or regular range rips (acceptable under strict conditions) require manual score adjustment.</strong>
@ -525,7 +525,7 @@
</ul>
</li>
<li id="r3.2"><a href="#r3.2k"><strong>&uarr;_</strong></a> <a href="#r3.2">3.2.</a> <strong>No music is permitted in these two categories. They are for spoken word only. See <a href="wiki.php?action=article&amp;id=955">this wiki</a> for more information.</strong> For example, if a comedy artist performs a stand-up routine that is recorded on CD, this would be classified as a Comedy album. If this same artist sings some funny songs on an album, this would be classified as a Comedy album. If this same artist produces a music CD with no hint of comedic material (e.g., spoken word tracks), this would be classified as a music album (see <a href="#h2.1">2.1</a>). </li>
<li id="r3.3"><a href="#r3.3k"><strong>&uarr;_</strong></a> <a href="#r3.3">3.3.</a> <strong>No radio talk shows or podcasts are allowed.</strong> What.CD is primarily a music site, and those recordings do not belong in any torrent category. </li>
<li id="r3.3"><a href="#r3.3k"><strong>&uarr;_</strong></a> <a href="#r3.3">3.3.</a> <strong>No radio talk shows or podcasts are allowed.</strong> <?=SITE_NAME?> is primarily a music site, and those recordings do not belong in any torrent category. </li>
<li id="r3.4"><a href="#r3.4k"><strong>&uarr;_</strong></a> <a href="#r3.4">3.4.</a> <strong>Comedy and audiobooks must not be freely available.</strong> Free audiobooks and comedy releases from official sources may not be uploaded. Exceptions: Uploads that are at a different bitrate from those freely available are allowed. If a comedy album in 96 kbps CBR MP3 is freely available, you may still upload a V8 (VBR) or higher bitrate torrent of the freely available torrent if it does not already exist on the site. </li>
<li id="r3.5"><a href="#r3.5k"><strong>&uarr;_</strong></a> <a href="#r3.5">3.5.</a> <strong>Releases must be unarchived and consist of a single release.</strong> Comedy and audiobook releases should not be archived in a file (e.g., .zip or .rar). The torrent must consist of a directory containing the audio files. Only one release per torrent is allowed. You may not bundle multiple audiobooks or comedy releases into one torrent. See <a href="#r1.2.7">1.2.7</a> and <a href="#r2.1.20">2.1.20</a>. </li>
<li id="r3.6"><a href="#r3.6k"><strong>&uarr;_</strong></a> <a href="#r3.6">3.6.</a> <strong>All comedy and audiobook releases must have an average bitrate of at least 32 kbps</strong>. However, higher bitrates are preferred over this minimum requirement.

View File

@ -81,7 +81,7 @@
}
View::show_header('Staff Blog','bbcode');
?>
<div class="box thin">
<div class="box box2 thin">
<div class="head">
<?=((empty($_GET['action'])) ? 'Create a staff blog post' : 'Edit staff blog post')?>
<span style="float: right;">
@ -95,18 +95,20 @@
<? if (!empty($_GET['action']) && $_GET['action'] == 'editblog') { ?>
<input type="hidden" name="blogid" value="<?=$BlogID; ?>" />
<? } ?>
<h3>Title</h3>
<input type="text" name="title" size="95"<? if (!empty($Title)) { echo ' value="'.display_str($Title).'"'; } ?> /><br />
<h3>Body</h3>
<textarea name="body" cols="95" rows="15"><? if (!empty($Body)) { echo display_str($Body); } ?></textarea> <br />
<br /><br />
<div class="center">
<div class="field_div">
<h3>Title</h3>
<input type="text" name="title" size="95"<? if (!empty($Title)) { echo ' value="'.display_str($Title).'"'; } ?> />
</div>
<div class="field_div">
<h3>Body</h3>
<textarea name="body" cols="95" rows="15"><? if (!empty($Body)) { echo display_str($Body); } ?></textarea> <br />
</div>
<div class="submit_div center">
<input type="submit" value="<?=((!isset($_GET['action'])) ? 'Create blog post' : 'Edit blog post') ?>" />
</div>
</div>
</form>
</div>
<br />
<?
} else {
View::show_header('Staff Blog','bbcode');
@ -133,7 +135,7 @@
list($BlogID, $Author, $Title, $Body, $BlogTime) = $BlogItem;
$BlogTime = strtotime($BlogTime);
?>
<div id="blog<?=$BlogID?>" class="box">
<div id="blog<?=$BlogID?>" class="box box2">
<div class="head">
<strong><?=$Title?></strong> - posted <?=time_diff($BlogTime);?> by <?=$Author?>
<? if (check_perms('admin_manage_blog')) { ?>
@ -145,7 +147,6 @@
<?=$Text->full_format($Body)?>
</div>
</div>
<br />
<?
}
?>