Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
vB4 Error Pages Details »»
vB4 Error Pages
Mod Version: 1.0.0, by gezuvor (Coder/Designer) gezuvor is offline
Developer Last Online: Nov 2012 I like it Show Printable Version Email this Page

vB Version: 4.x.x Rating: (8 votes - 4.75 average) Installs: 41
Released: 11 Apr 2012 Last Update: 16 Apr 2012 Downloads: 213
Not Supported Uses Plugins Additional Files Re-usable Code Translations  

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

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

Only licensed members can download files, Click Here for more information.

Supporters / CoAuthors

Screenshots

Click image for larger version

Name:	400.jpg
Views:	566
Size:	64.4 KB
ID:	137688Click image for larger version

Name:	401.jpg
Views:	343
Size:	53.1 KB
ID:	137689Click image for larger version

Name:	403.jpg
Views:	230
Size:	46.5 KB
ID:	137690Click image for larger version

Name:	404.jpg
Views:	213
Size:	49.1 KB
ID:	137691Click image for larger version

Name:	500.jpg
Views:	224
Size:	47.4 KB
ID:	137692

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Comments
  #2  
Old 11 Apr 2012, 07:18
gezuvor gezuvor is offline
 
Join Date: Mar 2007
Real name: Rich
Reserved.
__________________
Reply With Quote
  #3  
Old 12 Apr 2012, 14:10
sweetpotato sweetpotato is offline
 
Join Date: Oct 2010
Really interesting, Just downloaded but feel it is difficult to work with .htaccess. Will try this well I have more free time.
Thanks,
Reply With Quote
  #4  
Old 12 Apr 2012, 14:17
Emeralda's Avatar
Emeralda Emeralda is offline
 
Join Date: Oct 2011
Real name: Sara
I think I have to first create the .htaccess file, but I dunno how >.<
__________________
Reply With Quote
  #5  
Old 12 Apr 2012, 14:51
gezuvor gezuvor is offline
 
Join Date: Mar 2007
Real name: Rich
Unfortunately, vBulletin does not have a built-in error capturing system, hence we have to rely on other internet technologies to solve this problem.

Working with .htaccess can be daunting to the uninitiated, but once you get the hang of it they are very powerful files.

There are lots of resources on the web that address .htaccess and a quick search will lead to any number of helpful tutorials.

I would offer to help further, but it's been sliced & diced 1,000 different ways already...
__________________
Reply With Quote
  #6  
Old 14 Apr 2012, 15:33
sweetpotato sweetpotato is offline
 
Join Date: Oct 2010
I use Vbulletin .htaccess file and added these lines:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Just installed and see it works. I will report if these is any problem.
Thank you for the nice mod. Really useful because I don't want user to see some error such as database errors.
Reply With Quote
  #7  
Old 15 Apr 2012, 12:17
Emeralda's Avatar
Emeralda Emeralda is offline
 
Join Date: Oct 2011
Real name: Sara
Where is vBulletin's .htaccess file stored? I haven't found one myself >.<
__________________
Reply With Quote
  #8  
Old 15 Apr 2012, 12:23
sweetpotato sweetpotato is offline
 
Join Date: Oct 2010
In the do_not_upload--->Rewrite--->Apache2
Reply With Quote
  #9  
Old 15 Apr 2012, 16:49
Emeralda's Avatar
Emeralda Emeralda is offline
 
Join Date: Oct 2011
Real name: Sara
And where do I later put it in?
__________________
Reply With Quote
  #10  
Old 15 Apr 2012, 17:40
sweetpotato sweetpotato is offline
 
Join Date: Oct 2010
In apache2 folder you will see .htaccess file. Just open it by notepad and copy and paste these lines at the end of .htaccess file:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Finally, upload the .htaccess to your forum root.
It works fine for me for the time being. I will report if there is any problem.
Reply With Quote
  #11  
Old 16 Apr 2012, 03:56
gezuvor gezuvor is offline
 
Join Date: Mar 2007
Real name: Rich
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!
__________________

Last edited by gezuvor : 16 Apr 2012 at 17:35. Reason: emphasis
Reply With Quote
  #12  
Old 16 Apr 2012, 05:55
Crotan's Avatar
Crotan Crotan is offline
 
Join Date: Feb 2010
Easy, Simple and just plain works! Thank You!
__________________
Reply With Quote
  #13  
Old 16 Apr 2012, 17:36
gezuvor gezuvor is offline
 
Join Date: Mar 2007
Real name: Rich
Glad to hear it, thanks!
__________________
Reply With Quote
  #14  
Old 18 Apr 2012, 10:12
temsamane temsamane is offline
 
Join Date: Sep 2010
is this tweak also compatible for custom themes? PRO theme
__________________
Temsamane
Reply With Quote
  #15  
Old 18 Apr 2012, 13:45
Crotan's Avatar
Crotan Crotan is offline
 
Join Date: Feb 2010
Originally Posted by temsamane View Post
is this tweak also compatible for custom themes? PRO theme
The pages skinned to the custom style on my board no problem.
__________________
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
Forum Jump


New To Site? Need Help?

All times are GMT. The time now is 18:30.

Layout Options | Width: Wide Color: