-
Notifications
You must be signed in to change notification settings - Fork 13
/
faq.php
338 lines (308 loc) · 15.8 KB
/
faq.php
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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
<?php
require 'lib/function.php';
$windowtitle = "FAQ / Rules -- $boardname";
require 'lib/layout.php';
$topiclist = "";
$faq = "";
$faq .= faqformat("aboot", "About Jul, the community", "
Jul itself is a community made up of people who predominantly like to just hang around friendlies and talk about whatever, though we also like games and occasionally anime/other things.
<br>
<br>It is a community that has gone on for over 10 years, founded early July 2007. It is based off of another (defunct) community that started in early 2001.
<br>
<br>While we're an old group, we always welcome new folks. Feel free to drop in and say hello.
");
$faq .= faqformat("aboot", "About the forum", "
This forum is based off of 2001-era custom software, and is pretty different from most other forums on the internet. <strong>There are no push notifications, no e-mail reminders, no 'we miss you' nags, no popups, no ads, no apps, and no tracking.</strong> What you see is exactly what you get.
<br>
<br>That being said, here is a quote from a <a href='https://www.doomworld.com/cacowards/2018'>different site</a> that explains us well:
<blockquote>I think it is important in this moment to restate that [this site] is an independently owned and operated website; it is intended as a long term, not-for-profit informational and historical resource; we are dedicated to treating all people with respect; it will never be sunsetted or deprecated or paywalled; and we do not vacuum up your personal information, much less profit from it. If you despair for the future of the Internet, consider that [this site], and thousands of small websites just like it, continue to exist and thrive in the spirit of discovery and camaraderie in which the Internet was first conceived.</blockquote>
");
$faq .= faqformat("newbies", "I'm new here. Where should I start?", "
Always, by reading the rules... but since you're here, it's <i>probably</i> a safe bet that you've already done that. (If you haven't, <i>now is a great time.</i>)
<br>
<br>Once you've done that, <a href='register.php'>sign up for an account</a> (or <a href='login.php'>log in</a> if you've already made one). It's simple and very easy to do. After you're registered, you're more than welcome to just <a href='forum.php?id=1'>jump in and say hi</a> by posting in the Introductions thread, or even making your own. We're friendly people and won't bite (usually). Let us know about yourself, how you found us, or whatever's on your mind — or just jump in and start contributing to discussions.
");
$faq .= faqformat("darules", "The Rules", "
Our rules are really <em>really simple</em>:
<ol>
<li><strong>Don't be a jerk.</strong> If you don't have something constructive to say, <em>don't say it!</em>
<li><strong>No slurs, hate speech, or homo-/trans-phobia.</strong> If you can't respect your fellow posters, you aren't welcome here.
<li><strong>Post legibly</strong>. Keep it readable — you don't have to be perfect, but be understandable and don't post like this is an AOL chatroom.
<li><strong>Don't spam.</strong> Posting over and over without adding to a conversation is annoying.
<li><strong>Don't get in fights.</strong> If you're having trouble with another user, contact an administrator.
<li><strong>No illegal content.</strong> Don't post stuff that would get you (or us) in legal trouble.
</ol>
However, <strong>the admins have the final say in everything!</strong> We can ban you for any reason, or no reason at all.
<br>
<br>Breaking the rules will resort in whatever punishment we feel is worthy, from giving you a warning to banning you forever. Posting here is NOT a right.
<br>
<br>If you have any questions, feel free to ask <a href='memberlist.php?pow=3'>one of the admins</a> for help.
");
$faq .= faqformat("layoutlowdown", "What are post layouts?", "
Post layouts are like signatures on other forums, but on steroids. Rather than just some text, an image, and maybe a link, post layouts allow you to style your <em>entire post</em>! You too can turn your wonderful contributions into a GeoCities™-esque abomination.
<br>
<br>You can customize your layout with fun facts about your statistics by using &tags&, outlined below.
<br>
<br>You can enable or disable others' post layouts in your <a href='editprofile.php'>profile settings</a>.
<br>
<br>If you make a post layout that interferes with the board's interface, is particularly annoying, is hard-to-read, or is just awful, it will be removed. If you continue to do this, your ability to use them will be revoked. Malfunctioning layouts (due to broken images or CSS) may also be removed.
");
$faq .= faqformat("tags", "What are &tags&?", "
These are variables that can be used in your post header or signature. Once you post, they'll get replaced with a value depending on the tag used.
<br>
<br>
<table class='table font' cellspacing='0' style='width: auto; margin: 0 auto;'>
<tr>
<td class='tbl tdbgh center'>Tag</td>
<td class='tbl tdbgh center'>Description</td>
</tr>
<tr>
<td class='tbl tdbg2'>/me</td>
<td class='tbl tdbg1'>Your username (must have a space after it), like IRC.</td>
</tr>
<tr>
<td class='tbl tdbg2'>&date&</td>
<td class='tbl tdbg1'>The current date</td>
</tr>
<tr>
<td class='tbl tdbg2'>&numdays&</td>
<td class='tbl tdbg1'>Number of days since you registered</td>
</tr>
<tr>
<td class='tbl tdbg2'>&numposts&</td>
<td class='tbl tdbg1'>How many posts you've made</td>
</tr>
<tr>
<td class='tbl tdbg2'>&rank&</td>
<td class='tbl tdbg1'>Current rank, according to your amount of posts</td>
</tr>
<tr>
<td class='tbl tdbg2'>&postrank&</td>
<td class='tbl tdbg1'>Your 'ranking', by post count, among all members</td>
</tr>
<tr>
<td class='tbl tdbg2'>&5000&</td>
<td class='tbl tdbg1'>Posts left until you have 5,000</td>
</tr>
<tr>
<td class='tbl tdbg2'>&10000&</td>
<td class='tbl tdbg1'>Posts left until you have 10,000</td>
</tr>
<tr>
<td class='tbl tdbg2'>&20000&</td>
<td class='tbl tdbg1'>Posts left until you have 20,000</td>
</tr>
<tr>
<td class='tbl tdbg2'>&30000&</td>
<td class='tbl tdbg1'>Posts left until you have 30,000</td>
</tr>
<tr>
<td class='tbl tdbg2'>&level&</td>
<td class='tbl tdbg1'>Your current level.</td>
</tr>
<tr>
<td class='tbl tdbg2'>&exp&</td>
<td class='tbl tdbg1'>Your current EXP.</td>
</tr>
<tr>
<td class='tbl tdbg2'>&expgain&</td>
<td class='tbl tdbg1'>How much EXP you gain per post.</td>
</tr>
<tr>
<td class='tbl tdbg2'>&expgaintime&</td>
<td class='tbl tdbg1'>How many seconds it takes to get 1 EXP naturally.</td>
</tr>
<tr>
<td class='tbl tdbg2'>&expdone&</td>
<td class='tbl tdbg1'>How much EXP you've done in your current level.</td>
</tr>
<tr>
<td class='tbl tdbg2'>&expdone1k&</td>
<td class='tbl tdbg1'>The above, divided by 1,000.</td>
</tr>
<tr>
<td class='tbl tdbg2'>&expdone10k&</td>
<td class='tbl tdbg1'>The above, divided by 10,000.</td>
</tr>
<tr>
<td class='tbl tdbg2'>&expnext&</td>
<td class='tbl tdbg1'>How much EXP you have left until the next level.</td>
</tr>
<tr>
<td class='tbl tdbg2'>&expnext1k&</td>
<td class='tbl tdbg1'>The above, divided by 1,000.</td>
</tr>
<tr>
<td class='tbl tdbg2'>&expnext10k&</td>
<td class='tbl tdbg1'>The above, divided by 10,000.</td>
</tr>
<tr>
<td class='tbl tdbg2'>&exppct&</td>
<td class='tbl tdbg1'>How much EXP you've done in your current level, in percent.</td>
</tr>
<tr>
<td class='tbl tdbg2'>&exppct2&</td>
<td class='tbl tdbg1'>How much EXP you have left in your current level, in percent.</td>
</tr>
<tr>
<td class='tbl tdbg2'>&lvlexp&</td>
<td class='tbl tdbg1'>Cumulative EXP for your next level.</td>
</tr>
<tr>
<td class='tbl tdbg2'>&lvllen&</td>
<td class='tbl tdbg1'>EXP needed to go through your current level.</td>
</tr>
<tr>
<td class='tbl tdbg2'>&mood&</td>
<td class='tbl tdbg1'>Selected mood number for this post (default: 0)</td>
</tr>
</table>
For an explanation of how the Level and EXP tags work, hover over the highlighted parts below. (The percentages are useful when creating 'EXP bars', as you can use them as a width value.)
<br>
<br>Level <abbr title='&level&'>10</abbr> — <abbr title='&exp&'>1040</abbr> EXP (<abbr title='&expgain&'>20</abbr> per post, 1 EXP per <abbr title='&expgaintime&'>300</abbr> sec.)
<br>(Next level at <abbr title='&lvlexp&'>1200</abbr> in <abbr title='&expnext&'>160</abbr> EXP. (<abbr title='&expdone&'>40</abbr>/<abbr title='&lvllen&'>200</abbr> EXP) — <abbr title='&exppct&'>20</abbr>% done, <abbr title='&exppct2&'>80</abbr>% left
");
$faq .= faqformat("bbcode", "What is BBcode?", doreplace2("
BBcode is a simple syntax which you can use on your posts to format the text or add images and videos. Below is a list of the supported tags:
<br>
<br>
<table class='table font' cellspacing='0' style='width: auto; margin: 0 auto;'>
<tr>
<td class='tbl tdbgh center' style='width: 50%;'>BBcode</th>
<td class='tbl tdbgh center' style='width: 50%;'>Result</th>
</tr>
<tr>
<td class='tbl tdbg2'>[b]Bolded text.[/b]</td>
<td class='tbl tdbg1'>[b]Bolded text.[/b]</td>
</tr>
<tr>
<td class='tbl tdbg2'>[i]Italicized text.[/i]</td>
<td class='tbl tdbg1'>[i]Italicized text.[/i]</td>
</tr>
<tr>
<td class='tbl tdbg2'>[u]Underlined text.[/u]</td>
<td class='tbl tdbg1'>[u]Underlined text.[/u]</td>
</tr>
<tr>
<td class='tbl tdbg2'>[s]Strikethrough text.[/s]</td>
<td class='tbl tdbg1'>[s]Strikethrough text.[/s]</td>
</tr>
<tr>
<td class='tbl tdbg2'>[abbr<!-- -->=Basic Input/Output System]BIOS[/abbr]</td>
<td class='tbl tdbg1'>[abbr=Basic Input/Output System]BIOS[/abbr]</td>
</tr>
<tr>
<td class='tbl tdbg2'>[sp<!-- -->=terrible]Great[/sp] software.</td>
<td class='tbl tdbg1'>[sp=terrible]Great[/sp] software.</td>
</tr>
<tr>
<td class='tbl tdbg2'>[url]http://example.com/[/url]</td>
<td class='tbl tdbg1'>[url]http://example.com/[/url]</td>
</tr>
<tr>
<td class='tbl tdbg2'>[url<!-- -->=http://example.com/]Link text here.[/url]</td>
<td class='tbl tdbg1'>[url=http://example.com/]Link text here.[/url]</td>
</tr>
<tr>
<td class='tbl tdbg2'>[img]https://jul.rustedlogic.net/images/smilies/toot.png[/img]</td>
<td class='tbl tdbg1'>[img]https://jul.rustedlogic.net/images/smilies/toot.png[/img]</td>
</tr>
<tr>
<td class='tbl tdbg2'>[red]Red color.[/color]</td>
<td class='tbl tdbg1'>[red]Red color.[/color]</td>
</tr>
<tr>
<td class='tbl tdbg2'>[green]Green color.[/color]</td>
<td class='tbl tdbg1'>[green]Green color.[/color]</td>
</tr>
<tr>
<td class='tbl tdbg2'>[blue]Blue color.[/color]</td>
<td class='tbl tdbg1'>[blue]Blue color.[/color]</td>
</tr>
<tr>
<td class='tbl tdbg2'>[orange]Orange color.[/color]</td>
<td class='tbl tdbg1'>[orange]Orange color.[/color]</td>
</tr>
<tr>
<td class='tbl tdbg2'>[yellow]Yellow color.[/color]</td>
<td class='tbl tdbg1'>[yellow]Yellow color.[/color]</td>
</tr>
<tr>
<td class='tbl tdbg2'>[pink]Pink color.[/color]</td>
<td class='tbl tdbg1'>[pink]Pink color.[/color]</td>
</tr>
<tr>
<td class='tbl tdbg2'>[white]White color.[/color]</td>
<td class='tbl tdbg1'>[white]White color.[/color]</td>
</tr>
<tr>
<td class='tbl tdbg2'>[black]Black color.[/color] (bad idea)</td>
<td class='tbl tdbg1'>[black]Black color.[/color]</td>
</tr>
<tr>
<td class='tbl tdbg2'>[quote<!-- -->=user]Quoted text.[/quote]</td>
<td class='tbl tdbg1'>[quote=user]Quoted text.[/quote]</td>
</tr>
<tr>
<td class='tbl tdbg2'>[code]Sample <b>code</b>.[/code]</td>
<td class='tbl tdbg1'>[code]Sample <b>code</b>.[/code]</td>
</tr>
<tr>
<td class='tbl tdbg2'>[spoiler]Spoiler text.[/spoiler]</td>
<td class='tbl tdbg1'>[spoiler]Spoiler text.[/spoiler]</td>
</tr>
<tr>
<td class='tbl tdbg2'>[spoileri]Spoiler text.[/spoileri]</td>
<td class='tbl tdbg1'>[spoileri]Spoiler text.[/spoileri]</td>
</tr>
<tr>
<td class='tbl tdbg2'>[youtube]BrQn-O_zFRc[/youtube] (video ID)</td>
<td class='tbl tdbg1'>A YouTube embed.</td>
</tr>
</table>
"));
$faq .= faqformat("halp", "I've got a question and I need some help, or I found a bug somewhere.", "
<a href='forum.php?id=39'>Post it in the forum here</a>, or alternatively just message the <a href='sendprivate.php?userid=1'>main administrator</a>. If it's a security bug in the code, we <i>really</i> recommend the latter.
");
$faq .= faqformat("band", "I've been banned. Now what?", "
You can try checking your title (under your username in your posts) to find out the reason and when it expires. If there's no expiration, it's probably <i>permanent</i>. If you're post due for unbanning, <a href='sendprivate.php?userid=1'>let an admin know</a> and they'll take care of it.
<br>
<br>On the other hand, if it's permanent, you can always try to show us you've changed and request a <i>second chance</i>... but any further antics after that will usually get your account <b>deleted</b>.
");
$faq .= faqformat("cantpass", "I've lost/forgotten my password.", "
The best thing you can do is to <a href='profile.php?id=1'>contact Xkeeper directly</a>. They can help you get it reset. You'll need whatever information you have about your account, including your current IP address, the e-mail you added to your profile (if any), and any other information that can help confirm your identity.
");
$faq .= faqformat("leganese", "Legal Crap / Privacy Policy / et cetera", "
The site does not own, and cannot be held responsible for, statements made by members on the forum. This site is offered as-is to the user. Any statements made on the board may be altered or removed at the discretion of the staff.
<br>
<br>We do not automatically collect or store personal information, with the exception of IP addresses used when registering, logging in, and posting. Unlike pretty much every other site on the internet, we do not use cookies with the sole exception of authenticating a user should they wish to sign in. That means we don't have to show you a cookie popup. Nice, huh? Pretty rare these days.
<br>
<br>All information on this site, excepting username, password, and IP address, is optional, and is provided by the user. If you do not want your information on this site, <em>don't submit it</em>.
");
print "$header<br>
$tblstart
<tr>$tccellh>FAQ and Rules</td></tr>
<tr>$tccell1l><b>Table of Contents</b>:
<ul>
$topiclist
</ul></td></tr>
$tblend
$faq
";
print "
<br><br>
$footer
";
printtimedif($startingtime);
function faqformat($a, $title, $content) {
global $tblstart, $tccellh, $tccell1l, $tblend, $topiclist;
$topiclist .= "\n\t\t<li><a href='#$a'>$title</a></li>";
return "<br><br><a name='$a'></a>
$tblstart
<tr>$tccellh><div style='float: right;'>[<a href='#top'>^</a>]</div><b>$title</b></td></tr>
<tr>$tccell1l style='padding: 4px;'>$content
</td></tr>
$tblend
";
}
?>