############################################################################################### 
##
## Hack Title:   Staff Site
## Hack Version: 2.0.3 (phpBB 2.0.4 or lower)
## Author:       Acid
## Support:	 http://www.phpbbhacks.com/forums/
##
## Description:  An external site to display who is Mod (or Super Mod) or Admin (or Junior Admin)
##		 at your board. Some additional infos.
##
## Files To Edit:       6
##                      language/lang_english/lang_main.php
##                      includes/constants.php
##                      viewonline.php
##                      admin/index.php
##                      includes/page_header.php
##                      templates/xxx/overall_header.tpl
##
## Included Files:      staff.php
##                      staff_body.tpl
##                      staff.gif
##
############################################################################################### 
############################################################################################### 

# 
#-----[ OPEN FILE: ]------------------------------------------ 
# language/lang_english/lang_main.php

[FIND:]
//
// That's all Folks!
// -------------------------------------------------

[ADD BEFORE!:]
$lang['Staff'] = "Staff Site";
$lang['Forums'] = 'Forums';
$lang['Mod'] = "Moderator";
$lang['Admin'] = "Administrator";
$lang['Super'] = "Super Moderator";
$lang['Junior'] = "Junior Admin";
$lang['Period'] = 'since <b>%d</b> days'; // %d = days
$lang['Messenger'] = 'Messenger';



# 
#-----[ OPEN FILE: ]------------------------------------------ 
# includes/constants.php

[FIND:]
define('PAGE_GROUPCP', -11);

[ADD_AFTER:]
define('PAGE_STAFF', -12);



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

[FIND:]
				case PAGE_FAQ:
					$location = $lang['Viewing_FAQ'];
					$location_url = "faq.$phpEx";
					break;

[ADD AFTER:]
				case PAGE_STAFF:
					$location = $lang['Staff'];
					$location_url = "staff.$phpEx";
					break;



# 
#-----[ OPEN FILE: ]------------------------------------------ 
# admin/index.php

[FIND:] Note: there are 2 occurences
						case PAGE_FAQ:
							$location = $lang['Viewing_FAQ'];
							$location_url = "index.$phpEx?pane=right";
							break;
[ADD AFTER:]
                        				case PAGE_STAFF:
		                        			$location = $lang['Staff'];
                        					$location_url = "../staff.$phpEx";
				                        	break;



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

[FIND:]
	'U_GROUP_CP' => append_sid('groupcp.'.$phpEx),

[ADD AFTER:]
	'U_STAFF' => append_sid('staff.'.$phpEx),
	'L_STAFF' => $lang['Staff'],



# 
#-----[ OPEN FILE: ]------------------------------------------ 
# templates/xxx/overall_header.tpl

[FIND:]
&nbsp; &nbsp;<a href="{U_GROUP_CP}" class="mainmenu"><img src="templates/subSilver/images/icon_mini_groups.gif" width="12" height="13" border="0" alt="{L_USERGROUPS}" hspace="3" />{L_USERGROUPS}</a>&nbsp;

[ADD AFTER:] Note: replace "subSilver" with your special template (if necessary)
 &nbsp;<a href="{U_STAFF}" class="mainmenu"><img src="templates/subSilver/images/staff.gif" width="12" height="13" border="0" alt="{L_STAFF}" hspace="3" />{L_STAFF}</a>&nbsp;



# 
#-----[ UPLOAD FILES: ]------------------------------------------ 
#
                /staff.php
                /templates/xxx/staff_body.tpl
                /templates/xxx/images/staff.gif

############################################################################################### 
############################################################################################### 