Sie sind auf Seite 1von 43

Web site for sports team clubs and leagues

User Manual

PhpMySpor PhpMySport t

PhpMySport v1.0
released on 10/25/2006
Open source software distributed under GNU/GPL license Copyright 2006

PhpMySport User manual

Table of contents

Table of contents
Presentation ................................................................ ................................................................................................ ............................................................................. ............................................. 3
PhpMySport ...........................................................................................................3 Version 1.0 ............................................................................................................3

Configuration requirements and installation................................ installation........................................................ ........................................................4 ........................4


Minimum configuration requirements .......................................................................4 Installation ............................................................................................................4

Basic operation ................................................................ ................................................................................................ ....................................................................... ....................................... 8


Launching the application .......................................................................................8 Logging into the member area.................................................................................8 Sport configuration.................................................................................................8 Site configuration ................................................................................................. 11 Other parameters................................................................................................. 12 Languages and translations................................................................................... 14 Design customization............................................................................................ 15

Member management ................................................................ ............................................................................................ ............................................................17 ............................ 17


The different types of members............................................................................. 17 The members list ................................................................................................. 17 The players list..................................................................................................... 18 The managers list................................................................................................. 19 The coaches list ................................................................................................... 19 Searching for a member ....................................................................................... 19 Adding a member................................................................................................. 19 Modifying a member............................................................................................. 20 Removing a member ............................................................................................ 20 Viewing a member file .......................................................................................... 21

Club Management ................................................................ ................................................................................................ ................................................................ 22


The clubs list ....................................................................................................... 22 Adding a club....................................................................................................... 22 Modifying a club................................................................................................... 22 Removing a club .................................................................................................. 22 Viewing a club file ................................................................................................ 23

Team management................................ management ................................................................ ................................................................................................ ................................................................24 ................................24


The teams list ...................................................................................................... 24 Adding a team ..................................................................................................... 24 Modifying a team ................................................................................................. 25 Removing a team ................................................................................................. 25 Viewing a teams file............................................................................................. 25

Competition management ................................................................ .................................................................................... ....................................................27 .................... 27


The competitions list ............................................................................................ 27 Adding a competition............................................................................................ 27 Modifying a competition........................................................................................ 27 Removing a competition ....................................................................................... 27 Viewing a competition file ..................................................................................... 28

PhpMySport User manual

Table of contents

Stadium management ................................................................ .......................................................................................... .......................................................... 29


The stadiums list .................................................................................................. 29 Adding a stadium ................................................................................................. 29 Modifying a stadium ............................................................................................. 29 Removing a stadium ............................................................................................. 29 Viewing a stadiums file......................................................................................... 30

Match management ................................................................ .............................................................................................. .............................................................. 31


The matches list................................................................................................... 31 Adding a match.................................................................................................... 31 Modifying a match................................................................................................ 33 Removing a match ............................................................................................... 33 Viewing a match file ............................................................................................. 33

News management ................................................................ ............................................................................................... ............................................................... 35


The news list ....................................................................................................... 35 Adding a news ..................................................................................................... 35 Modifying a news ................................................................................................. 35 Removing a news................................................................................................. 36 Viewing a news .................................................................................................... 36

Information page management ................................................................ ........................................................................... ...........................................37 ...........37


The pages list ...................................................................................................... 37 Adding a page...................................................................................................... 37 Modifying a page.................................................................................................. 37 Removing a page ................................................................................................. 37 Viewing a page .................................................................................................... 38

Forums & messages board................................ board................................................................ ................................................................................... ................................................... 39


The forums list..................................................................................................... 39 Adding a forum .................................................................................................... 39 Modifying a forum ................................................................................................ 39 Removing a forum................................................................................................ 39 Viewing the topics list of a forum........................................................................... 40 Adding a new topic............................................................................................... 40 Viewing messages of a topic ................................................................................. 40 Replying to a topic ............................................................................................... 40 Modifying a message ............................................................................................ 40 Removing a message............................................................................................ 40

Credits ................................................................ ................................................................................................ ...................................................................................... ......................................................42 ......................42


Author................................................................................................................. 42 Version................................................................................................................ 42

PhpMySport User manual

Presentation

Presentation
PhpMySport
PhpMySport is a web application aimed at sports clubs and sports leagues wishing to quickly create their own web site. As well as being a complete and easy to use solution, it can be adapted to any sports team: football, rugby, volleyball, basketball, hockey, water polo, etc. It allows for the management of members, matches, team composition, championships, seasons and much more. The application also allows for the redaction of news, the design of free-format pages, and also has a discussion forum. Written in PHP and coupled with a MySQL database, phpMySport acts as a Content Management Systems (CMS); that is a system allowing easy creation and management of the web site content. It has differences specific to sports but still provides most CMS functionalities: customization of design, WYSIWYG text editor, simple and intuitive management, multi-user management, etc. In other words, phpMySport provides a complete web site that can be adapted to your sport, even in your team or league colors!

Version 1.0
Version 1.0 of phpMySport includes the following functionalities: Management of news Management of information pages Configuration of members, players, trainers and managers Management of clubs and venues Management of teams and their composition Management of matches, seasons and competitions Discussion forums Members zone Administration zone

PhpMySport User manual

Configuration requirements and installation

Configuration requirements and installation installation


Minimum configuration requirements
Language: Database: Browser: Javascript: PHP 4 MySQL 4.0 Mozilla Firefox 1.5, Internet Explorer 6.0 Enabled

Note: Most web hosts, whether commercial or free, are able to provide PHP and MySQL. If you are ready to experiment a little, you can also install phpMySport locally on your own computer after configuring your own web server, PHP and a MySQL database.

Installation
Step 1
Download the latest version of phpMySport from the official site and unzip the file on your computer. Copy all the files to your destination server using an FTP client or else to the web repository on your own local server.

Step 2
Open your web browser and enter the address of your site into the address bar. A welcome page should appear which displays a list of available languages. If this page does not appear, check that the files have been copied correctly to your server. If the application has not been correctly installed and the page does not appear, then you might be able to connect by typing into your browser the address of your site followed by /installation. Click on the language of your choice.

Figure 1: Installation Choice of language

Step 3
You should now be on the welcome page. Click on the Begin Installation button to continue. PhpMySport is an open source software distributed under the GNU/GPL license. Click on continue to proceed with the installation.

PhpMySport User manual

Configuration requirements and installation

Step 4
Choose an installation mode:
Club mode: you wish to create a site for your club or your sporting association. The application will therefore be centered on your teams and other clubs will be considered like opponents. Committee mode: you wish to create a site for a league, a committee or a structure that is to manage several clubs.

If you have chosen club mode, a text field will appear. Enter the name of your club. Choose a sport. If your sport does not appear in the list, then chose the Other sport group option. Click on continue to proceed with the installation.

Figure 2: Installation - Choose the installation mode and sport

Step 5
Site information Enter a title for your site. Enter your web address. Warning, the web address must not contain a slash / as the last character. Enter the root of your site. The root corresponds to the location of the files on your server. If the field is not already entered, you will be able to obtain that information by contacting your web host. Another solution is to create a php file with the code <?php phpinfo(); ?> and place it on your server. Execute this and look for the line containing DOCUMENT_ROOT. Enter an email contact address. This email address will be used when mail is to be sent to members (when opening a member account for example). Choose the URL rewrite option. If your server permits this (Apache mod rewrite is enabled), you can activate this option to render the address of each page in a more readable way.

PhpMySport User manual Server and database information

Configuration requirements and installation

Enter the name of the web host, the user, the password and the name of your database. This information will be supplied by your web host. If the database does not exist, then the application will try to create it.

Site administrator information Enter your surname, your first name, a login and a password that you will use to access the administration area. Click the continue button to proceed with the installation.

Figure 3: Installation Site information

Step 6
The actual installation now takes place. The database, the tables, the administrator account and the configuration file are created. The principal site parameters are inserted into the database and a file .htaccess is created if you have chosen to activate the option URL rewriting. The installation is now complete. A login form allows you to access your administration area in order to begin the configuration of the application.

PhpMySport User manual

Configuration requirements and installation

Figure 4: Installation Administration area login

PhpMySport User manual

Basic operation

Basic operation
Launching the application
Open your web browser and enter the URL of your site in the address bar. Submit this by pressing the enter key or else by clicking the ok button. The welcome page of the site will appear. This includes a main menu, a login form and a central area. If the page does not appear or if the application has not been correctly installed, then refer to the Installation chapter.

Logging into the member area


Log into the member area by using the login form that takes you to the welcome page by using the login and password that you chose at the time of installation. You are now logged into your personal area. A new menu appears on the page, the member menu. If you are a site administrator, an administration submenu is displayed. It contains the following lines:
Table of contents: administration welcome page summarizing all the important actions available on the site (adding the final score of a match, updatable elements, etc.) Administration area: Management of all the site data Site configuration: Modification of the main site parameters

Figure 5: Member and administration menu

Sport configuration
Sport configuration allows the application to be adapted to any team sport. At the time of installation, several sports are available. If you have chosen an existing one, then the site is already configured and you can skip this step. If you have chosen the Other team sport option, then it is necessary to configure the application by carrying out the following instructions: Login to your member area (see the Logging into the member area chapter). In the administration submenu click on the admin zone link. A page will appear with the links to each section of the site. We are only concerned here with the headings that allow the configuration of the sport:
Match actions Player positions Periods of play

PhpMySport User manual


Playing field condition

Basic operation

Match actions
A match action is an event that takes place during a phase of sport play. Here are some examples of match actions: a goal, a foul, a yellow card, a red card, a basket, an injury, etc. Note: a player substitution is not considered a match action, rather a change to the team composition. Add a match action
Enter the name of the match action in the text field situated in the add an action area. Click on the validate button. The new action appears in the match actions list.

Modify a match action


In the match actions list, change the text of the action that you wish to modify. Click on the modify button.

Remove a match action


In the match actions list, select the action that you wish to remove. Click on the remove button.

A dialog box will appear asking you to confirm the removal. Click on ok to confirm or else on cancel to cancel the removal.

Figure 6: Match actions

Player positions
A player position is the place occupied by a player in a team. According to the sport, it might be attacker, goal keeper, winger, defender, etc. Adding a player position
Enter the name of the position in the text field located in the add a position area. Click on the validate button. The new position will appear in the list of player positions.

Modifying a player position


In the list of player positions, change the text of the position that you wish to modify. Click on the modify button.

Removing a player position

PhpMySport User manual

Basic operation

In the list of player positions, select the position that you wish to remove. Click on the remove button.

A dialog box will appear asking you to confirm the removal. Click on ok to confirm or else on cancel to cancel the removal.

Periods of play
A period of play corresponds to a phase of a match. In football one talks of the first and second half as well as extra time, in volleyball the match is divided into sets, etc. Adding a period of play
Enter the period of play in the text field situated in the Add a period of play area. Enter the usual duration of the period of play (in minutes). Click on the validate button. The new period will appear in the list of periods of play.

Modifying a period of play


In the list of periods of play, change the text and duration of the period that you wish to modify. Click on the modify button.

Removing a period of play


In the list of periods of play, select the period of play that you wish to remove. Click on the remove button.

A dialog box will appear asking you to confirm the removal. Click on ok to confirm or else on cancel to cancel the removal.

Playing field condition


At the time of a sporting event the state of the playing field can vary. In football, it may be a lawn, bare earth or else synthetic grass. In basketball the floor might be wood, asphalt or else synthetic. One might equally talk of a slippery field, a muddy field, etc. Adding a playing field condition
Enter the name of the playing field condition in the text field situated in the add a playing field condition area. Click on the validate button. The new playing field condition will appear the list of playing field conditions.

Modifying a playing field condition


In the list of playing field conditions, change the text of the playing field condition that you wish to modify. Click on the modify button.

Removing a playing field condition


In the list of playing field conditions, select the playing field condition that you wish to remove. Click on the remove button.

A dialog box will appear asking you to confirm the removal. Click on ok to confirm or else on cancel to cancel the removal.

10

PhpMySport User manual

Basic operation

Maximum number of players permitted in a team


Depending on the sport, the number of players permitted in the team will vary. In football there are eleven players on the pitch whereas in basketball there is only five. You are able to modify the number making up the chosen sports team. For this, consult the Site configuration section.

Site configuration
PhpMySport is configurable and adaptable to the environment it is installed in. You are therefore able to choose the site title, a contact email and other parameters relevant to the server. Log into to your member area (see the Logging into the member area chapter) In the administration submenu click on the configuration link. You will see most of the information that you were requested for at the time of installation. You are now able to modify this. Some additional parameters are present: Status: defines if the site is under construction or else it is open to visitors. Maximum number of players required in a team: configure this depending on your chosen sport. Once the modifications have been made, click on the submit button to save.

Figure 7: Administration - Configuration

11

PhpMySport User manual

Basic operation

Other parameters
The following parameters are accessible from the administration zone:
Seasons Team names Members gender Countries Weather conditions Management roles

Log into the member zone (see the Logging into the member area chapter) In the administration submenu click on the admin zone link.

Seasons
A sporting season corresponds to a period of the year during which competitions take place. For most sports, the season begins in September and finishes in August. Each year, a new season begins and it is therefore necessary to redefine the dates. Adding a season
Enter the name of the season, an abbreviation, a start date and an end date in the corresponding fields in the Add a season area. Click on the validate button. The new season will appear in the list of seasons.

Modifying a season
In the seasons list, change the season information that you wish to modify. Click on the modify button.

Removing a season
In the seasons list, select the season that you wish to remove. Click on the remove button.

A dialog box will appear asking you to confirm the removal. Click on ok to confirm or else on cancel to cancel the removal.

Figure 8: seasons list

Team names
Depending on the age of the players and the sports, the categories or levels of teams vary: for example children, juniors, seniors or even under-twenties. Now in a club

12

PhpMySport User manual

Basic operation

there sometimes exist many teams of the same level; they therefore need to have different names. They might be the seniors 1 team, the seniors 2 team, etc. Note: the gender of the teams is independent of the team name and is defined when the team is created. Adding a team name
Enter the name of the team in the text field situated in the Add a team name area. Click on the validate button. The new name of the team will appear in the list of team names.

Modifying a team name


In the list of team names, change the information about the name of the team that you wish to modify. Click on the modify button.

Removing a team name


In the list of team names, select the name of the team you wish to remove. Click on the remove button.

A dialog box will appear asking you to confirm the removal. Click on ok to confirm or else on cancel to cancel the removal.

Members gender
It is possible to change the gender of the players at the time they are added. Indeed, one could envisage phpMySport being used not for a sports team, but for a roleplaying or science-fiction game. Instead of having male and female genders, one could have species like trolls, vampires, werewolves, etc. Adding a gender
Enter the gender and an abbreviation in the text fields situated in the Add a gender area. Click on the validate button. The new gender appears in the list of genders.

Modifying a gender
In the genders list, change the information about the gender you wish to modify. Click on the modify button.

Removing a gender
In the genders list, select the gender you wish to remove. Click on the remove button.

A dialog box will appear asking you to confirm the removal. Click on ok to confirm or else on cancel to cancel the removal.

Countries
In phpMySport, countries are used to define the nationality of members. Adding a country
Enter the country in the text field situated in the Add a country area. Click on the validate button. The new country will appear in the list of countries.

Modifying a country
In the countries list, change the information about the country you wish to modify. Click on the modify button.

13

PhpMySport User manual Removing a country


In the countries list, select the country that you wish to remove. Click on the remove button.

Basic operation

A dialog box will appear asking you to confirm the removal. Click on ok to confirm or else on cancel to cancel the removal.

Weather conditions
The weather conditions give details about the climatic conditions for matches that take place outside. For example, the weather might be sunny, cloudy, raining, windy, etc. Adding weather conditions
Enter the weather condition in the corresponding text fields situated in the Add a weather condition area. Click on the validate button. The new weather condition will appear in the list of weather conditions.

Modifying weather conditions


In the weather conditions list, change the information about the weather condition that you wish to modify. Click on the modify button.

Removing weather conditions


In the weather conditions list, select the weather condition you wish to remove. Click on the remove button.

A dialog box will appear asking you to confirm the removal. Click on ok to confirm or else on cancel to cancel the removal.

Management roles
A role corresponds to an activity that relates to a member belonging to a club or league outside the roles of player or trainer. It relates here to a management post in the team: president, treasurer, secretary, medic, webmaster, board member, etc. Adding a role
Enter the name of the role in the corresponding field in the add a role area. Click on the validate button. The new role will appear in the list of roles.

Modifying a role
In the list of roles, change the information of the role that you wish to modify. Click on the modify button.

Removing a role
In the list of roles, select the role that you wish to remove. Click on the remove button.

A dialog box will appear asking you to confirm the removal. Click on ok to confirm or else on cancel to cancel the removal.

Languages and translations


Currently edited for French and English, phpMySport could be translated into any other language. The use of a language file effectively permits the translation of all static text present in the site pages.

14

PhpMySport User manual To do this, proceed as follows:

Basic operation

Open the directory where the phpMySport files reside (with the aid of your FTP client if necessary). In each folder, there exists a file named lg_xxxx_yy.php, where xxxx corresponds to the name of the folder in which it is present, and yy represents the two-letter abbreviation of the language. For example, in the news folder you will find a file named lg_news_fr.php which corresponds to the French text for the module for managing news.
Open a language file with a basic text editor. You will see in quotes (" ") text that corresponds to phrases and words displayed on the site. Having made the modifications, save the file under another name by changing the last two letters uniquely corresponding to the language. For example, if you wish to translate the file to French, then the two last letters need to correspond to fr for French (eg: lg_news_fr.php). Place the file in the same directory as the original. One by one, translate the phrases without changing the rest of the code. Note, the names of PHP variables (eg: $lang[news][title]) must not be modified, otherwise the text will not appear on the site. Once all the text has been modified, save the file Repeat the operation with each of the language files

Once all the files have been translated, open the file include/conf.php and modify the language constant LANG which needs to have a value of the two-letter abbreviation defining the translation language. For example, if you have translated the English files to French: define("LANG","fr");

If you do translate the language files, consider sending us your translation so that all phpMySport users will be able to benefit from your work!

Design customization
Whether it is for your title, your content or your graphics, your site can be unique! Also, the design of phpMySport is entirely customizable and can be changed to the colors of your club or league. Logos, menus, page design, design layout are all easily modifiable thanks to the use of a template system and CSS style sheets. A template system allows for the separation of the PHP code from the HTML code, which each have distinct functions: the first does the calculations and provides the interface to the database while the second organizes the page structure containing the same data. The CSS code is a utility complementary to HTML which allows for the styling and formatting of information. The CSS style sheets allow the total modification of the site design. Here is how to integrate your design with phpMySport: Open the directory where the phpMySport files reside (with the aid of an FTP client if necessary). Open the template directory situated at the root of your site. This contains a subdirectory named default, which contains the default design of phpMySport. To avoid any risk of damaging the application, it is strongly recommended that you do not delete or modify the directory, or the files that it contains!

15

PhpMySport User manual

Basic operation

Copy and paste the default directory. Rename with a word (without any space characters) of your choice (eg: mydesign) and place this in the template directory. From now on, this will contain two subdirectories: default and mydesign. Open the directory that you have copied and pasted. Here you will find several directories as well as a number of HTML files. Dont worry, it is not necessary to modify them all to change the design of your site! Only two elements are important:
The tpl_image/ directory: this contains all the images that comprise the graphical interface of the site. The tpl_image/styles.css file: this contains all the style information for style and layout, menus, headings, tables, etc.

To modify the design, it is necessary to add your own images and to modify the content of the CSS file. Here is an example if you wish to insert your logo in place of the phpMySport one:
Place the image of your logo (.jpg, .gif, .png or other format) in the tpl_image/ directory within the mydesign directory. Open tpl_image/styles.css file. Replace the following line: div#header { height:90px; width:100%; margin:0 auto; padding:0; } With: div#header { height:90px; width:100%; margin:0 auto; padding:0; background:url(my_logo.jpg) no-repeat; } #header img { display:none; }; The my_logo.jpg corresponds to the image of your logo. Then proceed with the following instructions

To change the design from the default and apply the modifications you have made, open the index.php file on your site.
At the start of the file, search for the line: define("TPL_DOSSIER","defaut",1); define("TPL_URL",RACINE."/template/defaut/",1); Replace default with the name of your new folder that you have created (mydesign) define("TPL_DOSSIER","mydesign",1); define("TPL_URL",RACINE."/template/mydesign/",1);

Once this is saved, open your site in your browser. The new design of your site will then appear.

Note: as the HTML files can undergo modification any time the software is updated, it is recommended that you do not modify them.

Do not hesitate to share your artistic qualities and distribute your graphical achievements among other phpMySport users. To do this, send us your images and your customized CSS files!

16

PhpMySport User manual

Member management

Member management
It is important to understand the usage of members within phpMySport. There are in fact two aspects to their usage: The relationship between the member and the club: the member can be a player, a manager, a coach, a referee... The relationship between the member and the web site: the member can be an administrator, a user with member access or just a visitor.

A member can be a player in a clubs team and at the same time have an account that allows user access in phpMySport. Unlike in some other applications, these two aspects, club and internet, are not separated. This allows, for example, members to connect to their member area and to see which games they are a part of.

The different types of members


Club members
Player: Coach: Referee: a member that is part of one or several teams a member that trains one or several teams a member that is an official and is allowed to oversee matches

Manager: a member that has certain key functions within a club (i.e. president, secretary, treasurer, etc.) A member can be a player, a coach, a referee and a manager at the same time.

Site members
Visitor: Site Member: area. any person visiting the site a user having a login and password allowing access to the member

Administrator: the sites main webmaster. Has access to all settings and can add, modify, and remove information. A member is either a visitor, a site member or an administrator.

The members list


The members list is accessible from the sites main menu and from the administration zone. The page contains the following: An option allowing sorting of the list by first or last name, gender, and date of birth. An option to filter the list using the following criteria: last or first name, and sex. The list itself displaying the first and last names, gender, date of birth, and a link to his/her file for each member.

17

PhpMySport User manual

Member management

A page selector for the list. This is only shown if the members list is too long to fit on one page.

An administrator has access to the following additional information: a link to add a member towards the top of the page a button to modify member a button to remove member next to each member next to each member

the web account status for each member

Figure 9: Members list

The players list


The player list is accessible from the sites main menu. It is populated according to a particular season, which can be specified using the drop-down menu. Similarly to the member list, it is possible to sort players according to name, club or position. The list displays the name, club, team, position, and number of a player, as well as their team captain status.

18

PhpMySport User manual

Member management

Figure 10: Showing the players list

The managers list


The managers list is accessible from the sites main menu. It is populated according to a particular season and club, which can be specified using the drop-down menus. The list displays the name, club, and function of the manager.

The coaches list


The coaches list is accessible from the sites main menu. It is populated according to a particular season, which can be specified using the drop-down menu. Similarly to the member list, it is possible to sort coaches according to name and club. The list displays the name, club, and team of the coach.

Searching for a member


In the members list, a search form allows you to search for a member by first and last name or by gender. Enter in the first or last name that you want to find in the text box. You can use parts of a name for the search. Choose which gender(s) interest you. If none are checked, then all genders will be returned. Click the submit button. A list of members matching your request will be displayed.

Adding a member
In the members list, click on the link add a member. This will show a form allowing you to add a member.

Identity area Enter in the information associated to the member: last name, first name, sex, nationality, email address, date of birth, height, weight, and notes. Required fields are: last name, first name.

Referee area Choose the referee level of the member. If the member is not a referee, then choose no level.

Club area Choose a season and the club to which the member belongs to during that season.

19

PhpMySport User manual Click the add button. Redo the procedure for each season.

Member management

If necessary, you can remove an entry using the remove

button.

Job area Choose a season and the job occupied by the member during that season. Click the add button. Redo the procedure for each season. If necessary, you can remove an entry using the remove button.

Web user information area Adding a member does not automatically activate his/her web account. In this area you can activate or deactivate an account and define the members status (administrator or normal user). Choose the account status. By default it is inactive, which means the member does not have access to the web sites member area. If the account is activated, then the login field is required. If this is the first time the account is activated, a password is also required. Choose a status for the user: regular user, administrator, super administrator, or blocked. Once the form is filled out, click on the submit button. This adds the member to the list.

Modifying a member
From the members list, find the member to modify and click the modify button. Change the information as you see fit. Click the submit button. This saves the modifications.

Note: For security reasons, it is impossible to change the status or state of the main sites administrator account.

Removing a member
From the members list, find the member to remove and click the remove button.

A dialog box will ask you to confirm your decision. Click on ok to accept or cancel to cancel.

Note: For security reasons, it is impossible remove the main sites administrators account (the one created during initial setup). A connected administrator may also not remove his/her own account.

20

PhpMySport User manual

Member management

Viewing a member file


To see all information related to a particular member, simply access their file. From the members list, find the member that interests you and click on the details link. The members file will then appear, showing: the members identity, clubs to which he/she has belonged to, manager functions, teams in which he/she has grown in, and teams trained.

21

PhpMySport User manual

Club Management

Club Management
The clubs list
The clubs list is accessible from the sites main menu and from the administrative area.

The page contains the following: An option to sort the list by the name, initials, or creation year of the club. The list itself displaying the name, initials, creation year, link to its homepage, and link to its file for each club. A page selector for the list. This is only shown if the clubs list is too long to fit on one page.

An administrator has access to more information: a link to add a club towards the top of the page a button to modify a button to remove next to each club next to each club

Adding a club
In the clubs list, click on the link add a club. This will show a form allowing you to add a club. Enter in the information for the club: name, initials, 4 digit creation year, team colors, alternate team colors, address, telephone, fax, email, web site address, and description. Required fields are: club name. Once the form is filled out, click on the submit button. This adds the club to the list.

Modifying a club
From the clubs list, find the club to modify and click the modify Change the information as you see fit Click the submit button. This saves the modifications. button.

Removing a club
From the clubs list, find the club to remove and click the remove button. A dialog box will ask you to confirm your decision. Click on ok to accept or cancel to cancel.

22

PhpMySport User manual

Club Management

Viewing a club file


To see all information related to a particular club, simply access its file. From the clubs list, find the club that interests you and click on the details link. The clubs file now appears, showing the club information, its teams, and its managers. A link allows quick access to the matches list for the club.

23

PhpMySport User manual

Team management

Team management management


The teams list
The teams list is accessible from the sites main menu and from the administrative area.

The page contains the following: An option to sort the list by team name, club, and sex. An option to select a club. Only the teams belonging to that club will be shown. The list itself displaying the clubs, team name, sex, link to its matches, and link to its file for each team A page selector for the list. This is only shown if the teams list is too long to fit on one page.

An administrator has access to more information: a link to add a team towards the top of the page a button to modify team a button to remove team next to each team next to each team

Adding a team
In the teams list, click on the link add a team. This will show a form allowing you to add a team. Enter in the information for the team: team name, club it belongs to, and sex. Required fields are: team name, club. Once the form is filled out, click on the submit button. This adds the team to the list

Team composition
If members have been added to the club and a sex has been selected, you may add coaches and players to the team, by season. Choosing coaches
Choose the season of interest to you Choose a coach Click the add button. The coach should now appear on the list to the right. Repeat as many times as required. To remove a coach, click the remove button.

Choosing players
Choose the season of interest to you Choose a player, enter in his/her number, and choose the position played within the team. If the player is a team captain, check off the corresponding checkbox.

24

PhpMySport User manual


Required information: player, position.

Team management

Click the add button. The player should now appear on the list to the right Repeat as many times as required. To remove a player, click the remove button.

Once the form is filled out, click on the submit button. This adds the team to the list.

Figure 11: choosing a teams composition

Modifying a team
From the teams list, find the team to modify and click the modify Change the information as you see fit Click the submit button. This saves the modifications. button

Removing a team
From the teams list, find the team to remove and click the remove button. A dialog box will ask you to confirm your decision. Click on ok to accept or cancel to cancel.

Viewing a teams file


To see all information related to a particular team, simply access its file. From the teams list, find the team that interests you and click on the details link.

25

PhpMySport User manual

Team management

The clubs file now appears, showing the team information, and its player and coach composition according to season. A link allows quick access to the matches list for the team.

26

PhpMySport User manual

Competition management

Competition management
The competitions list
The competitions list is accessible from the sites main menu and from the administrative area.

The page contains the following: An option to sort the list by competition name The list itself displaying the name and a link to the list of matches for each competition A page selector for the list. This is only shown if the competition list is too long to fit on one page.

An administrator has access to more information: a link to add a competition towards the top of the page a button to modify competition a button to remove competition next to each competition next to each competition

Adding a competition
In the competitions list, click on the link add a competition. This will show a form allowing you to add a competition. Enter in the information for the competition: name. Required fields are: competition name. Once the form is filled out, click on the submit button. This adds the competition to the list.

Modifying a competition
From the competitions list, find the competition to modify and click the modify button Change the information as you see fit Click the submit button. This saves the modifications.

Removing a competition
From the competitions list, find the competition to remove and click the remove button. A dialog box will ask you to confirm your decision. Click on ok to accept or cancel to cancel.

27

PhpMySport User manual

Competition management

Viewing a competition file


To see all matches related to a particular competition, simply access its file. From the competition list, find the competition that interests you and click on the see matches link. The competitions file now appears, most notably showing the list of corresponding matches.

28

PhpMySport User manual

Stadium management

Stadium management
The stadiums list
The stadiums and sports complexes list is accessible from the sites main menu and from the administrative area

The page contains the following: An option to sort the list by stadium name, city, and number of seats The list itself displaying the name, city, number of seats, and a link to its file for each stadium A page selector for the list. This is only shown if the stadiums list is too long to fit on one page.

An administrator has access to more information: a link to add a stadium towards the top of the page a button to modify stadium a button to remove stadium next to each stadium next to each stadium

Adding a stadium
In the stadiums list, click on the link add a stadium. This will show a form allowing you to add a stadium. Enter in the information for the stadium: name, address, postal (zip) code, city, and number of seats. Required fields are: stadium name. Once the form is filled out, click on the submit button. This adds the stadium to the list.

Modifying a stadium
From the stadiums list, find the stadium to modify and click the modify button Change the information as you see fit Click the submit button. This saves the modifications.

Removing a stadium
From the stadiums list, find the stadium to remove and click the remove button.

A dialog box will ask you to confirm your decision. Click on ok to accept or cancel to cancel.

29

PhpMySport User manual

Stadium management

Viewing a stadiums file


To see all information related to a particular stadium, simply access its file From the stadiums list, find the stadium that interests you and click on the details link The stadiums file now appears, showing the stadium information and a list of upcoming matches that will be played there.

30

PhpMySport User manual

Match management

Match management
The matches list
The match list is accessible from the main site menu and from the administration area.

The page contains the following: An option to sort the list by date An option to filter the list by criteria: season, club, team and competition The list itself displaying matches with their date, teams, score and a link to access the match file. A page selector for the list. This is only shown if the matches list is too long to fit one page.

An administrator has access to more information: a link add a match is displayed at the top of the page a modify a match a remove a match button is displayed at the side of each match button is displayed at the side of each match

Adding a match
In the matches list, click on the link add a match. This will show a form allowing you to add a match. Enter the match information: home club and team, visiting club and team, score, date, time, competition, venue, weather, state of the field, number of spectators and commentators. Required fields are: home club, visiting club, date.

Score details It is possible to give details of the scores for each period of play. Click on the link Score details. For the first period of play, enter the scores of the home and visitor teams. Repeat this operation for the remaining periods of play.

31

PhpMySport User manual

Match management

Figure 12: Form to add a match

Match referees Select a referee from the list Click on the add button. The referee appears in the list of referees for the match To remove a referee, click on the remove button

Team compositions and match actions If the home team and/or the visiting team are known and the teams comprise players and the date selected, it is then possible to define the composition of the teams at the time of the match.

If this is not possible, select a team for the home club or the visiting club A team composition area appears. Choose the active players:
In the list of available players, select the active players (hold down the Ctrl key to select several players at one time). Click on the >> button to add the players to the list of active players. To remove an active player, select the player from the list of active players and click on the << button.

Choice of substitute players:


Enter the time of the substitution, select the player coming off and the replacement player. Click on the add button. The substitution then appears in the list of replacements. Repeat this operation if necessary.

32

PhpMySport User manual


To remove a substitution, click on the remove button.

Match management

Match actions
Enter the minute, select the action, the player that caused it and a comment Click on the add button. The action will appear in the list of match actions. Repeat this operation if necessary. To remove a match action, click on the remove button.

Once the form is filled in, click on the submit button. The match is then added to the list of matches.

Figure 13: Choose the composition of the team at the time of the match

Modifying a match
From the match list, locate the match to be modified and click on the modify button Change the information that you wish to modify Click on the submit button. The modifications are then saved.

Removing a match
From the match list, locate the match to be modified and click on the remove button A dialog box appears asking you to confirm the removal. Click on ok to submit or else on cancel to cancel the removal.

Viewing a match file


To view all the information concerning a match, you are able to access the file. From the match list, locate the match to be modified and click on the details link

33

PhpMySport User manual

Match management

The match file then appears showing this information, the makeup of each team and the match actions.

34

PhpMySport User manual

News management

News management
The news list
The news list is accessible from the sites main menu and from the administration zone.

The page contains the following: The list itself displaying the title, release date, summary and link to each news. A page selector for the list. This is only shown if the news list is too long to fit on one page.

An administrator has access to more information: a link to add a news towards the top of the page a button to modify news a button to remove news the news status next to each news next to each news

Adding a news
In the news list, click on the link add a news. This will show a form allowing you to add a news. Enter in the information for the news: status, release date, subhead, title, subtitle, url ID, keywords, summary, text and post-scriptum. Required fields are: status, release date, title, url ID, summary and text. Once the form is filled out, click on the submit button.

Text editor utilization For the fields summary, text and post--scriptum, a text editor allows to format easily the news. Most of format options are available: bloc, italic, underline, alignment, font-family, unordered and ordered lists, insert a picture, a link, a table, etc.

Figure 14: Text editor WYSIWYG (TinyMCE)

Modifying a news
From the news list, find the page to modify and click the modify Change the information as you see fit. button.

35

PhpMySport User manual Click the submit button. This saves the modifications.

News management

Removing a news
From the news list, find the page to remove and click the remove button. A dialog box will ask you to confirm your decision. Click on ok to accept or cancel to cancel.

Viewing a news
From the news list, find the news that interests you and click on the news title or on the link read the news. The news will then appear, showing its title and the full text.

36

PhpMySport User manual

Information page management

Information page management


The pages list
The pages list is accessible from the sites main menu and from the administration zone.

The page contains the following: The list itself displaying the title, summary and link to each page. A page selector for the list. This is only shown if the pages list is too long to fit on one page.

An administrator has access to more information: A link to add a page towards the top of the page. A button to modify news A button to remove news next to each page. next to each page. and down next to each page

Buttons to order the. Use the buttons up

Adding a page
In the pages list, click on the link add a page. This will show a form allowing you to add a new page. Enter in the information for the page: status, parent page, title, url ID, keywords, summary and text. Required fields are: status, title, url ID, summary and text. Once the form is filled out, click on the submit button.

Text editor utilisation For the fields summary and text, a text editor allows to format easily the page. Most of format options are available: bloc, italic, underline, alignment, font-family, unordered and ordered lists, insert a picture, a link, a table, etc.

Modifying a page
From the pages list, find the page to modify and click the modify Change the information as you see fit. Click the submit button. This saves the modifications. button.

Removing a page
From the pages list, find the page to remove and click the remove button. A dialog box will ask you to confirm your decision. Click on ok to accept or cancel to cancel.

37

PhpMySport User manual

Information page management

Viewing a page
From the pages list, find the page that interests you and click on the page title. The page will then appear, showing its title and the full text.

38

PhpMySport User manual

Forums & messages board

Forums & messages board


In phpMySport you can create as many forums as you want and therefore open several discussions on different themes. An option limits the access to the participants:

Public forum: any visitor can read and post messages Members: only members and administrator can read and messages Administrators: only administrators can read and post messages Closed: it is not possible to post a message; messages are however visible

The forums list


The forum list is accessible from the sites main menu and from the administrative area.

The page contains only: The list itself displaying the name, a description and a link to the list of topic for each forum

An administrator has access to more information: a link to add a forum towards the top of the page a button to modify forum a button to remove forum next to each forum next to each forum

Adding a forum
In the forums list, click on the link add a forum. This will show a form allowing you to add a new forum. Enter in the information for the forum: title, url ID, description and status. Required fields are: title, url ID and the status. Once the form is filled out, click on the submit button. This adds the forum to the list.

Modifying a forum
From the forums list, find the forum to modify and click the modify Change the information as you see fit. Click the submit button. This saves the modifications. button.

Removing a forum
From the forums list, find the forum to remove and click the remove button.

39

PhpMySport User manual

Forums & messages board

A dialog box will ask you to confirm your decision. Click on ok to accept or cancel to cancel.

Viewing the topics list of a forum


From the forum list, find the forum that interests you and click on its title. The topics list now appears, showing for each one its title, the author, the date, the number of views, the date if last message and a link to the topics messages. A page selector for the list is shown if the topics list is too long to fit on one page.

Adding a new topic


In the topics list, click on the link post a new message. This will show a form allowing you to add a new message. Enter in the information for the message: title and text. Once the form is filled out, click on the submit button. Your message appears in the topic list of the forum.

Viewing messages of a topic


In the topics list, click on the title of the topic that interests you. The messages list relative to this topic now appears. A page selector for the list is shown if the messages list is too long to fit on one page.

Replying to a topic
In the messages list, click on the link reply. This will show a form allowing you to reply. Enter in the information for the message: title and text. Once the form is filled out, click on the submit button. Your message appears in the message list of the topic.

Modifying a message
From the messages list, find the message to modify and click the modify button. Change the information as you see fit. Click the submit button. This saves the modifications.

Removing a message
From the messages list, find the message to remove and click the remove button.

40

PhpMySport User manual

Forums & messages board

A dialog box will ask you to confirm your decision. Click on ok to accept or cancel to cancel. Warning, you will not be allowed to remove a topic that contains messages. You will first have to remove all the messages of the discussion.

41

PhpMySport User manual

Credits

Credits
Author
PhpMySport has been created by Jrme PLACE, bio-informatics engineer and amateur of sport. He is also the webmaster of Cit Sport (www.citesport.com), a website whose the goal is to promote sport club and sport in general. By creating this software, he wanted to share his experience of website conception with each sport associations and sport lovers.

Version
Software version: Release: Manual release: Written by: Translation: 1.0 2006/10/25 2006/03/17 Jrme PLACE Harry Glasgow & Ianar Svi

42

Das könnte Ihnen auch gefallen