forked from SteamLUG/steamlug.org
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathirc.php
More file actions
66 lines (64 loc) · 2.96 KB
/
irc.php
File metadata and controls
66 lines (64 loc) · 2.96 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
<?php
$pageTitle = "Chat";
include_once('includes/header.php');
$preferredNick = "";
if ( isset( $_SESSION['n'] ) ) {
$preferredNick = preg_replace('/[^\w{}\[\]\\`_\^\|]+/', '', $_SESSION['n'] );
}
?>
<h1 class="text-center">Chat</h1>
<div class="row">
<div class="col-md-5">
<article class="panel panel-default">
<header class="panel-heading">
<h3 class="panel-title">Chat with the SteamLUG Community</h3>
</header>
<div class="panel-body">
<p>This page contains a webchat widget that you can use to connect to our IRC channel. Simply enter a nickname, fill out the captcha and click connect. If you plan to join us regularly, we recommend using a dedicated IRC client such as <a href="http://www.irssi.org/">irssi</a>, <a href="http://www.weechat.org/">weechat</a> or <a href="http://xchat.org/">X-Chat</a>.</p>
<p>If you are new to our community, please take the time to read our short <a href="#coc">Code of Conduct</a> :)</p>
<dl class="dl-horizontal">
<dt>IRC Server</dt><dd>irc.freenode.net</dd>
<dt>Channel Name</dt><dd>#steamlug</dd>
<dt>Clickable Link</dt><dd><a href="irc://irc.freenode.net/steamlug">irc://irc.freenode.net/steamlug</a></dd>
</dl>
</div>
</article>
</div>
<div class="col-md-7">
<article class="panel panel-info" id="coc">
<header class="panel-heading">
<h3 class="panel-title">Community Code of Conduct</h3>
</header>
<div class="panel-body">
<p>The only rules are:</p>
<ul>
<li>try to think before you speak (<em>it's not that hard ^_^ </em>).</li>
<li>be patient with and civil towards others (<em>if you're getting cranky, take a break</em>)</li>
<li>don't distribute inappropriate content (<em>porn, warez, etc.</em>).</li>
<li>keep your language in check (<em>we have kids around</em>)</li>
</ul>
<p>Wantonly ignoring these guidelines may get you kicked or banned.</p>
<p>If you need assistance or want to report something, one or more of the following channel operators should be nearby:</p>
<ul>
<li><a href="http://steamcommunity.com/id/cheeseness">Cheeseness</a></li>
<li><a href="http://steamcommunity.com/id/flibitijibibo">flibitijibibo</a></li>
<li><a href="http://steamcommunity.com/id/johndrinkwater">johndrinkwater</a></li>
<li><a href="http://steamcommunity.com/id/meklu">meklu</a></li>
<li><a href="http://steamcommunity.com/id/xpander69">xpander</a></li>
</ul>
<p>Channel operators found to be abusing their status will have their op rights suspended.</p>
</div>
</article>
</div>
</div>
<article class="panel panel-default">
<header class="panel-heading">
<h3 class="panel-title">Webclient</h3>
</header>
<div class="panel-body irc">
<iframe src="https://webchat.freenode.net?channels=steamlug&nick=<?=rawurlencode(htmlspecialchars($preferredNick))?>" width="400" height="300">
<p>Your browser does not support iframes.</p>
</iframe>
</div>
</article>
<?php include_once('includes/footer.php');