Version: 2.1.3, by JJR512
Developer Last Online: Jun 2006
Version: 3.5.0
Rating:
Released: 10-11-2005
Last Update: 10-27-2005
Installs: 60
Uses Plugins Template Edits
Additional Files
No support by the author.
This is a re-write of a hack I made for vBulletin 2.x.
What this hack does is use vBulletin to generate HTTP error pages (such as the 404 - Not Found error). For those of you trying to get an all-vB-based-site, this addition will help complete your quest. Also for anyone who wants a nicer looking HTTP error message than the standard blah.
Note: Your website needs to be on a server that uses a .htaccess file, a file located in your root public directory. This may only be servers using the Apache HTTP server, I'm not sure if any other HTTP server, like Microsoft IIS, uses that or not. Some more notes on this are included in the instructions.txt file.
There are no vB files to modify. There is one file to upload, and one product to install, which will install several new templates and two plugins. The plugins are for Who's Online display. The templates contain the actual messages. No existing templates are modified.
Special thanks to KirbyDE for showing me how to group templates using a plugin rather than a code modification.
This hack has now been re-written to use phrases. If you have a previous version, here's what you can do to upgrade.
1. Upload the new httperror.php file.
2. Add the product-jjr512_httperr.xml, overwriting the existing. (All old non-used templates should be removed automatically. This version uses only two templates: HTTP_ERROR and http_error_bit.)
If you don't have anthing in your .htaccess file, how is the hack working at all? Sure, if you go to www.yourdomain.com/forums/httperror.php?e=404 you'll see the error page, but what if you go to www.yourdomain.com/xkaooe3991.html, a file which probably doesn't exist on your server, do you get the error page from my hack then? Because as far as I'm aware, custom error pages need to be "pointed" to by the .htaccess file, otherwise you get the generic error page. And if I'm wrong about that, then I guess I need to be re-educated.
I meant there is nothing in there but the stuff from this hack.
After I installed this a lot of my members complain that they keep seing it in pages that exist, especially on the home page of the site!
Sorry about that. I'm actually not really sure how to help you. The problem would seem to be with the webserver itself, since it's directing people to the error pages. It could be that the .htaccess file isn't configured properly or there is some other problem related to it.
You may want to ask your webhost technical support what's wrong with your .htaccess file. Explain to them you're trying to use custom error pages and show them what you put in that file.
If they are able to help you, please tell us here what they did. If they can't help you (or nobody else here can), then unfortunately you may need to uninstall and not use this hack.
Sorry about that. I'm actually not really sure how to help you. The problem would seem to be with the webserver itself, since it's directing people to the error pages. It could be that the .htaccess file isn't configured properly or there is some other problem related to it.
You may want to ask your webhost technical support what's wrong with your .htaccess file. Explain to them you're trying to use custom error pages and show them what you put in that file.
If they are able to help you, please tell us here what they did. If they can't help you (or nobody else here can), then unfortunately you may need to uninstall and not use this hack.
I already asked them and they said that everything is ok!
Btw this only happens at the home page of the site...
Are you sure it has nothing to do with the hack? Cause I read here that other members have it too and it only started happening after the install of it...
It's possible, but if it is, it's beyond my comprehension. It defies logic. The operation of this hack should be extremely simple. Either an error condition occurs, in which case you are directed to the appropriate page generated by this hack, or else there is no error condition and you get to the correct page on your site. I can't understand how someone would get to the error message without there being any error condition. I'm sorry.
great hack, it is working perfectly except in whoisonline, it shows when a user is seeing an error page: Unknown location instead of the phrase viewing error.