2007-08-31 Mickael Remond <mremond@process-one.net>
+ * doc/guide.tex: Documentation for mod_muc option for server-wide
+ limitation of the maximum number of users per room (EJAB-344).
+
+ * doc/guide.tex: Documentation for mod_muc option to allow admin
+ to enter room even if the maximum number of users
+ reached (EJAB-345).
+
* src/web/ejabberd_web_admin.erl: Make the web interface pages
"translatable" (Thanks to Badlop) (EJAB-11).
</DD></DL><!--TOC subsubsection Limiting Opened Sessions with ACL-->
<H4 CLASS="subsubsection"><!--SEC ANCHOR -->Limiting Opened Sessions with ACL</H4><!--SEC END --><P>
<A NAME="configmaxsessions"></A>
-</P><P>The special access <TT>max_user_sessions</TT> specifies the maximum number of sessions (authenticated
+</P><P>The special access <TT>max_users</TT> specifies the maximum number of sessions (authenticated
connections) per user. If a user tries to open more sessions by using different
resources, the first opened session will be disconnected. The error
<TT>session replaced</TT> will be sent to the disconnected session. The value
joining the room. The value is an integer. Setting the value to <TT>0</TT>
disables the history feature and, as a result, nothing is kept in memory. The
default value is <TT>20</TT>. This value is global and thus affects all rooms on
-the server.
-</DD><DT CLASS="dt-description"><B><TT>min_message_interval</TT></B></DT><DD CLASS="dd-description">
+the server.</DD><DT CLASS="dt-description"><B><TT>max_users</TT></B></DT><DD CLASS="dd-description"> This option defines at
+the server level, the maximum number of users allowed per MUC
+room. It can be lowered in each room configuration but cannot be
+increased in individual MUC room configuration. The default value is
+200.</DD><DT CLASS="dt-description"><B><TT>max_users_admin_threshold</TT></B></DT><DD CLASS="dd-description">
+ This option defines the
+number of MUC admins or owners to allow to enter the room even if
+the maximum number of allowed users is reached. The default limits
+is 5. In most cases this default value is the best setting.</DD><DT CLASS="dt-description"><B><TT>min_message_interval</TT></B></DT><DD CLASS="dd-description">
This option defines the minimum interval between two messages send by
a user in seconds. This option is global and valid for all chat
rooms. A decimal value can be used. When this option is not defined,
\label{configmaxsessions}
\ind{options!max\_user\_sessions}
-The special access \term{max\_user\_sessions} specifies the maximum number of sessions (authenticated
+The special access \term{max\_users} specifies the maximum number of sessions (authenticated
connections) per user. If a user tries to open more sessions by using different
resources, the first opened session will be disconnected. The error
\term{session replaced} will be sent to the disconnected session. The value
disables the history feature and, as a result, nothing is kept in memory. The
default value is \term{20}. This value is global and thus affects all rooms on
the server.
+
+ \titem{max\_users} \ind{options!max\_users} This option defines at
+ the server level, the maximum number of users allowed per MUC
+ room. It can be lowered in each room configuration but cannot be
+ increased in individual MUC room configuration. The default value is
+ 200.
+
+ \titem{max\_users\_admin\_threshold}
+ \ind{options!max\_users\_admin\_threshold} This option defines the
+ number of MUC admins or owners to allow to enter the room even if
+ the maximum number of allowed users is reached. The default limits
+ is 5. In most cases this default value is the best setting.
+
\titem{min\_message\_interval} \ind{options!min\_message\_interval}
This option defines the minimum interval between two messages send by
a user in seconds. This option is global and valid for all chat