GLB Player Position Notes

By peteb Last update Jul 3, 2008 — Installed 1,599 times.

Script Summary: Allows customization of the player position on the home and player pages.



This script allows customization of the player position for the home and player pages.

For example, a player on the home page is listed as:

Joe Blow (DE)

you can then change the "(DE)" to "(RDE)" or "(LDE)" or what ever you want "(3rd string DE)".

the list of players to modify and their respective notes are in an associative array at the top of the script:

var notes = {123456:"(RDE)",654321:"(WR5/KR)",415263:"(Bench Warmer)"};

To add a player, make an entry using the player ID followed by a colon followed by the note inside quotes "", for example:

playerId:"(AB1)"

then add it to the notes array, each entry in the notes array has to be separated by a comma, the player ID is the number in the URL to the right of ?player_id, for example:

http://goallineblitz.com/game/player.pl?player_id=123456

here the player ID is 123456