vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Custom HTTP Error Pages (https://vborg.vbsupport.ru/showthread.php?t=98243)

JJR512 04-18-2006 03:41 PM

Quote:

Originally Posted by Surviver
Hello, Thank you for this great Hack!

How can I insert the navbar by an error ?

If I insert $navbar into the template , it wont't be show ...

Thank you !

mfg Surviver

PS: Sorry for my bed english

There's some code that generates $navbar that I never put into the PHP file because I didn't see the need for a navbar. In my experience when I get a 404 message I usually just go back a page and try again or try something else. I'm in the middle of some stuff right now, but I'll take a look at adding it soon.

mikelbeck 08-23-2006 01:06 PM

I've just installed this on a couple of my sites, and I like it. ;-)

Some fixes, though...

The line:

Code:

        <title>$vboptions[bbtitle] - HTTP Error $error</title>
should be:

Code:

        <title>$vboptions[bbtitle] - HTTP Error $error[title]</title>
Without that fix, the title of the page was "HTTP Error Array". Now it's "HTTP Error 404: File Not Found".

Also, after "$headinsert" add this line:

Code:

<meta name="robots" content="noindex, nofollow">
Without that fix, search engines could store the actual error page in it's index.

Snake 08-23-2006 06:43 PM

Sweet. So you're saying it should work just fine on 3.6.0? :)

mikelbeck 08-23-2006 06:47 PM

Yes, it does.

Snake 08-23-2006 06:57 PM

Thanks mikel!

dsotmoon 09-12-2006 11:52 PM

thanks for the tips and fixes, finally got my errors resolved and this hack working on 3.6.0

phovanxua 09-27-2006 08:58 PM

I got the HTTP error also (3.5.4),but when I hit the refresh page ...it's gone ....is this the right MOD for the fix .?

ChurchMedia 10-09-2006 05:05 PM

I was running this on 3.5 without any problems. I upgraded to 3.6.1 and the error screen looks like this (see attachment). It's like it's not getting the CSS info. Any ideas? Thanks for such a cool hack!

You can also see it live here:
http://www.churchmedia.net/blah

ChurchMedia 10-10-2006 10:38 PM

I found the problem. I had switched my CSS to be stored in files in the VB Style Options. I switched that off and everything is fine now.

Exitilus 01-03-2007 04:50 AM

Well I installed this on 3.6.4 with very little problems. Though for .htaccess i used an actuall URL and it seems to work fine. I think I read earlier there were some problems but seems fine so far.


All times are GMT. The time now is 05:09 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01168 seconds
  • Memory Usage 1,734KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete