BioTorrents.de’s version of Gazelle
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

rules.class.php 10KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174
  1. <?php
  2. class Rules
  3. {
  4. /**
  5. * Displays the site's "Golden Rules".
  6. *
  7. */
  8. public static function display_golden_rules()
  9. {
  10. ?>
  11. <ul>
  12. <li><strong>No personally identifying patient data is allowed anywhere on the site.</strong></li>
  13. <li>Staff can do anything to anyone for any reason (or no reason). If you take issue with a decision, you must do so
  14. privately with the staff member who issued the decision or with an administrator of the site.</li>
  15. <li>One account per person per lifetime.</li>
  16. <li>Follow proper private BitTorrent practices. Torrent files you download from this site are unique to you and should
  17. not be shared with others. Torrent files from this site should not be modified by adding additional trackers or
  18. enabling DHT or PEX under any circumstances.</li>
  19. <li>Buying <?=SITE_NAME?> invites is not allowed. If staff discover
  20. you have purchased an invite, you will be banned for life. You will be given amnesty if you approach us before you
  21. are caught and reveal who your seller was. Waiting until after you are caught will get you nothing.</li>
  22. <li>Accessing the site from any IP address is permitted, but your account will be linked with other accounts that have
  23. accessed the site from the same IP as you. As such, it is <em>recommended</em> that you don't use public networks,
  24. proxies, or VPNs to access the site.</li>
  25. <li>Attempting to find a bug in the site code is allowed and sometimes even rewarded. Follow proper disclosure
  26. procedures by contacting staff about the issue well before disclosing it publicly. Do not misuse any bugs you may
  27. discover. Do not attempt to portray abuse as a bug in the hopes of a reward.</li>
  28. <li>Don't reveal the criteria for hidden badges or events.</li>
  29. </ul>
  30. <?php
  31. }
  32. /**
  33. * Displays the site's rules for tags.
  34. *
  35. * @param boolean $OnUpload - whether it's being displayed on a torrent upload form
  36. */
  37. public static function display_site_tag_rules($OnUpload = false)
  38. {
  39. ?>
  40. <ul>
  41. <li><strong>Please use the <strong class="important_text_alt">vanity.house</strong> tag for sequences that you or your
  42. lab produced.</strong> This helps us promote the DIYbio community's original contributions.</li>
  43. <li>Tags should be comma-separated, and you should use a period to separate words inside a tag, e.g., <strong
  44. class="important_text_alt">gram.negative</strong>.</li>
  45. <li>There is a list of official tags <?=($OnUpload ? 'to the left of the text box' : 'on the <a href="upload.php">upload page</a>')?>.
  46. Please use these tags instead of "unofficial" tags, e.g., use the official <strong
  47. class="important_text_alt">fungi</strong> tag instead of an unofficial <strong
  48. class="important_text">mushrooms</strong> tag.</li>
  49. <li>Avoid using multiple synonymous tags. Using both <strong class="important_text">cyanobacteria</strong> and <strong
  50. class="important_text_alt">bacteria</strong> is redundant and stupid &mdash; just use the official <strong
  51. class="important_text_alt">bacteria</strong>.</li>
  52. <li>Don't add useless tags that are already covered by other metadata. If a torrent is in the DNA category, please
  53. don't tag it <strong class="important_text">dna</strong>.</li>
  54. <li>Only tag information related to the group itself &mdash; <strong>not the individual release</strong>. Tags such as
  55. <strong class="important_text">apollo.100</strong>, <strong class="important_text">hiseq.2500</strong>, etc., are
  56. strictly forbidden. Remember that these tags will be used for other releases in the same group.</li>
  57. <li><strong>Certain tags are strongly encouraged for appropriate uploads:</strong> <strong
  58. class="important_text_alt">archaea</strong>, <strong class="important_text_alt">bacteria</strong>, <strong
  59. class="important_text_alt">fungi</strong>, <strong class="important_text_alt">animals</strong>, <strong
  60. class="important_text_alt">plants</strong>, <strong class="important_text_alt">plasmids</strong>. People search
  61. for these kinds of things specifically, so tagging them properly will get you more snatches.</li>
  62. <!--
  63. <li><strong>Use tag namespaces when appropriate.</strong> BioTorrents.de allows for tag namespaces to aid with searching. For example, you may want to use the tags "<strong class="important_text_alt">masturbation:male</strong>" or "<strong class="important_text_alt">masturbation:female</strong>" instead of just "<strong class="important_text">masturbation</strong>". They can be used to make search queries more specific. Searching for "<strong class="important_texti_alt">masturbation</strong>" will show all torrents tagged with "<strong class="important_text_alt">masturbation</strong>", "<strong class="important_text_alt">masturbation:male</strong>", or "<strong class="important_text_alt">masturbation:female</strong>". However, searching for "<strong class="important_text_alt">masturbation:female</strong>" will ONLY show torrents with that tag. Tags with namespaces will appear differently depending on the namespace used, which include:
  64. <ul>
  65. <li><strong>:parody</strong> - Used to denote a parodied work: <strong class="tag_parody">touhou</strong>, <strong class="tag_parody">kantai.collection</strong></li>
  66. <li><strong>:character</strong> - Used to denote a character in a parodied work: <strong class="tag_character">iori.minase</strong>, <strong class="tag_character">hakurei.reimu</strong></li>
  67. <li><strong>:male</strong> - Used to denote that the tag refers to a male character: <strong class="tag_male">masturbation</strong>, <strong class="tag_male">teacher</strong></li>
  68. <li><strong>:female</strong> - Used to denote that the tag refers to a female character: <strong class="tag_female">masturbation</strong>, <strong class="tag_female">shaved</strong></li>
  69. </ul>
  70. </li>
  71. -->
  72. <li><strong>All uploads require a minimum of 5 tags.</strong> Please don't add unrelated tags just to meet the 5 tag
  73. requirement. If you can't think of 5 tags for your content, study it again until you can.</li>
  74. <li><strong>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 <a href="upload.php">upload page</a>')?>.</strong>
  75. If you doubt whether or not a tag is acceptable, please omit it for now and send a staff PM to request a new
  76. official tag or an approved alias.</li>
  77. </ul>
  78. <?php
  79. }
  80. /**
  81. * Displays the site's rules for the forum
  82. *
  83. */
  84. public static function display_forum_rules()
  85. {
  86. ?>
  87. <ul>
  88. <li>Let's treat the biology boards like how the Shroomery used to be: each thread a set of resourceful diverse wisdom
  89. worth using permalinks to. It's okay if the boards are slow, that's why there are only a few of them.</li>
  90. <li>Please discuss site news in the corresponding Announcements thread instead of making a new General thread.
  91. Discussing science-related news in General is highly encouraged, but discussing political news is much less so.
  92. But don't self-censor, e.g., you can discuss the political and economic factors of the 2019-nCoV outbreak,
  93. but you can't start a thread about trade deals and hope to steer it toward biology.
  94. Thank you.</li>
  95. <li>No advertising, referrals, affiliate links, cryptocurrency pumps, or calls to action that involve using a
  96. financial instrument. You'll be banned on the spot. The exceptions: discussions about cryptocurrencies that derive
  97. their value from
  98. work performed on distributed science networks, i.e., Curecoin, FoldingCoin, and Gridcoin.</li>
  99. <li>Feel free to post announcements for your own projects, even and especially if they're commercial ones, in the
  100. General board. Limit all discussion of trading biomaterials, including bulk giveaways, to the Marketplace forum
  101. available to Power Users.</li>
  102. <li>Please be modest when talking about your uploads. It's unnecessary to announce your uploads because Gazelle logs
  103. everything (at least this installation's database is encrypted). If someone asks for help on his project and your
  104. upload fits the bill, go write a post!</li>
  105. <li>Use descriptive and specific subject lines. This helps others decide whether your particular words of "wisdom"
  106. relate to a topic they care about.</li>
  107. <li>Don't post comments that don't add anything to the discussion, such as "I agree" or "haha." Bottle the trained
  108. dopamine response to social media because comment reactions are an unlikely feature.</li>
  109. <li>Please refrain from quoting excessively. When quoting someone, use only the necessary parts of the quote. Avoid
  110. quoting more than 3 levels deep.</li>
  111. <li>Don't post potentially malicious links without sufficient warning, or post pictures > 2 MiB. Please only speak
  112. English as stated in the upload rules.</li>
  113. </ul>
  114. <?php
  115. }
  116. /**
  117. * Displays the site's rules for conversing on its IRC network
  118. *
  119. */
  120. public static function display_irc_chat_rules()
  121. {
  122. ?>
  123. <li>BioTorrents.de's Slack channels are just are another quiet hangout you can stack your app with so you look cool at
  124. conferences.</li>
  125. <li>Please use <code>#general</code> for the usual chit-chat, <code>#development</code> for questions about the Gazelle
  126. software, and <code>#support</code> to get help with your account.</li>
  127. <li>Don't send mass alerts with <code>@channel</code>, <code>@everyone</code>, or <code>@here</code>. It's obnoxious and
  128. you should handle anything genuinely important on the boards.</li>
  129. <li>Flooding is irritating and you'll get kicked for it. This includes "now playing" scripts, large amounts of
  130. irrelevant text such as lorem ipsum, and unfunny non sequiturs.</li>
  131. <li>Impersonating other members, particularly staff members, will not go unpunished. Please remember that
  132. the Slack channels are publicly accessible.</li>
  133. <li>Please use the threaded conversations feature in Slack and avoid replying to threads with new messages or
  134. crossposting replies to the main channel.</li>
  135. <li>Announce and bot channels are in development, as standard IRC instead of Slack for obvious reasons. Any IRC bots you
  136. have must authenticate with your own username and IRC key, and set the <code>+B</code> usermode on themselves.</li>
  137. <?php
  138. }
  139. }