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

Reply
 
Thread Tools
HTTP Error Pages PRO (NOW FREE) Details »»
HTTP Error Pages PRO (NOW FREE)
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.5 Rating:
Released: 07-31-2010 Last Update: 07-31-2010 Installs: 31
Uses Plugins Auto-Templates
Additional Files Translations  
No support by the author.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
!Brought to you by eRepTalk.co.uk (http://www.ereptalk.co.uk)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
SUGGESTIONS/FEEDBACK WELCOME FOR ADDITIONAL FEATURES

its been a long time since this MOD was released as PRO, now i have decided to offer this to everyone FREE

just to let people know that 95% of the time a 404 error message will appear due to 2 things

1) how your webhost if configured

2) if you have a VPS/Dedicated server
if this is the case all error codes will work for the domain you want, you may need to contact your VPS/Dedicted Server Provider for support on this issue


Stylvars
Re-Added due to testing features
more will be added in the next release

Please remember to click Mark as Installed if you use this product.

Support requests from members who have not marked this as installed will be considered low priority.

Name: HTTP Error Pages
Version: 4.0.2
Description:
This hack allows you to use vBulletin template driven pages for 400, 401, 403, 404 and 500 webserver error pages that will perfectly match your own forum's design.
Compatible with: 4.0.2+ vBulletin versions.

Requirements:
vBulletin version 4.0.x


Specific Features:-
AdminCP Options:

Change Title Colour using HEX or names (E.g FFFF00). (Through Stylevars)
Change content Colour using HEX or names (E.g FFFF00). (Through Stylevars)
Change Title for Standard HTTP Error (401,403,404,405). (Admincp)
This is not phrased and easier for you to change the titles of each error, no need to edit phrases in language and phrases section.
Change Content of Standard HTTP Error (401,403,404,405) (Admincp)
This is not phrased and easier for you to change the titles of each error, no need to edit phrases in language and phrases section.
Online Location and Who's Online Viewable.
More desciptive, easier to userstand the layout.
2 Stylars Added. (ErrorPages) (Through Stylevars)

Other Info: Header and Title Removed
our team decided to remove this due to a request made by a vbulletin member, understanding that reason makes the error pages more organised and not just a standard vbulletin page as it has been customised to look more like an HTTP Error page using alot of vbulletin template features.

Removed vbulletin Notices for HTTP Error pages
due to this already being available in the header, this was not meant to be part of the MOD, therefore our team removed it

W3C Validated

Donation Welcome


Requested Features Addtions for next release
please PM or leave a message on this section, information will be added or considered for th next release

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
2 благодарности(ей) от:
danswano, Teascu Dorin

Comments
  #22  
Old 06-24-2011, 08:39 AM
TeknoSounds TeknoSounds is offline
 
Join Date: Nov 2006
Location: TX
Posts: 435
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

not everyone has or can afford cPanel...?
Reply With Quote
  #23  
Old 06-24-2011, 01:45 PM
Crotan's Avatar
Crotan Crotan is offline
 
Join Date: Feb 2010
Posts: 249
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by fxwoody View Post
Why don't u guys simply use cPanel to make your own error page???

Just a remark
Well I don't think that's the point of this mod. Its not for custom error pages where you tell someone their a ++++, its for vbulletin template error pages that match the look and feel of your site.

I guess I should also ask if the two errors in that will show on online.php were ever fixed?

I get the two Parse error: syntax error, unexpected T_CASE if I enable this mod, so I'm assuming something changed recently or the update never happened for the mod
Reply With Quote
  #24  
Old 07-03-2011, 04:23 PM
danswano danswano is offline
 
Join Date: Jan 2009
Posts: 33
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

How to give the error page a title in the browser tab instead of the actual link ?
Reply With Quote
  #25  
Old 07-03-2011, 05:09 PM
sweetpotato sweetpotato is offline
 
Join Date: Oct 2010
Posts: 239
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

How do I find the .htaccess file on my server?
Thanks, I'm a novice
Reply With Quote
  #26  
Old 07-03-2011, 11:00 PM
Krisstoffer Krisstoffer is offline
 
Join Date: Jul 2011
Location: Christchurch
Posts: 3
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

mod works fine here with nginx, only change needed is of course the instructions for apache won't work for nginx but they are simple enough:
Code:
error_page    400 /forum_400.php;
error_page    401 /forum_401.php;
error_page    403 /forum_403.php;
error_page    404 /forum_404.php;
error_page    500 /forum_500.php;
You could also go along the lines of:
Code:
error_page    500 501 502 503 504 /forum_500.php;
Reply With Quote
  #27  
Old 07-23-2011, 04:44 AM
archet1337's Avatar
archet1337 archet1337 is offline
 
Join Date: Sep 2009
Location: Norway
Posts: 251
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This mod looks really promising, but I cannot seem to get it to work on my 4.1.4 board.

If I try to point the browser to a page that does not exist it only comes up with a blank page saying "Page not found."

Have tried Chrome, FireFox 4, Opera and IE9. All display the same message.

I'm using vbSEO if that matters.

Any help would be much appreciated
Reply With Quote
  #28  
Old 08-05-2011, 11:12 PM
archet1337's Avatar
archet1337 archet1337 is offline
 
Join Date: Sep 2009
Location: Norway
Posts: 251
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have done some testing and found that invalid image urls do work with the 404 redirect, but not page urls.

Have also had my host look into this and see if it might be a server-side problem, but they said it probably was the redirect code that was the problem.

Does anyone know how I can fix this so that it redirects all urls, not only images?

Code of the 404 custom page:

Code:
<?php

// ####################### SET PHP ENVIRONMENT ###########################
error_reporting(E_ALL & ~E_NOTICE);

// #################### DEFINE IMPORTANT CONSTANTS #######################

define('THIS_SCRIPT', 'forum_404');
define('CSRF_PROTECTION', true);  
// change this depending on your filename

// ################### PRE-CACHE TEMPLATES AND DATA ######################
// get special phrase groups
$phrasegroups = array();

// get special data templates from the datastore
$specialtemplates = array();

// pre-cache templates used by all actions
$globaltemplates = array('http_error_404',
);

// pre-cache templates used by specific actions
$actiontemplates = array();

// ######################### REQUIRE BACK-END ############################
// if your page is outside of your normal vb forums directory, you should change directories by uncommenting the next line
// chdir ('/path/to/your/forums');
require_once('./global.php');

// #######################################################################
// ######################## START MAIN SCRIPT ############################
// #######################################################################

$navbar = render_navbar_template($navbits);

// ###### YOUR CUSTOM CODE GOES HERE #####

// ###### NOW YOUR TEMPLATE IS BEING RENDERED ######

$templater = vB_Template::create('http_error_404');
$templater->register_page_templates();
$templater->register('navbar', $navbar);
$templater->register('pagetitle', $pagetitle);
print_output($templater->render());

?>
Reply With Quote
  #29  
Old 01-05-2012, 05:49 AM
TheSupportForum TheSupportForum is offline
 
Join Date: Jan 2007
Posts: 1,158
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

over the next week weeks i'll be looking into releasing a new PRO version
Reply With Quote
  #30  
Old 02-21-2012, 10:12 AM
BrightStar's Avatar
BrightStar BrightStar is offline
 
Join Date: Nov 2008
Location: UK
Posts: 164
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Has there been an updated release to this mod as I get parse errors etc when viewing who is online.

Thanks for the mod anyway, it's great work
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 06:07 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.07002 seconds
  • Memory Usage 2,303KB
  • Queries Executed 24 (?)
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
  • (3)bbcode_code
  • (1)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
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (2)post_thanks_box_bit
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)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
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • 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