::Table of Contents:: (use ctrl+f to jump to specific sections)
1x...........................Installation Instructions

2x...........................Usage and example URLs
	2A....................Imperial Units
	2B....................Metric Units.

3x...........................Formatting names displayed on graphics

4x...........................Trouble Shooting

5x...........................Credits

Installation instructions. (1x)

!!! Important Note !!!
With the release of Pubstats v1.3, the ID Key is now required, for all versions of pubstats, not just v1.3. So make sure you are generate a IDKey code at http://www.lfsworld.net/?win=settings&whichTab=pubstat

1. Extract the files & directories from the .zip file.
2. open inc/identKeys.php and additional users and their identkeys. set your identkey as the default. Generate your id key at http://www.lfsworld.net/?win=settings&whichTab=pubstat
3. If you are paying to use Premium Pubstats, change line 15 of LFS_online_check.php to 1
4. create your custom graphics from the template files in the "images" directory and save those as "lfs_check_online#.png" & lfs_check_offline#.png" in the "images" folder. Start the numbering at 1 and don't put any files except for the template graphics in this directory.
5. Upload all the files and directories to your online host.
6. change the permissons of the cache folder to 777.
7. .htaccess
	A. No .htaccess file already in the public_html directory
		Move the supplied .htaccess file to the public_html directory.
	B. There is a .htaccess file already in the public_html directory, 
		Open the supplied .htaccess file and copy the code. 
	   	Now open the existing .htaccess file in th public_html directory and paste the code.
		Make sure there is only one line in the file that has "RewriteEngine on"
		Group all lines that start with "RewriteRule" together

The directory tree should look like the diagram below:

LFS_Checker
  \cache
  \doc
  \fonts
  \images
  \inc
   .htaccess
   LFS_online_check.php
   readme.txt

################################  NOTE  #################################
#             If you install this in another directory from             #
#       http://your-host/LFS_Checker/ you will have to modify the       #
#              .htaccess file to point to correct path                  #
#########################################################################



Usage and examples  (2x)

for Imperial Measurements: (2A)
	http://your-host/LFS_Checker/LFS_online_check.php?name=LFSUSERNAME
		-or-
	http://your-host/LFS_Checker/LFS_online_check.php?name=LFSUSERNAME&template=TEMPLATENUMBER

ie, http://your-host/LFS_Checker/LFS_online_check.php?name=glyphon&template=1

also, through the use of the included .htaccess file, you can use the following url:
	http://your-host/check#.LFSUSERNAME.jpg

ie, http://your-host/check1.glyphon.jpg

if you have more than 1 template design, you can have the design randomly selected when the image is loaded using the following:
	http://your-host/LFS_Checker/LFS_online_check.php?name=LFSUSERNAME&template=R
		-or-
	http://your-host/random.LFSUSERNAME.jpg

################################  NOTE  #################################
#                                                                       #
#       http://your-host/checkR.LFSUSERNAME.jpg will NOT work.          #
#										    #
#########################################################################



for Metric Measurements:  (2B)
	http://your-host/LFS_Checker/LFS_online_check.php?name=LFSUSERNAME&units=metric
		-or-
	http://your-host/LFS_Checker/LFS_online_check.php?name=LFSUSERNAME&template=TEMPLATENUMBER&units=metric


ie, http://your-host/LFS_Checker/LFS_online_check.php?name=glyphon&template=1&units=metric

also, through the use of the included .htaccess file, you can use the following url:
	http://your-host/checkmetric#.LFSUSERNAME.jpg

ie, http://your-host/checkmetric1.glyphon.jpg

if you have more than 1 template design, you can have the design randomly selected when the image is loaded using the following:
	http://your-host/LFS_Checker/LFS_online_check.php?name=LFSUSERNAME&template=R&units=metric
		-or-
	http://your-host/randommetric.LFSUSERNAME.jpg

###################################  NOTE  ####################################
#                                                                             #
#       http://your-host/checkmetricR.LFSUSERNAME.jpg will NOT work.          #
#                                                                             #
###############################################################################



Formatting names displayed on graphics  (3x)

In the "inc" directory is a file "userNameSwitch.php"

To format the user name that is displayed on graphic or some how change it to something that is different from the exact username as registered with LFS, then use the userNameSwitch.php file.

The way that the file is use is as follows:
case "LFSUSERNAME":
	$user = "Name you want displayed on graphic";
	$name = "LFSUSERNAME";
	break;



Troubleshooting  (4x)
If you type in the address and press enter, and all that is displayed on the screen is the address you typed in, check the saved file in the "cache" directory. 	-If it has an error message about the id key, see step 2 of the installation instructions.
	 The lines should look like the following:
		$idkey = "&idk=YOUR_ID_KEY_FROM_LFSWORLD.NET";
	 Make sure to use a valid id key from LFSWorld.net. It is the key is free is used by the developers for usage statistics only.
	-If the cache directory is empty, change the permissons of the "cache" directory on the host server to 777
	
	-Check the "images" directory and make sure the only files are the template graphic files.
	 The template graphic files must use the following naming convention:
		lfs_check_offline#.png or lfs_check_online#.png
		ie, lfs_check_offline1.png
		the files must be png files.
	-If you get an error message referencing line 114 or 115, then you need to change the permissions of the cache directory.


Credits  (5x)
Live for Speed © 2002-2006 - Scawen Roberts, Eric Bailey, Victor van Vlaardingen
Code page conversion script - Victor van Vlaardingen