changeset 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 f026d862725b
children 4573bb828a4d
files mod_muc_log_http.wiki
diffstat 1 files changed, 16 insertions(+), 15 deletions(-) [+]
line wrap: on
line diff
--- a/mod_muc_log_http.wiki	Fri Jan 03 10:48:13 2014 +0000
+++ b/mod_muc_log_http.wiki	Thu Jan 16 23:56:52 2014 +0100
@@ -14,26 +14,27 @@
 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:
 
 {{{
-   modules_enabled = {
-       .....
-       "muc_log_http";
-       .....
-   }
+	modules_enabled = {
+		.....
+			"muc_log_http";
+		.....
+	}
 
-   muc_log_http = {
-       http_port = 5290; -- default is 5290
-       showJoin = false; -- default is true
-       showStatus = false; -- default is true
-       theme = "prosody"; -- default is theme "prosody"
-   }
+	muc_log_http = { -- These are the defaults
+		show_join = true;
+		show_presences = true;
+		show_status = true;
+		theme = "prosody";
+		url_base = "muc_log";
+	}
 }}}
 
-*showJoin* sets the default for showing joins or leaves.
-*showStatus* sets the default for showing status changes.
+*show_join* sets the default for showing joins or leaves.
+*show_status* sets the default for showing status changes.
 
 The web interface would then be reachable at the address:
 {{{
-http://example.com:5290/muc_log/
+http://example.com:5280/muc_log/
 }}}
 
 
@@ -41,4 +42,4 @@
   * Log bans correctly
   * Let the admin choose to enable logging via room config
   * Quota ~ per day ?!
-  * Testing testing :)
\ No newline at end of file
+  * Testing testing :)