Skip to content

Commit

Permalink
Infocus allowed for all node types.
Browse files Browse the repository at this point in the history
  • Loading branch information
nimda562 committed Apr 20, 2011
1 parent 664ef5d commit db841b3
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 41 deletions.
40 changes: 1 addition & 39 deletions help.html
Expand Up @@ -3,44 +3,6 @@
<title>OBBLM help</title>
</head>
<body style='font-size:10pt;'>
<h1>OBBLM help</h1>
<hr width='20%' align='left'>
<b>Contents</b><br><br>
<a href='#req'>Requirements</a><br>
<a href='#ins'>Installing</a><br>
<a href='#upg'>Upgarding</a><br>
<a href='#set'>Setup</a><br>
<hr width='20%' align='left'><br>
<a name='req'><b>Requirements</b></a>
<p>
OBBLM requires a webserver with PHP 5.1+ and MySQL 5+.<br>
</p>

<a name='ins'><b>Installing</b></a>
<p>
Run the <i>install.php</i> file from your web browser and follow <i>all</i> instructions.
</p>

<a name='upg'><b>Upgarding</b></a>
<p>
Run the <i>upgrade.php</i> file from your web browser and follow <i>all</i> instructions.
</p>

<a name='set'><b>Setup</b></a>
<p>
In order to begin using OBBLM there are a few things you must do first.<br>
Following this guide will help you setup OBBLM for your league and give you a feeling of how OBBLM works.<br>
<ul>
<li>To start with please create the leagues and divisions you will be using with OBBLM. This is done under the menu item: "Admin -> Management: Leagues & divisions".<br><br></li>
<li>Now, OBBLM has two types of settings files. The <i>global</i> settings file, and the <i>local</i> settings files.<br>
The global settings file, <i>settings.php</i>, contains settings that apply across all leagues.<br>
The local settings files, located at <i>localsettings/settings_&lt;LEAGUE ID&gt;.php</i>, are individual league settings. There should exist <u>one for each league</u>.<br>
Setting up these settings files should be easy since they are self-documented.<br><br>
</li>
<li>The next thing is to create the league users/coaches. This is done under the menu item "Admin -> Management: User management".<br><br></li>
<li>You are now ready to go. Further instructions and FAQs can be found under the menu item "OBBLM". Good luck.</li>
</ul>
</p>

<a href='http://www.nicholasmr.dk/obblmwiki'>See the documentaion wiki</a>
</body>
</html>
2 changes: 1 addition & 1 deletion localsettings/settings_1.php
Expand Up @@ -46,7 +46,7 @@
'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 = 1
'infocus' => false, # If true AND type is equal to "tournament", a random team from the tournament will be selected and its top players displayed.
'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.
Expand Down
2 changes: 1 addition & 1 deletion sections.php
Expand Up @@ -350,7 +350,7 @@ function sec_main() {
?>
</table>
<?php
if ($box['infocus'] && $box['type'] == T_NODE_TOURNAMENT) {
if ($box['infocus']) {
echo "<hr>";
_infocus($teams);
}
Expand Down

0 comments on commit db841b3

Please sign in to comment.