Back to vBulletin 3.8 Add-ons

Custom HTTP Error Pages
Mod Version: 1.00, by JamesAB

vB Version: 3.8.0 Rating: (6 votes - 4.83 average) Installs: 99
Released: 06 Mar 2009 Last Update: 06 Mar 2009 Downloads: 517
Not Supported Uses Plugins Additional Files Re-usable Code Translations  

About this hack:
This hack allows you to use vBulletin template driven pages for 400, 401, 403, 404 and 500 webserver error pages that will perfectly match your own forum's design. Five custom pages are added to your forum by this hack. You can then instruct your webserver to use these pages for it's error pages.

Features:
  • Error pages will still work even if your forum is turned off in the AdminCP.
  • Admin CP option to automatically redirect to your forum's main page after the error page is shown for 5 seconds.
  • Admin CP option to show or hide notices on error pages.

Installation information on hack:
  • Files to upload: 5
  • New templates added: 5
  • Time to install: 10 minutes.
You can test that the pages are working correctly by visiting:
<URL OF YOUR FORUM HOME>/400_forum.php
<URL OF YOUR FORUM HOME>/401_forum.php
<URL OF YOUR FORUM HOME>/403_forum.php
<URL OF YOUR FORUM HOME>/404_forum.php
<URL OF YOUR FORUM HOME>/500_forum.php
Next you will need to edit your webserver's configuration file or add lines into an .htaccess file.
............................................................
If your forum directory is the same as your website's document root, add these lines:
Code:
ErrorDocument 400 /400_forum.php
ErrorDocument 401 /401_forum.php
ErrorDocument 403 /403_forum.php
ErrorDocument 404 /404_forum.php
ErrorDocument 500 /500_forum.php
............................................................
If your forum is located in a directory within your website's document root, you'll need to replace <forum_directory> with the directory of your forum in these lines:
Code:
ErrorDocument 400 /<forum_directory>/400_forum.php
ErrorDocument 401 /<forum_directory>/401_forum.php
ErrorDocument 403 /<forum_directory>/403_forum.php
ErrorDocument 404 /<forum_directory>/404_forum.php
ErrorDocument 500 /<forum_directory>/500_forum.php
............................................................
  • You can easily customize the templates for each indivual error page.
    The templates can be found grouped together under HTTP Error Templates.
  • For the purpose of this hack, I used very generic error messages.
    You can easily edit any of the phrases to best suit your site.
    Each page uses three different vBulletin phrases.
    1. The error name in the navbit. (for example... jab_404_error_navbit )
    2. The title of the error table. (for example... jab_404_error_title )
    3. The message shown for the error. (for example... jab_404_error_message )

Updates:

Version 1.0 (03/05/09):
  • Release of this hack for vBulletin version 3.8.0

MAKE SURE YOU CLICK !

Screenshots:
These show the five error pages in vBulletin's default style.
Your pages will use your own forum's style and look just like your other pages.
In the "400 Bad Request" screen shot, I indicated the three phrases that can be edited.

Download

File Type: %1$s custom_http_error_pages.zip (6.4 KB, 551 downloads)

Addons

Screenshots

Click image for larger version
Name:	http_error_400.jpg
Views:	1182
Size:	104.9 KB
ID:	95987   Click image for larger version
Name:	http_error_401.jpg
Views:	738
Size:	74.0 KB
ID:	95988   Click image for larger version
Name:	http_error_403.jpg
Views:	533
Size:	68.0 KB
ID:	95989   Click image for larger version
Name:	http_error_404.jpg
Views:	531
Size:	68.1 KB
ID:	95990  

Click image for larger version
Name:	http_error_500.jpg
Views:	544
Size:	66.6 KB
ID:	95991  

Similar Mods

Custom HTTP Error Pages vBulletin 3.5 Add-ons
Custom Error Pages vBulletin 3.0 Full Releases
Custom HTTP Error Documents vBulletin 2.x Full Releases

vblts.ru supports vBulletin®, 2022-2024