Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 73 lines (66 sloc) 3.35 kb
1124eb88 » tommyrot
2011-05-17 update and simplify sss.conf
1 #
2 # This file contains all of sss' settings along with their defaults.
3 # All values must be placed between double quotes, even empty ones.
4 #
c71d4639 »
2012-09-14 5.0
5 ################################# REQUIRED ###################################
1124eb88 » tommyrot
2011-05-17 update and simplify sss.conf
6
7 channel = "" # Name of the IRC channel.
8 timezone = "UTC" # Timezone the logs are in. Used for time offset
9 # calculations and conversions.
10 # See http://php.net/manual/en/timezones.php
11 db_host = "127.0.0.1" # IP address or FQDN of the MySQL server.
12 db_port = "3306" # Port the MySQL server is listening on.
13 db_user = "" # MySQL user.
14 db_pass = "" # MySQL password.
15 db_name = "sss" # Name of the MySQL database used for sss.
16 parser = "" # The parser to use depending on logfile format.
17 # e.g. "parser_irssi" or "parser_eggdrop"
eebd152b » tommyrot
2009-12-31 introduce new config file sss.conf, wiki update to come
18
079a0e59 » tommyrot
2011-05-15 final minor tweaks to the html classes; configs and documentation not…
19 # This string contains the format of the date within a logfile filename.
0ad36a90 » tommyrot
2011-02-25 new config file with explanation of settings included
20 # Examples:
21 # filename: #chatroom.20030131 dateformat: *.Ymd
22 # filename: #chatroom.20030131 dateformat: \#c\h\atroo\m.Ymd
c67ee3e7 » tommyrot
2011-04-20 add examples in sss.conf; have logfile_dateformat default to nothing
23 # filename: chatroom.log-31012003 dateformat: *.*-dmY
24 # filename: chatroom.log-31012003.gz dateformat: *.*-dmY.\g\z
25 # filename: chatroom.log-31012003.gz dateformat: *.*-dmY.*
079a0e59 » tommyrot
2011-05-15 final minor tweaks to the html classes; configs and documentation not…
26 # See http://php.net/date_create_from_format for more specific syntax options.
c67ee3e7 » tommyrot
2011-04-20 add examples in sss.conf; have logfile_dateformat default to nothing
27 logfile_dateformat = ""
0ad36a90 » tommyrot
2011-02-25 new config file with explanation of settings included
28
c71d4639 »
2012-09-14 5.0
29 ################################# OPTIONAL ###################################
1124eb88 » tommyrot
2011-05-17 update and simplify sss.conf
30
31 cid = "" # Channel ID. Used to identify and load channel settings
32 # from vars.php. When empty it defaults to channel.
33 addhtml_head = "" # HTML file to include at the top of the statspage.
34 addhtml_foot = "" # HTML file to include at the bottom of the statspage.
35 bar_night = "b.png" # Color image used for night lines in graphs.
36 bar_morning = "g.png" # Color image used for morning lines in graphs.
37 bar_afternoon = "y.png" # Color image used for afternoon lines in graphs.
38 bar_evening = "r.png" # Color image used for evening lines in graphs.
39 stylesheet = "sss.css" # Filename of the CSS file used.
40 history = "false" # Create links on the main statspage to history.php.
41 userstats = "false" # Create links on the main statspage to user.php.
42 nick_minlen = "1" # Minimum length of a nick for it to validate.
c71d4639 »
2012-09-14 5.0
43 nick_maxlen = "32" # Maximum length of a nick for it to validate.
1124eb88 » tommyrot
2011-05-17 update and simplify sss.conf
44 autolinknicks = "true" # Automatically link nicks which are likely to belong
e6fb1c2a » tommyrot
2011-07-27 update in-file manuals and references
45 # to the same user.
1124eb88 » tommyrot
2011-05-17 update and simplify sss.conf
46 wordtracking = "true" # Keep track of how many times each word is used.
47 # Increases parse times in exchange for more stats.
48
49 # Add up the bits (numbers) of the message types you want to display.
50 # 1 Critical events
51 # 2 Warnings
52 # 4 Notices
53 # 8 Debug messages
54 outputbits = "7" # 7 means: Critical + Warnings + Notices
55
56 # Add up the bits (numbers) of the sections you want to show on the statspage.
0ad36a90 » tommyrot
2011-02-25 new config file with explanation of settings included
57 # 1 Activity
58 # 2 General Chat
59 # 4 Modes
60 # 8 Events
61 # 16 Smileys
62 # 32 URLs
63 # 64 Words
1124eb88 » tommyrot
2011-05-17 update and simplify sss.conf
64 sectionbits = "127" # 127 means: all of the above
65
66 # Settings to control how many rows will be displayed for various tables.
67 minrows = "3" # Applies to all small tables of 5 rows.
68 maxrows_people_alltime = "30" # Most Talkative People - Alltime
1070613d » tommyrot
2011-05-21 take the math out of maxrows_people2 variable and let the function do…
69 maxrows_people2 = "10" # Less Talkative People - Alltime
1124eb88 » tommyrot
2011-05-17 update and simplify sss.conf
70 maxrows_people_year = "10" # Most Talkative People - Year
71 maxrows_people_month = "10" # Most Talkative People - Month
72 maxrows_people_timeofday = "10" # Most Talkative People by Time of Day
73 maxrows_recenturls = "25" # Most Recent URLs
Something went wrong with that request. Please try again.