diff options
Diffstat (limited to 'doc')
-rw-r--r-- | doc/guide.html | 12 | ||||
-rw-r--r-- | doc/guide.tex | 8 |
2 files changed, 17 insertions, 3 deletions
diff --git a/doc/guide.html b/doc/guide.html index 11d3981d7..ff27013ce 100644 --- a/doc/guide.html +++ b/doc/guide.html @@ -2933,7 +2933,14 @@ Options: be served, you can use this option. If absent, only the main <TT>ejabberd</TT> host is served. <DT CLASS="dt-description"><B><TT>access_createnode</TT></B><DD CLASS="dd-description"> This option restricts which users are allowed to create pubsub nodes using - ACL and ACCESS. The default value is <TT>pubsub_createnode</TT>. </DL> + ACL and ACCESS. The default value is <TT>pubsub_createnode</TT>. + +<DT CLASS="dt-description"><B><TT>plugins</TT></B><DD CLASS="dd-description"> To specify which pubsub node plugins to use. + If not defined, the default plugin is always used. + +<DT CLASS="dt-description"><B><TT>nodetree</TT></B><DD CLASS="dd-description"> To specify which nodetree plugin to use. + If not defined, the default pubsub nodetree used. Nodetrees are default and virtual. Only one nodetree can be used + and is shared by all node plugins. </DL> Example: <PRE CLASS="verbatim"> {modules, @@ -2941,7 +2948,8 @@ Example: ... {mod_pubsub, [{served_hosts, ["example.com", "example.org"]}, - {access_createnode, pubsub_createnode}]} + {access_createnode, pubsub_createnode}, + {plugins, ["default","pep"]}]} ... ]}. </PRE> diff --git a/doc/guide.tex b/doc/guide.tex index 8890d7069..c24326a78 100644 --- a/doc/guide.tex +++ b/doc/guide.tex @@ -2653,6 +2653,11 @@ Options: \titem{access\_createnode} \ind{options!access\_createnode} This option restricts which users are allowed to create pubsub nodes using ACL and ACCESS. The default value is \term{pubsub\_createnode}. % Not clear enough + do not use abbreviations. +\titem{plugins} To specify which pubsub node plugins to use. If not defined, the default + pubsub plugin is always used. +\titem{nodetree} To specify which nodetree to use. If not defined, the default pubsub + nodetree is used. Nodetrees are default and virtual. Only one nodetree can be used + and is shared by all node plugins. \end{description} Example: @@ -2662,7 +2667,8 @@ Example: ... {mod_pubsub, [{served_hosts, ["example.com", "example.org"]}, - {access_createnode, pubsub_createnode}]} + {access_createnode, pubsub_createnode}, + {plugins, ["default","pep"]}]} ... ]}. \end{verbatim} |