mail[Wesnoth-commits] r33850 - /trunk/doc/man/wesnothd.6


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by thomas . baumhauer on March 19, 2009 - 15:09:
Author: baufo
Date: Thu Mar 19 15:09:00 2009
New Revision: 33850

URL: http://svn.gna.org/viewcvs/wesnoth?rev=33850&view=rev
Log:
update for the wesnothd man page: added information about the user handler 
stuff

Modified:
    trunk/doc/man/wesnothd.6

Modified: trunk/doc/man/wesnothd.6
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/doc/man/wesnothd.6?rev=33850&r1=33849&r2=33850&view=diff
==============================================================================
--- trunk/doc/man/wesnothd.6 (original)
+++ trunk/doc/man/wesnothd.6 Thu Mar 19 15:09:00 2009
@@ -146,6 +146,11 @@
 (defaults to the corresponding wesnoth version)
 .br
 Example: \fBversions_accepted="*"\fR accepts any version string.
+.TP 
+.B user_handler
+The name of the user handler to use. Currently available user handlers are 
'forum' (to connect wesnothd to a phpbb forum database) and 'sample' (a 
sample implementation of the user handler interface, if you use this on 
anything real you are insane). The default value is 'forum'. You must also 
add a
+.B [user_handler]
+section, see below.
 .
 .SS "Global tags:"
 .
@@ -184,11 +189,60 @@
 A tag to tell the server to act as a proxy and forward the connected 
client's requests to the specified server.
 Accepts the same keys as 
 .BR [redirect] .
+.RE
+.P
+.B [user_handler]
+Configures the user handler. Available keys vary depending on which user 
handler is set with the
+.B user_handler
+key. If no [user_handler] section is present in the configuration the server 
will run without any nick registration service.
+.RS
+.TP 
+.B db_host
+(for user_handler=forum) The hostname of the database server
+.TP 
+.B db_name
+(for user_handler=forum) The name of the database
+.TP 
+.B db_user
+(for user_handler=forum) The name of the user under which to log into the 
database
+.TP 
+.B db_password
+(for user_handler=forum) This user's password
+.TP 
+.B db_users_table
+(for user_handler=forum) The name of the table in which your phpbb forums 
saves its user data. Most likely this will be <table-prefix>_users (e.g. 
phpbb3_users).
+.TP 
+.B db_extra_table
+(for user_handler=forum) The name of the table in which wesnothd will save 
its own data about users. You will have to create this table manually, e.g.:
+CREATE TABLE <table-name>(username VARCHAR(255) PRIMARY KEY, user_lastvisit 
INT UNSIGNED NOT NULL DEFAULT 0, user_is_moderator TINYINT(4) NOT NULL 
DEFAULT 0);
+.TP 
+.B user_expiration
+(for user_handler=sample) The time after which a registered nick expires (in 
days).
+.RE
+.P
+.B [mail]
+Configures an SMTP server through which the user handler can send mail. 
Currently only used by the sample user handler.
+.RS
+.TP 
+.B server
+The hostname of the mail server
+.TP 
+.B username
+The user name under which to log into the mail server.
+.TP 
+.B password
+This user's password.
+.TP 
+.B from_address
+The reply-to address of you mail.
+.TP 
+.B mail_port
+The port on which your mail server is running. Default is 25.
 .
 .SH AUTHOR
 .
 Written by David White <davidnwhite@xxxxxxxxxxx>.
-Edited by Nils Kneuper <crazy-ivanovic@xxxxxxx>, ott <ott@xxxxxxxx> and 
Soliton <soliton.de@xxxxxxxxx>.
+Edited by Nils Kneuper <crazy-ivanovic@xxxxxxx>, ott <ott@xxxxxxxx>, Soliton 
<soliton.de@xxxxxxxxx> and Thomas Baumhauer <thomas.baumhauer@xxxxxxxxx>.
 This manual page was originally written by Cyril Bouthors 
<cyril@xxxxxxxxxxxx>.
 .br
 Visit the official homepage: http://www.wesnoth.org/




Related Messages


Powered by MHonArc, Updated Thu Mar 19 16:00:40 2009