##############################################################
## MOD Title:		Extend rank color
## MOD Author:		Gendo < gendo@denturax.com > (Matthieu V.) http://www.denturax.com
## MOD Author:		BigZ  < bigz@denturax.com > (Romain R.) http://www.denturax.com
## MOD Description:
##			This mod gives the possibility to add colour ranks into "Who is online" 
##			page and into "Who is online" part in bottom of the index. You can 
##			create colour ranks via the ACP. You can also put in colour your various 
##			groups of users (phpBB Usergroups) on the index and the sight of 
##			viewonline.
##
##			UPDATE FROM RC6 TO RC7.
##
##
## MOD Version:		1.6.0 RC7
## 
## Installation Level:	Easy
## Installation Time:	~5 Minutes
## Files To Edit: (2)
## 			includes/page_header.php
## 			viewonline.php
##
## Included Files: (4)
## 			admin/admin_ranks_whosonline.php
## 			templates/subSilver/admin/whosonline_ranks_edit_body.tpl
## 			templates/subSilver/admin/whosonline_ranks_list_body.tpl
##			language/lang_french/lang_erc.php
## 			
############################################################## 
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD 
##############################################################
# 
#-----[ OPEN ]----- 
# 
admin/admin_groups.php 

# 
#-----[ FIND ]----- 
# 
				VALUES ($group_type, '" . str_replace("\'", "''", $group_name) . "', '" . str_replace("\'", "''", $group_description) . "', $group_moderator,	'0', '$whosonline_rank')";

# 
#-----[ REPLACE WITH ]----- 
#
				VALUES ($group_type, '" . str_replace("\'", "''", $group_name) . "', '" . str_replace("\'", "''", $group_description) . "', $group_moderator,	'0', '$group_color')";

# 
#-----[ OPEN ]----- 
# 
includes/page_header.php 

# 
#-----[ FIND ]----- 
# 
			AND g.group_color <> '0' 

# 
#-----[ AFTER ADD ]----- 
# 
			AND ug.user_pending <> '1'

# 
#-----[ OPEN ]----- 
# 
viewonline.php 

# 
#-----[ FIND ]----- 
# 
				AND g.group_color <> '0' 

# 
#-----[ AFTER ADD ]----- 
# 
				AND ug.user_pending <> '1'	

# 
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------ 
# 
# EoM