-
Notifications
You must be signed in to change notification settings - Fork 0
HowTo: Implement new SignupMethods
TimRepke edited this page Oct 17, 2015
·
2 revisions
There are two files that sort of handle the configuration because we couldn't be bothered to create another database table:
-
./passwd/users.txtadd users to this file.Sstands for super admin (can create new trips),Nusers can only manage the current trip -
./config_current_fahrt_id(a file that only contains the id of the current trip
Folder structure:
- The
adminfolder contains everything for the admin backend. -
viewcontains all frontend stuff -
view/signupscontains all possible signup methods (games, add them toconfig.inc.php) -
view/jsshould contain all commonly used js things - ...
For debugging you can point your browser to the test.html and use some of the following parameters:
-
map- number of the map -
showEventLayers- settrueif you want to see the event layers -
verbosePF- settrueto dump the path finding raster to the console -
fastTalk- settrueto make dialogues ultra fast
For example:
http://localhost/fsfahrt/view/signups/game1/test.html?showEventLayers=true&map=2&verbosePF=true