Mercurial > prosody-wiki
comparison mod_muc_log_http.wiki @ 411:8b4e2a05f450
update mod_muc_log_http for 0.9+
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Thu, 16 Jan 2014 23:56:52 +0100 |
parents | 646476e373af |
children | 4573bb828a4d |
comparison
equal
deleted
inserted
replaced
410:f026d862725b | 411:8b4e2a05f450 |
---|---|
12 = Configuration Details = | 12 = Configuration Details = |
13 | 13 |
14 You need to add muc_log_http to your global modules_enabled, and the configuration options similarly must be put into your global (server-wide) options section: | 14 You need to add muc_log_http to your global modules_enabled, and the configuration options similarly must be put into your global (server-wide) options section: |
15 | 15 |
16 {{{ | 16 {{{ |
17 modules_enabled = { | 17 modules_enabled = { |
18 ..... | 18 ..... |
19 "muc_log_http"; | 19 "muc_log_http"; |
20 ..... | 20 ..... |
21 } | 21 } |
22 | 22 |
23 muc_log_http = { | 23 muc_log_http = { -- These are the defaults |
24 http_port = 5290; -- default is 5290 | 24 show_join = true; |
25 showJoin = false; -- default is true | 25 show_presences = true; |
26 showStatus = false; -- default is true | 26 show_status = true; |
27 theme = "prosody"; -- default is theme "prosody" | 27 theme = "prosody"; |
28 } | 28 url_base = "muc_log"; |
29 } | |
29 }}} | 30 }}} |
30 | 31 |
31 *showJoin* sets the default for showing joins or leaves. | 32 *show_join* sets the default for showing joins or leaves. |
32 *showStatus* sets the default for showing status changes. | 33 *show_status* sets the default for showing status changes. |
33 | 34 |
34 The web interface would then be reachable at the address: | 35 The web interface would then be reachable at the address: |
35 {{{ | 36 {{{ |
36 http://example.com:5290/muc_log/ | 37 http://example.com:5280/muc_log/ |
37 }}} | 38 }}} |
38 | 39 |
39 | 40 |
40 = TODO = | 41 = TODO = |
41 * Log bans correctly | 42 * Log bans correctly |