annotate mod_motd_sequential.wiki @ 492:800a801a5f71

add page
author Kim Alvefur <zash@zash.se>
date Tue, 18 Nov 2014 14:03:24 +0100
parents 85a5df9cc05f
children fa33da93a246
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
453
85a5df9cc05f mod_motd_sequential: add page
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1 #summary Sequential MOTD messages
85a5df9cc05f mod_motd_sequential: add page
Kim Alvefur <zash@zash.se>
parents:
diff changeset
2 #labels Stage-Beta
85a5df9cc05f mod_motd_sequential: add page
Kim Alvefur <zash@zash.se>
parents:
diff changeset
3
85a5df9cc05f mod_motd_sequential: add page
Kim Alvefur <zash@zash.se>
parents:
diff changeset
4 = Introduction =
85a5df9cc05f mod_motd_sequential: add page
Kim Alvefur <zash@zash.se>
parents:
diff changeset
5
85a5df9cc05f mod_motd_sequential: add page
Kim Alvefur <zash@zash.se>
parents:
diff changeset
6 mod_motd_sequential is a variant of
85a5df9cc05f mod_motd_sequential: add page
Kim Alvefur <zash@zash.se>
parents:
diff changeset
7 [https://prosody.im/doc/modules/mod_motd mod_motd] that lets you specify
85a5df9cc05f mod_motd_sequential: add page
Kim Alvefur <zash@zash.se>
parents:
diff changeset
8 a sequence of MOTD messages instead of a single static one. Each message
85a5df9cc05f mod_motd_sequential: add page
Kim Alvefur <zash@zash.se>
parents:
diff changeset
9 is only sent once and the module keeps track of who as seen which message.
85a5df9cc05f mod_motd_sequential: add page
Kim Alvefur <zash@zash.se>
parents:
diff changeset
10
85a5df9cc05f mod_motd_sequential: add page
Kim Alvefur <zash@zash.se>
parents:
diff changeset
11 = Configuration =
85a5df9cc05f mod_motd_sequential: add page
Kim Alvefur <zash@zash.se>
parents:
diff changeset
12
85a5df9cc05f mod_motd_sequential: add page
Kim Alvefur <zash@zash.se>
parents:
diff changeset
13 {{{
85a5df9cc05f mod_motd_sequential: add page
Kim Alvefur <zash@zash.se>
parents:
diff changeset
14
85a5df9cc05f mod_motd_sequential: add page
Kim Alvefur <zash@zash.se>
parents:
diff changeset
15 modules_enabled = {
85a5df9cc05f mod_motd_sequential: add page
Kim Alvefur <zash@zash.se>
parents:
diff changeset
16 -- other modules
85a5df9cc05f mod_motd_sequential: add page
Kim Alvefur <zash@zash.se>
parents:
diff changeset
17 "motd_sequential";
85a5df9cc05f mod_motd_sequential: add page
Kim Alvefur <zash@zash.se>
parents:
diff changeset
18 }
85a5df9cc05f mod_motd_sequential: add page
Kim Alvefur <zash@zash.se>
parents:
diff changeset
19 motd_sequential_messages = {
85a5df9cc05f mod_motd_sequential: add page
Kim Alvefur <zash@zash.se>
parents:
diff changeset
20 "Hello and welcome to our service!", -- First login
85a5df9cc05f mod_motd_sequential: add page
Kim Alvefur <zash@zash.se>
parents:
diff changeset
21 "Lorem ipsum dolor sit amet", -- Second time they login
85a5df9cc05f mod_motd_sequential: add page
Kim Alvefur <zash@zash.se>
parents:
diff changeset
22 -- Add more messages here.
85a5df9cc05f mod_motd_sequential: add page
Kim Alvefur <zash@zash.se>
parents:
diff changeset
23 }
85a5df9cc05f mod_motd_sequential: add page
Kim Alvefur <zash@zash.se>
parents:
diff changeset
24
85a5df9cc05f mod_motd_sequential: add page
Kim Alvefur <zash@zash.se>
parents:
diff changeset
25 }}}
85a5df9cc05f mod_motd_sequential: add page
Kim Alvefur <zash@zash.se>
parents:
diff changeset
26