Go Back   vb.org Archive > vBulletin Modifications > Archive > Modification Graveyard
FAQ Community Calendar Today's Posts Search

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
  #12  
Old 08-10-2010, 06:00 AM
Bluefin221 Bluefin221 is offline
 
Join Date: Jul 2008
Location: Scotland
Posts: 290
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Where exactly should I be editing the files to display my own messages?
Reply With Quote
  #13  
Old 08-11-2010, 08:46 AM
Bluefin221 Bluefin221 is offline
 
Join Date: Jul 2008
Location: Scotland
Posts: 290
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This throws up errors on the who's online when I deactivate the mod the errors go away.

The error when trying to view who's online
Error1
Code:
Parse error:  syntax error, unexpected T_CASE in /home/myfolder/public_html/forums/includes/functions_online.php(2197) : eval()'d code on line 18
Error2
Code:
Parse error:  syntax error, unexpected T_CASE in /home/myfolder/public_html/forums/includes/functions_online.php(1214) : eval()'d code on line 38
Reply With Quote
  #14  
Old 08-11-2010, 04:45 PM
TheSupportForum TheSupportForum is offline
 
Join Date: Jan 2007
Posts: 1,158
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Bluefin221 View Post
Where exactly should I be editing the files to display my own messages?
these are phrases just search for part of the phrase

but will make it editable in admincp on next version
Reply With Quote
  #15  
Old 08-11-2010, 04:51 PM
Dragonsys's Avatar
Dragonsys Dragonsys is offline
 
Join Date: Jan 2008
Location: DFW, Texas
Posts: 743
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Bluefin221 View Post
This throws up errors on the who's online when I deactivate the mod the errors go away.

The error when trying to view who's online
Error1
Code:
Parse error:  syntax error, unexpected T_CASE in /home/myfolder/public_html/forums/includes/functions_online.php(2197) : eval()'d code on line 18
Error2
Code:
Parse error:  syntax error, unexpected T_CASE in /home/myfolder/public_html/forums/includes/functions_online.php(1214) : eval()'d code on line 38
Replace the following
HTTP Error Pages Pro -> Who's Online List: Online Location Unknown
replace with code with:
Code:
if ($userinfo['activity'] == '400')
{
        $userinfo['action'] = "Viewing 400 Bad Request";
        $userinfo['where'] = '<a href="400_forum.php?'.$vbulletin->session->vars[sessionurl].'">400 Bad Request</a>';
        $handled = true;
}
if ($userinfo['activity'] == '401')
{
        $userinfo['action'] = "Viewing 401 Unauthorized";
        $userinfo['where'] = '<a href="401_forum.php?'.$vbulletin->session->vars[sessionurl].'">401 Unauthorized</a>';
        $handled = true;
}
if ($userinfo['activity'] == '403')
{
        $userinfo['action'] = "Viewing 403 Forbidden";
        $userinfo['where'] = '<a href="403_forum.php?'.$vbulletin->session->vars[sessionurl].'">403 Forbidden</a>';
        $handled = true;
}
if ($userinfo['activity'] == '404')
{
        $userinfo['action'] = "Viewing 404 Not Found";
        $userinfo['where'] = '<a href="404_forum.php?'.$vbulletin->session->vars[sessionurl].'">404 Not Found</a>';
        $handled = true;
}
if ($userinfo['activity'] == '500')
{
        $userinfo['action'] = "500 Internal Server Error";
        $userinfo['where'] = '<a href="500_forum.php?'.$vbulletin->session->vars[sessionurl].'">500 Internal Server Error</a>';
        $handled = true;
}
HTTP Error Pages Pro -> Who's Online List: Online Location Process
replace code with:
Code:
if ($filename == 'forum_400.php')
{
        $userinfo['activity'] = '400';
}
if ($filename == 'forum_401.php')
{
        $userinfo['activity'] = '401';
}
if ($filename == 'forum_403.php')
{
        $userinfo['activity'] = '403';
}
if ($filename == 'forum_404.php')
{
        $userinfo['activity'] = '404';
}
if ($filename == 'forum_500.php')
{
        $userinfo['activity'] = '500';
}
Reply With Quote
  #16  
Old 08-13-2010, 11:11 PM
TheSupportForum TheSupportForum is offline
 
Join Date: Jan 2007
Posts: 1,158
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Dragonsys View Post
Replace the following
HTTP Error Pages Pro -> Who's Online List: Online Location Unknown
replace with code with:
Code:
if ($userinfo['activity'] == '400')
{
        $userinfo['action'] = "Viewing 400 Bad Request";
        $userinfo['where'] = '<a href="400_forum.php?'.$vbulletin->session->vars[sessionurl].'">400 Bad Request</a>';
        $handled = true;
}
if ($userinfo['activity'] == '401')
{
        $userinfo['action'] = "Viewing 401 Unauthorized";
        $userinfo['where'] = '<a href="401_forum.php?'.$vbulletin->session->vars[sessionurl].'">401 Unauthorized</a>';
        $handled = true;
}
if ($userinfo['activity'] == '403')
{
        $userinfo['action'] = "Viewing 403 Forbidden";
        $userinfo['where'] = '<a href="403_forum.php?'.$vbulletin->session->vars[sessionurl].'">403 Forbidden</a>';
        $handled = true;
}
if ($userinfo['activity'] == '404')
{
        $userinfo['action'] = "Viewing 404 Not Found";
        $userinfo['where'] = '<a href="404_forum.php?'.$vbulletin->session->vars[sessionurl].'">404 Not Found</a>';
        $handled = true;
}
if ($userinfo['activity'] == '500')
{
        $userinfo['action'] = "500 Internal Server Error";
        $userinfo['where'] = '<a href="500_forum.php?'.$vbulletin->session->vars[sessionurl].'">500 Internal Server Error</a>';
        $handled = true;
}
HTTP Error Pages Pro -> Who's Online List: Online Location Process
replace code with:
Code:
if ($filename == 'forum_400.php')
{
        $userinfo['activity'] = '400';
}
if ($filename == 'forum_401.php')
{
        $userinfo['activity'] = '401';
}
if ($filename == 'forum_403.php')
{
        $userinfo['activity'] = '403';
}
if ($filename == 'forum_404.php')
{
        $userinfo['activity'] = '404';
}
if ($filename == 'forum_500.php')
{
        $userinfo['activity'] = '500';
}

sorry about this issue guys, i changed the filenames thats why the error messages appears, i will ensure that this is fixed for next release
Reply With Quote
  #17  
Old 03-27-2011, 08:20 AM
TalkVirginia's Avatar
TalkVirginia TalkVirginia is offline
 
Join Date: Oct 2008
Location: Virginia
Posts: 545
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I added the ErrorDocument lines in my .htaccess and the forum_XXX.php files are in my forum root but whenever I go to a bad page or a page I know I don't have I keep getting the IE error screen "The webpage cannot be found"

Any idea why it's not redirecting to the forum_404.php?

Jim
Reply With Quote
  #18  
Old 04-06-2011, 04:29 AM
DNN DNN is offline
 
Join Date: Mar 2011
Posts: 125
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Do HTTP:// error 404 pages help boost SEO or something? I hear alot of ppl talking about optimizing those pages. I have no clue why.
Reply With Quote
  #19  
Old 04-06-2011, 04:26 PM
downloadsuk downloadsuk is offline
 
Join Date: Jul 2010
Location: China
Posts: 64
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

this mod doesn't work if you are using the .htaccess files for friendly URL rewrites supplied by vbulletin
Reply With Quote
  #20  
Old 06-24-2011, 03:38 AM
Crotan's Avatar
Crotan Crotan is offline
 
Join Date: Feb 2010
Posts: 249
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Added the lines to the .htaccess,

Uploaded files and uploaded product and no go, It managed to change from my hosts standard ad parked 404 page to now a plain page containing

"Not Found

The requested URL /forums/ouch was not found on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request."

Does this mod work with 4.1.4?
Reply With Quote
  #21  
Old 06-24-2011, 07:11 AM
fxwoody's Avatar
fxwoody fxwoody is offline
 
Join Date: Jun 2010
Location: On Earth
Posts: 291
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Why don't u guys simply use cPanel to make your own error page???

Just a remark
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 01:02 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.04729 seconds
  • Memory Usage 2,328KB
  • 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
  • (8)bbcode_code
  • (3)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
  • (11)post_thanks_box
  • (2)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (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
  • 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