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.

chat.php 5.1KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178
  1. <?php
  2. # Formerly Rules::display_forum_rules()
  3. # and Rules::display_irc_chat_rules()
  4. $ENV = ENV::go();
  5. View::show_header('Chat Rules');
  6. /**
  7. * Designated debug area
  8. */
  9. /*
  10. echo '<pre>';
  11. /*
  12. # https://github.com/J7mbo/twitter-api-php
  13. require_once('TwitterAPIExchange.php');
  14. $settings = array(
  15. 'oauth_access_token' => "YOUR_OAUTH_ACCESS_TOKEN",
  16. 'oauth_access_token_secret' => "YOUR_OAUTH_ACCESS_TOKEN_SECRET",
  17. 'consumer_key' => "YOUR_CONSUMER_KEY",
  18. 'consumer_secret' => "YOUR_CONSUMER_SECRET"
  19. );
  20. $url = 'https://api.twitter.com/1.1/blocks/create.json';
  21. $requestMethod = 'POST';
  22. $postfields = array(
  23. 'screen_name' => 'usernameToBlock',
  24. 'skip_status' => '1'
  25. );
  26. $twitter = new TwitterAPIExchange($settings);
  27. echo $twitter->buildOauth($url, $requestMethod)
  28. ->setPostfields($postfields)
  29. ->performRequest();
  30. * /
  31. #var_dump();
  32. #var_dump();
  33. #var_dump();
  34. echo '</pre>';
  35. */
  36. ?>
  37. <div class="box pad">
  38. <p>
  39. Anything not allowed on the forums is also not allowed on IRC and vice versa.
  40. They are separated for convenience only.
  41. </p>
  42. </div>
  43. <h2>
  44. Forum rules
  45. </h2>
  46. <div class="box pad rule_summary">
  47. <ul>
  48. <li>
  49. Let's treat the biology boards like how the Shroomery used to be:
  50. each thread a set of resourceful wisdom worth using permalinks to.
  51. It's okay if the boards are slow, that's why there are only a few of them.
  52. </li>
  53. <li>
  54. Please discuss site news in the corresponding Announcements thread instead of making a new General thread.
  55. Discussing science-related news in General is highly encouraged, but discussing political news is much less
  56. so.
  57. But don't self-censor, e.g., you can discuss the political and economic factors of the 2019-nCoV outbreak,
  58. but you can't start a thread about trade deals and hope to steer it toward biology.
  59. Thank you.
  60. </li>
  61. <li>
  62. No advertising, referrals, affiliate links, cryptocurrency pumps, or calls to action that involve using a
  63. financial
  64. instrument.
  65. You'll be banned on the spot.
  66. The exceptions: discussions about cryptocurrencies that derive their value from work performed on distributed
  67. science networks, i.e., Curecoin, FoldingCoin, and Gridcoin.
  68. </li>
  69. <li>
  70. Feel free to post announcements for your own projects, even and especially if they're commercial ones, in the
  71. General board.
  72. Limit all discussion of trading biomaterials, including bulk giveaways, to the Marketplace forum available to
  73. Power
  74. Users.
  75. </li>
  76. <li>
  77. Please be modest when talking about your uploads.
  78. It's unnecessary to announce your uploads because Gazelle logs everything
  79. (at least this installation's database is encrypted).
  80. If someone asks for help on his project and your upload fits the bill, go write a post!
  81. </li>
  82. <li>
  83. Use descriptive and specific subject lines.
  84. This helps others decide whether your particular words of "wisdom" relate to a topic they care about.
  85. </li>
  86. <li>
  87. Don't post comments that don't add anything to the discussion, such as "I agree" or "haha."
  88. Bottle the trained dopamine response to social media because comment reactions are an unlikely feature.
  89. </li>
  90. <li>
  91. Please refrain from quoting excessively.
  92. When quoting someone, use only the necessary parts of the quote.
  93. Avoid quoting more than 3 levels deep.
  94. </li>
  95. <li>
  96. Don't post potentially malicious links without sufficient warning, or post pictures > 2 MiB.
  97. Please only speak English as stated in the upload rules.
  98. </li>
  99. </ul>
  100. </div>
  101. <h2>
  102. IRC rules
  103. </h2>
  104. <div class="box pad rule_summary">
  105. <ul>
  106. <li>
  107. <?= $ENV->SITE_NAME ?>'s Slack channels are just are
  108. another quiet hangout you can stack your app with so you look cool at conferences.
  109. </li>
  110. <li>
  111. Please use
  112. <code>#general</code> for the usual chit-chat,
  113. <code>#development</code> for questions about the Gazelle software, and
  114. <code>#support</code> to get help with your account.
  115. </li>
  116. <li>
  117. Don't send mass alerts with
  118. <code>@channel</code>,
  119. <code>@everyone</code>, or
  120. <code>@here</code>.
  121. It's obnoxious and you should handle anything genuinely important on the boards.
  122. </li>
  123. <li>
  124. Flooding is irritating and you'll get kicked for it.
  125. This includes "now playing" scripts, large amounts of irrelevant text such as lorem ipsum, and unfunny non
  126. sequiturs.
  127. </li>
  128. <li>
  129. Impersonating other members, particularly staff members, will not go unpunished.
  130. Please remember that the Slack channels are publicly accessible.
  131. </li>
  132. <li>
  133. Please use the threaded conversations feature in Slack and avoid replying to threads with new messages or
  134. crossposting
  135. replies to the main channel.
  136. </li>
  137. <li>
  138. Announce and bot channels are in development, as standard IRC instead of Slack for obvious reasons.
  139. Any IRC bots you have must authenticate with your own username and IRC key, and set the <code>+B</code>
  140. usermode on
  141. themselves.
  142. </li>
  143. </ul>
  144. </div>
  145. <?php include('jump.php'); ?>
  146. </div>
  147. <?php View::show_footer();