6 |
kaklik |
1 |
<?php
|
|
|
2 |
#Database Options...
|
|
|
3 |
|
|
|
4 |
$dbHost ="localhost";
|
|
|
5 |
#Your db host
|
|
|
6 |
|
|
|
7 |
$dbUser = "chaosdell";
|
|
|
8 |
#username
|
|
|
9 |
|
|
|
10 |
$dbPass ="sesvul";
|
|
|
11 |
#Pass
|
|
|
12 |
|
|
|
13 |
$dbname ="shoutit";
|
|
|
14 |
#Name of the database.
|
|
|
15 |
|
|
|
16 |
#User Options...
|
|
|
17 |
|
|
|
18 |
$ShoutWait = 30;
|
|
|
19 |
#Seconds between posts. Flood Control. Turn to 0 seconds to turn off.
|
|
|
20 |
|
|
|
21 |
$smilies = 1;
|
|
|
22 |
#smiley support 1=yes
|
|
|
23 |
|
|
|
24 |
$colors = 1;
|
|
|
25 |
#color support 1=yes
|
|
|
26 |
|
|
|
27 |
$swear = 1;
|
|
|
28 |
#swear filter 1=yes
|
|
|
29 |
|
|
|
30 |
$SelfDelete = 1;
|
|
|
31 |
#if 1 allows people to delete their own entries while they are in the normal mode
|
|
|
32 |
|
|
|
33 |
$directory = "smilies/";
|
|
|
34 |
#Smiley folder, if you used my zip to unzip you don't have to worry about this
|
|
|
35 |
|
|
|
36 |
|
|
|
37 |
#Display Options
|
|
|
38 |
|
|
|
39 |
$IFRAME = 0; #Setting to 1 will turn on IFrame Mode
|
|
|
40 |
|
|
|
41 |
$WordWrap = 0;
|
|
|
42 |
#If 0 no wordwrap is used, this helps with keeping people from writing long strings
|
|
|
43 |
#The long strings would really mess up the page...
|
|
|
44 |
#Set it to how many characters max you want to display per line...
|
|
|
45 |
#I suggest guess and checking until you get it right. Just make a really long line.
|
|
|
46 |
|
|
|
47 |
$Alternate = 1;
|
|
|
48 |
#if 1 varies the CSS behind each piece of entry.
|
|
|
49 |
|
|
|
50 |
$NameCutOff = 14;
|
|
|
51 |
#how many characters before name is cut off?
|
|
|
52 |
|
|
|
53 |
$MessageCutOff = 250;
|
|
|
54 |
#Characters max determines how many characters a user can type...
|
|
|
55 |
|
|
|
56 |
$ShowNormal = 4;
|
|
|
57 |
#how many entries do you want to show on your main page
|
|
|
58 |
|
|
|
59 |
$ShowArchived = 20;
|
|
|
60 |
#how many archived entries do you want to show
|
|
|
61 |
|
|
|
62 |
$MaxRows = 40;
|
|
|
63 |
#Delete after this many rows. This helps keep the database from being cluttered.
|
|
|
64 |
|
|
|
65 |
#End Options
|
|
|
66 |
?>
|