Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Create 404 Page Details »
Create 404 Page
Mod Version: 1.00, by ALBCODERS (Member) ALBCODERS is offline
Developer Last Online: Dec 2014 I like it Show Printable Version Email this Page

vB Version: 4.0.x Rating: (3 votes - 3.67 average) Installs: 44
Released: 29 Jun 2010 Last Update: 29 Dec 2010 Downloads: 200
Not Supported Template Edits  

I am not a proffessional Coder but I just fixed a 404 page for my Forum.
If you want to create one follow me;

Crate a new template wich will called 404_error on your style:


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

Change the text (( PUT YOUR CODE OR IMAGE HERE )) whith your Code that you want.

So Now you need a 404.php lets create one;


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

Now open .htaccess file and add this ;

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

Download Now

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

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
  #16  
Old 05 Jun 2014, 21:34
gageb gageb is offline
 
Join Date: May 2013
works!!!!! nice
__________________
www.tunisia-land.com
Reply With Quote
  #17  
Old 10 Jun 2014, 05:47
DemOnstar's Avatar
DemOnstar DemOnstar is offline
 
Join Date: Dec 2012
I tried this but it just kept picking up the default style and not the style I am using.
If anybody knows a solution, then please drop it here.

Thanks...
Reply With Quote
  #18  
Old 12 Aug 2014, 07:49
thetechgenius's Avatar
thetechgenius thetechgenius is offline
 
Join Date: Jun 2014
If you just want a custom error page without your forum, you could setup the Error Page(s) with .htaccess/web.config.

Example:

.htaccess (unix)

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



This is how I did mine, on my Dedicated Box running Windows Server 2008R2. But I really customized my error pages, with CSS, HTML, and Images. Treat the error pages as just another HTML file, and do what you want. Link to a CSS file, an Image, etc... Actually, you can search google for some open source error pages, there are a lot of really nice custom and open source Error Pages out there.

web.config (windows)

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

This is just another way of adding your own custom error pages, without using your vBulletin Style. All credit still goes to ALBCODERS.

Last edited by thetechgenius; 12 Aug 2014 at 07:55.
Reply With Quote
  #19  
Old 12 Aug 2014, 12:00
K4GAP K4GAP is offline
 
Join Date: Mar 2008
I confiscated the one I'm using. (I'm such a heel)

Can't remember were I saw it but I borrowed it
__________________

Reply With Quote
  #20  
Old 05 Oct 2015, 11:54
friendlymela's Avatar
friendlymela friendlymela is offline
 
Join Date: Dec 2012
Real name: Zeeshan Shams
this is good one
Reply With Quote
  #21  
Old 19 Jan 2016, 16:04
gnrx gnrx is offline
 
Join Date: Apr 2009
Hi,
I use this code for my 404.

Works fine in vb 4.2.3 but only if I upload the .htaccess and 404.php to my forum folder, if I upload this files to my root folder (public_html) don't work and appears this error:


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

I edit the 404.php for this line for this change:

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

But continue the error.

Only if I upload this files to my forum folder works fine.

Thank you very much!
Reply With Quote
  #22  
Old 29 Oct 2018, 11:04
gnrx gnrx is offline
 
Join Date: Apr 2009
Hello.
Yes, work fine (and then work like indicate en my last reply )

I try to add a code for, after x seconds, redirect to main page, but I can't...

I try some differents codes, like this:


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

But if insert this code in 404.php not work (have a error of Cloudflare) and if insert in template...obviously also not work...

Regards.
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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 06:56.

Layout Options | Width: Wide Color: