vB4 Error Pages for vBulletin - version 1.0
---------------------------------------------------

This hack allows you to display template-driven error pages on your forum. I modified a hack written for 3.8 by JamesAB, so original credit goes to him. - gezuvor


1) Upload via FTP everything in the 'upload' folder to your forum directory.
--------------------------------------------------------------------
400.php
401.php
403.php
404.php
500.php
--------------------------------------------------------------------

2) Import product-vb4_error_pages.xml into PRODUCTS. (admincp -> Plugin System -> Manage Products -> [Add/Import Product])

3) Using your browser, you can see how the error pages will look on your forum.

	<URL OF YOUR FORUM HOME>/400.php
	<URL OF YOUR FORUM HOME>/401.php
	<URL OF YOUR FORUM HOME>/403.php
	<URL OF YOUR FORUM HOME>/404.php
	<URL OF YOUR FORUM HOME>/500.php

4) Last, you need to tell your webserver to use these pages.
   Either by adding lines to your server's httpd.conf file and restarting apache.
   Or you may add them to an .htaccess file and upload it to your website.
   --------------------------------------------------------------------
   If your forum is directly in the document root of your website 
   (for example: http://www.mydomain.com/ or http://forum.mydomain.com/ ) 
   you should add these lines:

	ErrorDocument 400 /400.php
	ErrorDocument 401 /401.php
	ErrorDocument 403 /403.php
	ErrorDocument 404 /404.php
	ErrorDocument 500 /500.php

   --------------------------------------------------------------------
   If your forum is located in a directory within your website's document root, 
   (for example: http://www.mydomain.com/forum/ or http://www.mydomain.com/vb/ ) 
   you'll need to replace <forum_directory> with the directory of your forum in these lines:
   
	ErrorDocument 400 /<forum_directory>/400.php
	ErrorDocument 401 /<forum_directory>/401.php
	ErrorDocument 403 /<forum_directory>/403.php
	ErrorDocument 404 /<forum_directory>/404.php
	ErrorDocument 500 /<forum_directory>/500.php

   --------------------------------------------------------------------

Click 'install' in the thread you downloaded this from.

Done

--------------------------------------------------------------------

(OPTIONAL) Edit these phrases to customize the text on the error pages to suit your needs.
	vb4_400_error_navbit
	vb4_400_error_title
	vb4_400_error_message
	vb4_401_error_navbit
	vb4_401_error_title
	vb4_401_error_message
	vb4_403_error_navbit
	vb4_403_error_title
	vb4_403_error_message
	vb4_404_error_navbit
	vb4_404_error_title
	vb4_404_error_message
	vb4_500_error_navbit
	vb4_500_error_title
	vb4_500_error_message

(OPTIONAL) Edit these templates to suit your needs. You'll find them grouped together under "HTTP Error Templates".
	http_error_400
	http_error_401
	http_error_403
	http_error_404
	http_error_500