Code:
http://www.vbulletin.org/forum/showthread.php?t=281410
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.
I modified JamesAB's Custom HTTP Error Pages hack for vB3.8, so credit is due him for the original coding!
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.
Files: 5
Templates: 5
Time: 10 minutes
Compatible: 4.x.x
The templates are very basic and are designed to work with the default style. You may need to tweak them for your forum. They are grouped together under HTTP Error Templates.
The errors messages are fully phrased, but pretty generic. I encourage you to edit them to best suit your site. Each page uses three different vBulletin phrases:
navbit
title
message
Download product-vb4_error_pages.zip-
Pass tuoitreit.vn