This repository has been archived by the owner on Jun 24, 2020. It is now read-only.
forked from TheNAF/naflm
-
Notifications
You must be signed in to change notification settings - Fork 0
/
settings_modules.php
68 lines (57 loc) · 2.83 KB
/
settings_modules.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
<?php
/*****************
* Enable/disable modules
*****************/
// Change value from true to false if you wish to disable a module.
$settings['modules_enabled'] = array(
'IndcPage' => true, # Inducements try-out
'PDFroster' => true, # Team PDF roster
'RSSfeed' => true, # Site RSS feed
'SGraph' => true, # Graphical statistics
'Memmatches' => true, # Memorable matches viewer
'Wanted' => true, # Wanted list
'HOF' => true, # Hall of fame
'Prize' => true, # Tournament prizes list
'Registration' => true, # Allows users to register on the site.
'Search' => true, # Search for coaches and teams.
'TeamCompare' => true, # Team strength compare
'Cemetery' => true, # Team cemetery page
'FamousTeams' => true, # Famous Teams page
'PDFMatchReport' => true, # Generating PDF forms for tabletop match reports.
// The below modules are not well maintained and are poorly supported!!
'UPLOAD_BOTOCS' => false, # Allow upload of a BOTOCS match
'XML_BOTOCS' => false, # BOTOCS XML export of team
'LeagueTables' => true, # Provides league table link on the main menu
'Conference' => true, # Provides support for conferences within tournaments
'Scheduler' => false, # Alternative match scheduler
'LeaguePref' => true, # Allows dynamic configuration of league preferences
'TeamCreator' => true, # Allows coaches to create teams quickly
);
/*****************
* Module settings
*****************/
/*
Registration
*/
$settings['allow_registration'] = true; // Default is true.
$settings['registration_webmaster'] = "[email protected]"; // Default is "[email protected]".
$settings['lang'] = 'en-GB'; // Default language for registred user.
/*
Leegmgr
*/
$settings['leegmgr_enabled'] = true; // Enables upload of BOTOCS LRB5 application match reports.
/*
Uploads report to a scheduled match. The options are [false|true|"strict"]
- false does not check for scheduled matches
- true checks for scheduled matches and will create a match if not found
- "strict" will allow only scheduled matches to be used
*/
$settings['leegmgr_schedule'] = true;
$settings['leegmgr_extrastats'] = true; // Enables the reporting of extra stats and the use of the alternate XSD file.
$settings['leegmgr_cyanide'] = true; // Setting to false here is preferred as this can be set to true in each specific league.
$settings['leegmgr_cyanide_edition'] = 2; // 1 = the first Cyanide edition, 2 = Legendary edition.
$settings['leegmgr_botocs'] = true; // Setting to false here is preferred as this can be set to true in each specific league.
/*
PDF roster & PDF match report
*/
$settings['enable_pdf_logos'] = true;