Rationale: Most of the MODs that add a new page to the forum (gallery, arcade, ...) also need to edit the viewonline.php, so that users are viewed as being online in there and not just viewed as "index.php"
Placement: viewonline.php best would be after the
Code: Select all
switch ($on_page[1])
{
Output format: array($location, $location_url)
Output semantics: Use the two elements and override the default ($user->lang['INDEX'], append_sid("{$phpbb_root_path}index.$phpEx")) which is used when the page is not in the switch.