Local settings folder is just:
Settings_1.php
Settings_none.php
Settings_5.php was in there but I just deleted it as it seemed that was not being referenced because if you see below it matchs the (TEST1). It was (TEST5) in the Settings_5.php document, and all test show this not to be referenced.
CODE FROM Settings_1.php below.
<?php
/*************************
* Local settings for league with ID = 1
*************************/
/*********************
* General
*********************/
$settings['league_name'] = 'Leicester Blood Bowl League (TEST1)'; // Name of the site or the league name if only one league is being managed.
$settings['league_url'] = '
http://localhost'; // URL of league home page/forum, if you have such. If not then leave this empty, that is = '' (two quotes only), which will disable the button.
$settings['league_url_name'] = 'My league page'; // Button text for league URL.
$settings['stylesheet'] = 1; // Default is 1. OBBLM CSS stylesheet for non-logged in guests. Currently stylesheet 1 is the only existing stylesheet.
$settings['lang'] = 'en-GB'; // Default language. Existing: en-GB, es-ES, de-DE, fr-FR, it-IT.
$settings['fp_links'] = true; // Default is true. Generate coach, team and player links on the front page?
$settings['welcome'] = 'Welcome to the Leicester Blood Bowl League Home Page. If you are interested in joining our league please email
duncan@leicesterbbleague.com for more information.';
$settings['rules'] = '<a href="
https://www.dropbox.com/s/h7mxne7gqvd4p ... dl=0">LBBL League & House Rules Pack</a>';
$settings['tourlist_foldup_fin_divs'] = false; // Default is false. If true the division nodes in the tournament lists section will automatically be folded up if all child tournaments in that division are marked as finished.
$settings['tourlist_hide_nodes'] = array('league', 'division', 'tournament'); // Default is array('league', 'division', 'tournament'). In the section tournament lists these nodes will be hidden if their contents (children) are finished. Example: If 'division' is chosen here, and all tours in a given division are finished, then the division entry will be hidden.
/*********************
* Rules
*********************/
// Please use the boolean values "true" and "false" wherever default values are boolean.
$rules['max_team_players'] = 16; // Default is 16.
$rules['static_rerolls_prices'] = false; // Default is "false". "true" forces re-roll prices to their un-doubled values.
$rules['player_refund'] = 0; // Player sell value percentage. Default is 0 = 0%, 0.5 = 50%, and so on.
$rules['journeymen_limit'] = 11; // Until a team can field this number of players, it may fill team positions with journeymen.
$rules['post_game_ff'] = false; // Default is false. Allows teams to buy and drop fan factor even though their first game has been played.
$rules['initial_treasury'] = 1000000; // Default is 1000000.
$rules['initial_rerolls'] = 0; // Default is 0.
$rules['initial_fan_factor'] = 0; // Default is 0.
$rules['initial_ass_coaches'] = 0; // Default is 0.
$rules['initial_cheerleaders'] = 0; // Default is 0.
// For the below limits, the following applies: -1 = unlimited. 0 = disabled.
$rules['max_rerolls'] = -1; // Default is -1.
$rules['max_fan_factor'] = 9; // Default is 9.
$rules['max_ass_coaches'] = -1; // Default is -1.
$rules['max_cheerleaders'] = -1; // Default is -1.
/*********************
* Standings pages
*********************/
$settings['standings']['length_players'] = 30; // Number of entries on the general players standings table.
$settings['standings']['length_teams'] = 30; // Number of entries on the general teams standings table.
$settings['standings']['length_coaches'] = 30; // Number of entries on the general coaches standings table.
/*********************
* Front page messageboard
*********************/
$settings['fp_messageboard']['length'] = 5; // Number of entries on the front page message board.
$settings['fp_messageboard']['show_team_news'] = true; // Default is true. Show team news on the front page message board.
$settings['fp_messageboard']['show_match_summaries'] = true; // Default is true. Show match summaries on the front page message board.
/*********************
* Front page boxes
*********************/
/*
The below settings define which boxes to show on the right side of the front page.
Note, every box MUST have a UNIQUE 'box_ID' number.
The box IDs are used to determine the order in which the boxes are shown on the front page.
The box with 'box_ID' = 1 is shown at the top of the page, the box with 'box_ID' = 2 is displayed underneath it and so forth.
*/
/*********************
* Front page: tournament standings boxes
*********************/
$settings['fp_standings'] = array(
# This will display a standings box of the top 6 teams in node (league, division or tournament) with ID = 5
array(
'id' => 1, # Node ID
'box_ID' => 1,
// Please note: 'type' may be either one of: 'league', 'division' or 'tournament'
'type' => 'tournament', # This sets the node to be a tournament. I.e. this will make a standings box for the tournament with ID = 5
'infocus' => false, # If true a random team from the standings will be selected and its top players displayed.
/*
The house ranking system (HRS) NUMBER to sort the table against.
Note, this is ignored for "type = tournament", since tours have an assigned HRS.
Also note that using HRSs with fields such as points (pts) for leagues/divisions standings makes no sense as they are tournament specific fields (i.e. it makes no sense to sum the points for teams across different tours to get the teams' "league/division points", as the points definitions for tours may vary).
*/
'HRS' => 1, # Note: this must be a existing and valid HRS number from the main settings.php file.
'title' => 'Tournament 1 standings', # Table title
'length' => 6, # Number of entries in table
# Format: "Displayed table column name" => "OBBLM field name". For the OBBLM fields available see
http://nicholasmr.dk/obblmwiki/index.ph ... tomization
'fields' => array('Name' => 'name', 'PTS' => 'pts', 'TV' => 'tv', 'CAS' => 'cas', 'W' => 'won', 'L' => 'lost', 'D' => 'draw', 'GF' => 'gf', 'GA' => 'ga',),
),
);
/*********************
* Front page: leaders boxes
*********************/
$settings['fp_leaders'] = array(
# Please note: You can NOT make expressions out of leader fields e.g.: 'field' => 'cas+td'
# This will display a 'most CAS' player leaders box for the node (league, division or tournament) with ID = 5
array(
'id' => 1, # Node ID
'box_ID' => 3,
// Please note: 'type' may be either one of: 'league', 'division' or 'tournament'
'type' => 'tournament', # This sets the node to be a tournament. I.e. this will make a leaders box for the tournament with ID = 5
'title' => 'Season One Most Casualties', # Table title
'field' => 'cas', # For the OBBLM fields available see
http://nicholasmr.dk/obblmwiki/index.ph ... tomization
'length' => 5, # Number of entries in table
'show_team' => true, # Show player's team name?
),
# This will display a 'most TD' player leaders box for the node (league, division or tournament) with ID = 2
array(
'id' => 2, # Node ID
'box_ID' => 4,
// Please note: 'type' may be either one of: 'league', 'division' or 'tournament'
'type' => 'tournament', # This sets the node to be a tournament. I.e. this will make a leaders box for the tournament with ID = 5
'title' => 'Season One Most Touchdowns', # Table title
'field' => 'td', # For the OBBLM fields available see
http://nicholasmr.dk/obblmwiki/index.ph ... tomization
'length' => 5, # Number of entries in table
'show_team' => true, # Show player's team name?
),
);
/*********************
* Front page: event boxes
*********************/
$settings['fp_events'] = array(
/*
Event boxes can show for any league, division or tournament the following:
dead - recent dead players
sold - recent sold players
hired - recent hired players
skills - recent player skill picks
*/
array(
'id' => 1, # Node ID
'box_ID' => 5,
// Please note: 'type' may be either one of: 'league', 'division' or 'tournament'
'type' => 'tournament', # This sets the node to be a tournament. I.e. this will make an event box for the tournament with ID = 5
'title' => 'Season One Latest Dead', # Table title
'content' => 'dead', # Event type
'length' => 5, # Number of entries in table
),
);
/*********************
* Front page: latest games boxes
*********************/
$settings['fp_latestgames'] = array(
# This will display a latest games box for the node (league, division or tournament) with ID = 5
array(
'id' => 1, # Node ID
'box_ID' => 2,
// Please note: 'type' may be either one of: 'league', 'division' or 'tournament'
'type' => 'league', # This sets the node to be a league. I.e. this will make a latest games box for the league with ID = 5
'title' => 'Season One Most Recent Games', # Table title
'length' => 5, # Number of entries in table
),
);
Thoughts?
Cheers
Duncan