https://www.icyphoenix.com/viewtopic.php?f=30&t=41&p=216#p216
-----------------------------------
KugeLSichA
Sat 12 Aug, 2006 01:09

How To Add A New Page In Viewonline And ACP Index
-----------------------------------
[code]
##############################################################
## MOD Title: How to add "NewPage" in Who is online site
## MOD Author: KugeLSichA < kugelsicha@caromonline.de > (HoLLe) http://www.caromguild.de
## MOD Description: This is a How to, if you have a new site in your forum, 
##                  and want to view the users in viewonline.php and ACP 
##                  Index.
## MOD Version: 1.0.0
##
## Installation Level: Easy
## Installation Time: 5min
## Files To Edit: 4
##                adm/index.php
##                includes/constants.php
##                language/lang_english/lang_main.php
##                viewonline.php
## Included Files: n/a
##############################################################
## For Security Purposes, Please Check: http://www.phpbb.com/mods/downloads/ for the
## latest version of this MOD. Downloading this MOD from other sites could cause malicious code
## to enter into your phpBB Forum. As such, phpBB will not offer support for MODs not offered
## in our MOD-Database, located at: http://www.phpbb.com/mods/downloads/
##############################################################
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD
##############################################################

#
#-----[ OPEN ]------------------------------------------
#
viewonline.php
#
#-----[ FIND ]------------------------------------------
#
				default:
					$location = $lang['Forum_index'];
					$location_url = FORUM_MG;
			}
#
#-----[ BEFORE, ADD ]------------------------------------------
#
				case PAGE_NEW_PAGE:
					$location = $lang['Viewing_newpage'];
					$location_url = "new_page.$phpEx";
					break;
                                        
#
#-----[ OPEN ]------------------------------------------
#
includes/constants.php
#
#-----[ FIND ]------------------------------------------
# or similar
define('PAGE_SUDOKU', -1700);
#
#-----[ AFTER, ADD ]------------------------------------------
#
# NOTE: make sure that the number you add, is unique!
define('PAGE_NEW_PAGE', -5000);

#
#-----[ OPEN ]------------------------------------------
#
adm/index.php
#
#-----[ FIND ]------------------------------------------
#
						default:
							$location = $lang['Forum_index'];
							$location_url = "index.$phpEx?pane=right";
					}
#
#-----[ BEFORE, ADD ]------------------------------------------
#
						case PAGE_NEW_PAGE:
							$location = $lang['Viewing_new_page'];
							$location_url = "new_page.$phpEx?pane=right";
							break;
#
#-----[ FIND ]------------------------------------------
#
					default:
						$location = $lang['Forum_index'];
						$location_url = "index.$phpEx?pane=right";
				}
#
#-----[ BEFORE, ADD ]------------------------------------------
#
					case PAGE_NEW_PAGE:
						$location = $lang['Viewing_new_page'];
						$location_url = "new_page.$phpEx?pane=right";
						break;
                                                
#
#-----[ OPEN ]------------------------------------------
#
# Do this for all languages you have installed!
language/lang_english/lang_main.php
#
#-----[ FIND ]------------------------------------------
#
$lang['Viewing_KB'] = 'KB anzeigen';
$lang['Viewing_RSS'] = 'RSS feed';
#
#-----[ AFTER, ADD ]------------------------------------------
#
$lang['Viewing_new_page'] = 'New Page viewing'; 
                                                                                                                                                                                                                       					
#
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
#
# EoM
[/code]


