Go Back   vb.org Archive > vBulletin Modifications > Archive > Modification Graveyard

Reply
 
Thread Tools
HTTP Error Pages 4.0.1 Details »»
HTTP Error Pages 4.0.1
Version: 4.0.5, by TheSupportForum TheSupportForum is offline
Developer Last Online: May 2017 Show Printable Version Email this Page

Category: Add-On Releases - Version: 4.0.2 Rating:
Released: 12-31-2009 Last Update: 01-01-2010 Installs: 40
Uses Plugins Auto-Templates
Additional Files  
No support by the author.

No Longer Available

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #22  
Old 01-08-2010, 07:22 AM
TheSupportForum TheSupportForum is offline
 
Join Date: Jan 2007
Posts: 1,158
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by wIrEs View Post
there is some bugs in the admin settings page view image uploaded, you also added the possibility to redirect the page after 5 seconds but you did not add a setting for it and are asking us to add this using .htaccess... Also i am sure that the setting "Enable error pages even while forums are closed" is useless because vbulletin wont allow any page to be access if the site is turned Off.

edit: since the plugin is only for vbulletin 4, obviously i am using vb4 ( minversion="4.0.0" )
edit: please see picture # 2, there's no text next to the home picture.
whats steps did you take to reproduce this error i have tried all combinations of settings all working
Reply With Quote
  #23  
Old 01-08-2010, 09:19 AM
Old-Git Old-Git is offline
 
Join Date: Dec 2009
Posts: 65
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Also i am sure that the setting "Enable error pages even while forums are closed" is useless because vbulletin wont allow any page to be access if the site is turned Off.
at the moment my site is locked to guest viewing while I finalise the design. If I try to access a non-existent page in the forum directory I get the login page first. Which is probably correct behaviour for this. However, if the error pages were stored at root, rather, than the Forum directory then they'd be available to every part of the web-site rather than just the VB stuff. Of-course this would only be off benefit for those who use VB only as an add-on to a bigger web-site.
Reply With Quote
  #24  
Old 01-08-2010, 05:44 PM
TimberFloorAu's Avatar
TimberFloorAu TimberFloorAu is offline
 
Join Date: May 2008
Location: Brisbane
Posts: 2,264
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

works fine for me.

We have forums in directory /forum and have added this to forum root and domain root.

Just checked error log, and all seems fine
Reply With Quote
  #25  
Old 01-08-2010, 08:33 PM
wIrEs wIrEs is offline
 
Join Date: Dec 2006
Posts: 63
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by simonhind View Post
whats steps did you take to reproduce this error i have tried all combinations of settings all working
hmm, downloaded, edited errors text, edited templates, renamed templates, phrases, php files and username.

the error pages are working and are being displayed in VB4, the problem is in admin area and also in whois online, i tried adding code to functions_online.php but this only resulted in error to display the users profiles, when i removed "case...." from functions_online.php everything works and i can view users profile.

vbulletin 4 pl 1
Reply With Quote
  #26  
Old 01-08-2010, 11:28 PM
TimberFloorAu's Avatar
TimberFloorAu TimberFloorAu is offline
 
Join Date: May 2008
Location: Brisbane
Posts: 2,264
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

k looking at this, a bit more critically.

Arent the links within the 404 page supposed to be absolute, if so.. why isnt the css being parsed.
Reply With Quote
  #27  
Old 01-08-2010, 11:58 PM
TheSupportForum TheSupportForum is offline
 
Join Date: Jan 2007
Posts: 1,158
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by TimberFloorAu View Post
k looking at this, a bit more critically.

Arent the links within the 404 page supposed to be absolute, if so.. why isnt the css being parsed.
i choose not to include it, but next release will be tested with this
Reply With Quote
  #28  
Old 01-09-2010, 02:17 AM
Neo_obs Neo_obs is offline
 
Join Date: Mar 2006
Location: Disneyland, CA
Posts: 363
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thought I would help with the WOL part. You need to create two plugins

Hook Location: online_location_process
Code:
if ($filename == '/400_forum.php' || $filename == '400_forum.php')
{
    $userinfo['activity'] = '400error';
}
if ($filename == '/401_forum.php' || $filename == '401_forum.php')
{
    $userinfo['activity'] = '401error';
}
if ($filename == '/403_forum.php' || $filename == '403_forum.php')
{
    $userinfo['activity'] = '403error';
}
if ($filename == '/404_forum.php' || $filename == '404_forum.php')
{
    $userinfo['activity'] = '404error';
}
if ($filename == '/500_forum.php' || $filename == '500_forum.php')
{
    $userinfo['activity'] = '500error';
}
The second
Hook Location: online_location_unknown
Code:
if ($userinfo['activity'] == '400error')
{
    $userinfo['action'] = '400 Error Page';
    $handled = true;
}
if ($userinfo['activity'] == '401error')
{
    $userinfo['action'] = '401 Error Page';
    $handled = true;
}
if ($userinfo['activity'] == '403error')
{
    $userinfo['action'] = '403 Error Page';
    $handled = true;
}
if ($userinfo['activity'] == '404error')
{
    $userinfo['action'] = '404 Error Page';
    $handled = true;
}
if ($userinfo['activity'] == '500error')
{
    $userinfo['action'] = '500 Error Page';
    $handled = true;
}
That should do it.

Just did it on my forum and all is working. You may want to put "Viewing 400 Error Page" if that is what you want it to show.
Reply With Quote
  #29  
Old 02-18-2010, 10:46 PM
Brew's Avatar
Brew Brew is offline
 
Join Date: Sep 2002
Posts: 359
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This would be a great mod if there were a way to easily change the message and fix the Who's Online message as per Neo_obs above.

Do you plan to update this soon?
Reply With Quote
  #30  
Old 02-18-2010, 10:57 PM
TheSupportForum TheSupportForum is offline
 
Join Date: Jan 2007
Posts: 1,158
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i plan to update most my mods by the end of the weekend
Reply With Quote
  #31  
Old 02-19-2010, 01:06 PM
Brew's Avatar
Brew Brew is offline
 
Join Date: Sep 2002
Posts: 359
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks Simon. I'll be looking forward to it

I do have a problem with the formatting in the 404 page.

The header is per the theme but the text was black (I changed it to white). When I changed the text to white the browser title now has the html text in it too.

When you update this could you remove the table header there or maybe make it a horizontal rule? Or is this a CSS thing?

Thanks!
Reply With Quote
Reply

Thread Tools

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

Forum Jump


All times are GMT. The time now is 11:37 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.04629 seconds
  • Memory Usage 2,303KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_code
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete