Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
vB Error Pages 1.0 Details »»
vB Error Pages 1.0
Version: 1.0, by Spikeman Spikeman is offline
Developer Last Online: Apr 2014 Show Printable Version Email this Page

Category: Administrative and Maintenance Tools - Version: 3.6.4 Rating:
Released: 11-23-2006 Last Update: 11-23-2006 Installs: 113
Uses Plugins
Additional Files  
No support by the author.

This was requested here https://vborg.vbsupport.ru/showthread.php?t=131172

What Hack does:-

When a user receives an error message they will be served one of the appropriate error pages within your vBulletin site.

Why?

More often when a user hits an error message on a site they will hit the back button and leave, this way the user is already on your site and can navigate into your site.

Creates pages for 400, 401, 403, 404 & 500 error messages
Installation:-

Important your server must be able to support .htaccess file.

1. Unzip
2. Upload the contents of forum folder to your forum folder.
2. Add the contents of text file to your .htaccess file at the root of the server, you may need to edit and or rename the paths to suit your setup.
3. Import the product file.
4. You are done.

v1.0 - First Release

If you use it please install it

Show Your Support

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

Comments
  #22  
Old 11-24-2006, 05:46 PM
redlabour's Avatar
redlabour redlabour is offline
 
Join Date: Mar 2004
Location: Wuppertal, NRW, Germany
Posts: 1,541
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Spikeman View Post
well, 301=moved permanently, auto redirect? I will look into that, i checked w3.org whilst I was writing the hack, and opted to leave out alot of codes for the reason of doing more research for compliance. That could bring in a 410(gone) if the server knows, through some internal configurable script that it has permantly unavailable and has no forwarding address...... and it goes on and on as you may know.... there are a few things to look into, but it will take some time I believe. I will get wol and phrases done first and then take it from there.

Yes I think all of these will need to go through AdminCp so they can be turned on and off or as you say redirect for the vBa users on cmps_index.php
Great ....
Reply With Quote
  #23  
Old 11-24-2006, 05:58 PM
Genjuro-Sensei's Avatar
Genjuro-Sensei Genjuro-Sensei is offline
 
Join Date: Jan 2006
Location: Alone in the Dark
Posts: 30
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

How can i use this on host that not allow htaccess files ?

Thx !
Reply With Quote
  #24  
Old 11-24-2006, 06:03 PM
Spikeman Spikeman is offline
 
Join Date: Aug 2006
Location: UK
Posts: 203
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Genjuro-Sensei View Post
How can i use this on host that not allow htaccess files ?

Thx !
My apologies, I did forget to put in the header that you need .htaccess file. It is not posssible to run this hack without.

I presume you are on windows?
Reply With Quote
  #25  
Old 11-24-2006, 06:09 PM
Snake's Avatar
Snake Snake is offline
 
Join Date: Mar 2005
Location: Cleveland, OH
Posts: 3,832
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for this!
Reply With Quote
  #26  
Old 11-24-2006, 06:18 PM
dilbert dilbert is offline
 
Join Date: Nov 2004
Location: Boston
Posts: 251
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Spikeman View Post
I presume you are on windows?
Does this mean Windows folks can't run this mod?
Reply With Quote
  #27  
Old 11-24-2006, 06:18 PM
Spikeman Spikeman is offline
 
Join Date: Aug 2006
Location: UK
Posts: 203
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by redlabour View Post
Another Suggestion - is it possible to give a 301 back at 404 Errors to forum/index.php ?
Thinking about this, it will need some db work for storage of urls on the redirect, input through acp for example.

redirect 301 /product.php to http://domain.com/productlist.php
redirect 301 /download.php to http://domain.com/downloadhacks.php

is this more what you had in mind?
Reply With Quote
  #28  
Old 11-24-2006, 06:33 PM
Spikeman Spikeman is offline
 
Join Date: Aug 2006
Location: UK
Posts: 203
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by dilbert View Post
Does this mean Windows folks can't run this mod?
You can not run files on windows that start with a . so unfortunatly not.

However, I do know there is alot of talk about windows, apache and .htaccess on the net, but this is mainly down to password use. Maybe you can find a solution. try here this is a web host writing about windows and apache with .htaccess http://customersupport.websiteprovid...ials/htaccess/
Reply With Quote
  #29  
Old 11-24-2006, 06:39 PM
Spikeman Spikeman is offline
 
Join Date: Aug 2006
Location: UK
Posts: 203
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by bashy View Post
Hi

Could this be done for the database errors?
vB already has database error reporting built in reported by email as you probably now, generally when you get a db error the only place you are going is refresh or back.
Reply With Quote
  #30  
Old 11-24-2006, 07:08 PM
voteforbird's Avatar
voteforbird voteforbird is offline
 
Join Date: Jul 2006
Posts: 121
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hm? can't get it to work right. It shows properly for my root directory, ex:
http://www.volconvo.com/asdf
?but my forums directory still shows a plain "Page not found" message, ex:
http://www.volconvo.com/forums/asdf

Why is this?
Reply With Quote
  #31  
Old 11-24-2006, 07:29 PM
bashy bashy is offline
 
Join Date: Nov 2005
Posts: 2,544
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thats a shame, the standard db error page is pretty pants, would be better if it showed the error on a page inside the forum

Quote:
Originally Posted by Spikeman View Post
vB already has database error reporting built in reported by email as you probably now, generally when you get a db error the only place you are going is refresh or back.
Reply With Quote
Reply


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 08:23 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.08116 seconds
  • Memory Usage 2,310KB
  • 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
  • (7)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)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