Viewonline

Download and support for PhpBB3 Error Pages
TheMathematics

Viewonline

Post by TheMathematics »

================
Last edited by TheMathematics on 09 Aug 2015, 08:25, edited 1 time in total.
User avatar
Stoker
Site Admin
Site Admin
Posts: 3536
Joined: 12 May 2008, 21:26
BBCodes: 239
Favourite BBCode: Anipro
Favourite MOD: PrettyPhoto
Location: Denmark

Viewonline

Post by Stoker »

Open: viewonline.php
Find:

Code: Select all

case 'viewonline':
Before add:

Code: Select all

case 'error':
				$location = $user->lang['VIEW_ERROR'];
				$location_url = append_sid("{$phpbb_root_path}error.$phpEx");
		break;
Open: language/en/common.php
Find:

Code: Select all

?>
Before add:

Code: Select all

// Stoker is my hero and I will give him all my money :o)
$lang = array_merge($lang, array(
	'VIEW_ERROR'		=> 'Viewing a 404 Error',
));
Board rules! No PM support
TheMathematics

Post by TheMathematics »

================
Last edited by TheMathematics on 09 Aug 2015, 08:25, edited 1 time in total.
User avatar
Stoker
Site Admin
Site Admin
Posts: 3536
Joined: 12 May 2008, 21:26
BBCodes: 239
Favourite BBCode: Anipro
Favourite MOD: PrettyPhoto
Location: Denmark

Viewonline

Post by Stoker »

Well, not sure how to do this. But play around with the code from the .htaccess file.
Board rules! No PM support