diff --git a/classes/class_torrent_form.php b/classes/class_torrent_form.php
index 075abaec..58da1ef3 100644
--- a/classes/class_torrent_form.php
+++ b/classes/class_torrent_form.php
@@ -573,8 +573,8 @@ function show() {
Lossy web approved:
/>
- } ?>
- if ($this->NewTorrent) { ?>
+ }
+ if ($this->NewTorrent) { ?>
Tags:
@@ -588,19 +588,7 @@ function show() {
} ?>
Disabled?> />
- Tags should be comma-separated, and you should use a period (".") to separate words inside a tag — e.g. "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.
-
- Do not add "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.
+ Rules::display_site_tag_rules(true) // indent the opening PHP tag with 3 tabs for proper HTML generation ?>
diff --git a/classes/rules.class.php b/classes/rules.class.php
new file mode 100644
index 00000000..874fd967
--- /dev/null
+++ b/classes/rules.class.php
@@ -0,0 +1,53 @@
+
+
+
Tags should be comma-separated, and you should use a period (".") to separate words inside a tag — e.g. "hip.hop".
+
+
There is a list of official tags =($OnUpload ? 'to the left of the text box' : 'on the torrent upload page')?>. 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.
+
+
Do not add "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 =($OnUpload ? 'to the left of the text box' : 'on the torrent upload page')?>. If you are in any doubt about whether or not a tag is acceptable, do not add it.
+
+
+ }
+
+ /**
+ * Displays the site's rules for conversing on its IRC network
+ *
+ */
+ public static function display_irc_chat_rules() {
+ ?>
+
+
Staff have the final decision. If a staff member says stop and you continue, expect at least to be banned from the IRC network.
+
Be respectful to IRC Operators and Administrators. These people are site staff who volunteer their time for little compensation. They are there for the benefit of all and to aid in conflict resolution; do not waste their time.
+
Do not link shock sites or anything NSFW (not safe for work) without a warning. If in doubt, ask a staff member in =(BOT_HELP_CHAN)?> about it.
+
Excessive swearing will get you kicked; keep swearing to a minimum.
+
Do not leave Caps Lock enabled all the time. It gets annoying, and you will likely get yourself kicked.
+
No arguing. You can't win an argument over the Internet, so you are just wasting your time trying.
+
No prejudice, especially related to race, religion, politics, ethnic background, etc. It is highly suggested to avoid this entirely.
+
Flooding is irritating and will warrant you a kick. This includes, but is not limited to, automatic "now playing" scripts, pasting large amounts of text, and multiple consecutive lines with no relevance to the conversation at hand.
+
Impersonation of other members—particularly staff members—will not go unpunished. If you are uncertain of a user's identity, check their vhost.
+
Spamming is strictly forbidden. This includes, but is not limited to, personal sites, online auctions, and torrent uploads.
+
Obsessive annoyance—both to other users and staff—will not be tolerated.
+
Do not PM, DCC, or Query anyone you don't know or have never talked to without asking first; this applies specifically to staff.
+
No language other than English is permitted in the official IRC channels. If we cannot understand it, we cannot moderate it.
+
The offering, selling, trading, and giving away of invites to this or any other site on our IRC network is strictly forbidden.
+
Read the channel topic before asking questions.
+
+
+ }
+}
diff --git a/classes/script_start.php b/classes/script_start.php
index 739189a9..ee1b9f06 100644
--- a/classes/script_start.php
+++ b/classes/script_start.php
@@ -136,6 +136,9 @@
case 'Rippy':
$FileName = 'rippy.class';
break;
+ case 'Rules':
+ $FileName = 'rules.class';
+ break;
case 'Sphinxql':
$FileName = 'class_sphinxql';
break;
diff --git a/sections/artist/artist.php b/sections/artist/artist.php
index 363491d7..f80cfcb1 100644
--- a/sections/artist/artist.php
+++ b/sections/artist/artist.php
@@ -712,12 +712,13 @@ function compare($X, $Y) {
$Collages = $Cache->get_value('artists_collages_'.$ArtistID);
if (!is_array($Collages)) {
- $DB->query("SELECT
- c.Name, c.NumTorrents, c.ID
- FROM collages AS c
- JOIN collages_artists AS ca ON ca.CollageID=c.ID
- WHERE ca.ArtistID='$ArtistID'
- AND Deleted='0' AND CategoryID = '7'");
+ $DB->query("
+ SELECT c.Name, c.NumTorrents, c.ID
+ FROM collages AS c
+ JOIN collages_artists AS ca ON ca.CollageID=c.ID
+ WHERE ca.ArtistID='$ArtistID'
+ AND Deleted='0'
+ AND CategoryID = '7'");
$Collages = $DB->to_array();
$Cache->cache_value('artists_collages_'.$ArtistID, $Collages, 3600*6);
}
@@ -735,7 +736,7 @@ function compare($X, $Y) {
?>
-
↑ This artists is in =number_format(count($Collages))?> collage=((count($Collages)>1) ? 's' : '')?>=$SeeAll?>
+
↑ This artists is in =number_format(count($Collages))?> collage=((count($Collages) > 1) ? 's' : '')?>=$SeeAll?>
# artists
foreach ($Indices as $i) {
diff --git a/sections/chat/index.php b/sections/chat/index.php
index cf55bebf..c5c24eab 100644
--- a/sections/chat/index.php
+++ b/sections/chat/index.php
@@ -26,23 +26,7 @@
IRC Rules - Please read these carefully!
-
-
Staff have the final decision, if they say stop and you continue, expect at least to be banned from the IRC network.
-
Be respectful to IRC Operators and Administrators. These people are site staff who volunteer their time for little compensation. They are there for the benefit of all and to aid in conflict resolution; do not waste their time.
-
Do not link shock sites or anything NSFW (not safe for work) without a warning. If in doubt, ask a staff member in =BOT_HELP_CHAN?> about it.
-
Excessive swearing will get you kicked; keep swearing to a minimum.
-
Do not leave your Caps Lock on all the time. It gets annoying, and you will likely get yourself kicked.
-
No arguing. You can't win an argument over the Internet, so you're just wasting your time trying.
-
No prejudice, especially related to race, religion, politics, ethnic background, etc. It is highly suggested to avoid this entirely.
-
Flooding is irritating and will warrant you a kick. This includes, but is not limited to, automatic "now playing" scripts, pasting large amounts of text, and multiple consecutive lines with no relevance to the conversation at hand.
-
Impersonation of other members (particularly staff members) will not go unpunished. If you are uncertain of a user's identity, check their vhost.
-
Spamming is strictly forbidden. This includes, but is not limited to, personal sites, online auctions, and torrent uploads.
-
Obsessive annoyance, both to other users and staff, will not be tolerated.
-
Do not PM, DCC, or Query anyone you don't know or have never talked to without asking; this applies specifically to staff.
-
No language other than English is permitted in the official IRC channels. If we cannot understand it, we cannot moderate it.
-
The offering, selling, trading, and giving away of invites to this or any other site on our IRC network is strictly forbidden.