Skip to content

Werkov/dokuwiki-plugin-gameteam

Repository files navigation

gameteam Plugin for DokuWiki

Experimental plugin for managing game teams.

## Team and team member attributes ##

Teams are stored in the table `team` and team members are stored in the table
`player`. Please refer to the actual database for the up to date database
scheme.

Registration form is constructed based on `teamfields` config option of the
gameteam plugin. It is JSON map in the form:

    field_name => field_specification

A field_name ending with '_[0-9]+' can be replicated (with different number)
and are stored into the `player` table, the other fields are stored in the
`team` table.

field_specification is another map that must have `label` attribute (display in
the form).
Furthermore `type` can specify what data type the field is (implemented types
in [modify_user_form][1] function).
The last `attrs` attribute is a map that is passed verbatim to Dokuwiki form
creation functions, use with caution.

[1] https://github.com/Werkov/dokuwiki-plugin-gameteam/blob/master/action.php#L187

## TODO ##

  * limit no. of registered teams
  * sharing logins between years (and create only team)
    * include database scheme (reverse engineer)
  * OR keep logins for each year separately (may come in handy)

All documentation for this plugin can be found at
https://github.com/Werkov/dokuwiki-plugin-gameteam

If you install this plugin manually, make sure it is installed in
lib/plugins/gameteam/ - if the folder is called different it
will not work!

Please refer to http://www.dokuwiki.org/plugins for additional info
on how to install plugins in DokuWiki.

----
Copyright (C) Michal Koutný <[email protected]>

This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; version 2 of the License

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

See the COPYING file in your DokuWiki folder for details

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages