The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
vB4 Error Pages Details »» | |||||||||||||||||||||||||||||||||||||
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:
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:
I include a modified copy of the vBulletin default .htaccess file in the mod. If you are not already using .htaccess, or if your existing file is the default vbulletin one, you are welcome to simply upload this to the root of your webserver and/or replace the existing file. DO NOT DO THIS if you have made changes to the default file or if you have a custom file! Please mark Installed and let me know if there are any issues or suggestions! Download Now
Screenshots
Supporters / CoAuthors Show Your Support
|
2 благодарности(ей) от: | ||
iiioroh, RichieBoy67 |
Comments |
#12
|
|||
|
|||
I have included a modified copy of the vBulletin default .htaccess file in the mod now. If you are not already using .htaccess, or if your existing file is the default vbulletin one, you can simply upload this to the root of your webserver and/or replace the existing file.
DO NOT DO THIS if you have made changes to the default file or if you have a custom file! |
#13
|
||||
|
||||
Easy, Simple and just plain works! Thank You!
|
#14
|
|||
|
|||
Glad to hear it, thanks!
|
#15
|
|||
|
|||
is this tweak also compatible for custom themes? PRO theme
|
#16
|
||||
|
||||
The pages skinned to the custom style on my board no problem.
|
#17
|
|||
|
|||
It depends on how heavily modified your theme is. I wrote this hack only to work with the default, so you might need to tweak it a little bit if there are some serious changes to your forum look & feel.
I am running custom themes on my forums and have modified this hack slightly to better blend in with them, but it would have still worked w/o those changes... |
#18
|
||||
|
||||
i just installed it on 4.2.0. when i navigate to www.domain.com/404.php the error page shows.
I deleted a page to see it will show me your error page...it did not it's still showing vbulletin error page No Thread specified. If you followed a valid link, please notify the administrator I av added the ErrorDocument on my.htssacess file below. Though my .htacess file had been customized. Please why has it not change the vbulletin error page to the one i installed? |
#19
|
|||
|
|||
Quote:
https://vborg.vbsupport.ru/showthread.php?t=287936 it works 100% also ensure you follow details i posted for it here https://vborg.vbsupport.ru/showpost....0&postcount=11 |
#20
|
|||
|
|||
Thanks for this nice mod.
Installed it on my test server and the error pages look very nice. However I have a small issue: I followed your instructions for installing and changing the .htaccess file. When I go to Code:
http://mydomain.com/~tcmasorg/forums/401.php but then after a few seconds I get automatically redirected to a blank page and I saw in my browser address: Code:
http://mydomain.com/~tcmasorg/forums/ for reference here is my .htaccess file: Code:
RewriteEngine On RewriteRule ^Classifieds/([^/]*)/ ./classifieds.php?do=main&catid=$1 [L,NC] RewriteRule ^For-Sale/([^/]*)/ ./classifieds.php?do=viewitem&itemid=$1 [L,NC] RewriteRule ^Wanted/([^/]*)/ ./classifieds.php?do=viewitem&itemid=$1 [L,NC] RewriteRule ^Auction/([^/]*)/ ./classifieds.php?do=viewitem&itemid=$1 [L,NC] RewriteRule ^Seller/([^/]*)/ ./classifieds.php?do=browseuser&userid=$1 [L,NC] RewriteRule ^Archives/([^/]*)/ ./classifieds.php?do=viewarchived&itemid=$1 [L,NC] # Send hardcoded ipa scores to arcade instead RewriteCond %{QUERY_STRING} act=Arcade [OR] RewriteCond %{QUERY_STRING} autocom=arcade RewriteRule ^index.php arcade.php [L,QSA] ErrorDocument 400 /forums/400.php ErrorDocument 401 /forums/401.php ErrorDocument 403 /forums/403.php ErrorDocument 404 /forums/404.php ErrorDocument 500 /forums/500.php |
#21
|
|||
|
|||
ok so ensure that there is no white spaces for
ErrorDocument 400 /forums/400.php ErrorDocument 401 /forums/401.php ErrorDocument 403 /forums/403.php ErrorDocument 404 /forums/404.php ErrorDocument 500 /forums/500.php & # Send hardcoded ipa scores to arcade instead RewriteCond %{QUERY_STRING} act=Arcade [OR] RewriteCond %{QUERY_STRING} autocom=arcade RewriteRule ^index.php arcade.php [L,QSA] there should be no spaces before or after you dont need to type anything for the errors as long as you have this mod active and fopr example if you type blahblah.php it will show the appropriate error the redirects are auto see if you type http://mydomain.com/~tcmasorg/forums/ it works |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|