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 10-14-2005 09:32 PM

The first thing I originally tried, which is the bit of code you said is wrong, does actually work.

Well, let me rephrase that.

It works without using the construct_phrase function.

This is what I'm using, and it works, and is about to be uploaded:
Code:

$error['title'] = $vbphrase['error_title_' . $e];


JJR512 10-14-2005 09:41 PM

The hack is now updated to use phrases for, I believe, all text displayed.

If you have an earlier version, upgrade instructions are now in the hack description above.

Andreas 10-15-2005 04:45 AM

Quote:

Originally Posted by Dark Visor
Quote:

$error['title'] = construct_phrase($vbphrase['error_title_' . $e]);
Is wrong. Try:

Code:

$error['title'] = construct_phrase($vbphrase["error_title_$e"]);

Hmm, why should it be wrong?

@JJR512
Wasn't the previous version a product as well?
Then you don't have to worry about old templates or such; product management will take care of that.
The User just has to reimport the XML :)

JJR512 10-17-2005 03:40 PM

I didn't realize that. So when you import a product, using the overwrite, it will also remove any templates with that product's name that are not in the new version of the product? Wow. Great stuff! :)

JJR512 10-17-2005 05:10 PM

Note: The product file has been updated to correct the "refresh" and "back" messages be actual links that will refresh the page or go back to the previous page. The links were accidentally converted to text when I was converting the original templates into phrases.

If you had the 2.1.0 version, you only need to re-add the product file, overwriting the previous version. For any other earlier version, download the new httperrors211.zip file and follow the same instructions already posted for upgrading to 2.1.0.

oglsmm 10-26-2005 02:39 PM

I also am getting a lot of people reported as "Viewing HTTP Error" on the Who's Online page, when i know they are not seeing an error. I don't have anything in my .httaccess file either.

Snake 10-26-2005 06:45 PM

Same here!

Delphiprogrammi 10-26-2005 09:00 PM

installed no problem found so far

Snake 10-26-2005 09:04 PM

It's working all fine now. Thanks again. :)

JJR512 10-27-2005 12:09 PM

Quote:

Originally Posted by Aftermath
It's working all fine now. Thanks again. :)

Did you do anything to fix the problem?


All times are GMT. The time now is 11:58 AM.

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.01263 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
  • (2)bbcode_code_printable
  • (3)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