The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
HTTP Error Pages PRO (NOW FREE) Details »» | |||||||||||||||||||||||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ !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
|
2 благодарности(ей) от: | ||
danswano, Teascu Dorin |
Comments |
#22
|
|||
|
|||
not everyone has or can afford cPanel...?
|
#23
|
||||
|
||||
Quote:
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 |
#24
|
|||
|
|||
How to give the error page a title in the browser tab instead of the actual link ?
|
#25
|
|||
|
|||
How do I find the .htaccess file on my server?
Thanks, I'm a novice |
#26
|
|||
|
|||
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; Code:
error_page 500 501 502 503 504 /forum_500.php; |
#27
|
||||
|
||||
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 |
#28
|
||||
|
||||
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()); ?> |
#29
|
|||
|
|||
over the next week weeks i'll be looking into releasing a new PRO version
|
#30
|
||||
|
||||
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 |
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|