![]() |
|
Mod Options |
![]() |
|||||||||
This modification is in the archives.
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.) Download Now Only licensed members can download files, Click Here for more information. Supporters / CoAuthors Show Your Support
No members have liked this post.
|
![]() |
||||
Mod | Developer | Type | Replies | Last Post |
Custom HTTP Error Documents | JJR512 | vBulletin 2.x Full Releases | 43 | 19 Apr 2004 08:08 |
#46
|
|||
|
|||
Originally Posted by Delphiprogrammi
just tryed this absolute path and no beginning "/" but the problem is elsewhere i think my apache error_log shows this
No members have liked this post.
|
#47
|
||||
|
||||
well,
punch me but all of a sudden it started to work.All i did before it started to work is just access the page that would bring up that error page eg http://www.yourserver.com/httperror.php?e=401 and the line in my .htaccess for errorcode 401 is
also i found while searching on google that the leading "/" means to be a local document not a url No members have liked this post.
|
#48
|
|||
|
|||
Thanks a lot, it's great, it saved me lots of time
![]() No members have liked this post.
|
#49
|
||||
|
||||
I will shortly be changing the instructions to not have the full URL to the file, just the local file name, as in Delphiprogrammi's code example in Post# 47. Maybe it only applies to the one type of error, maybe there are others, so just in case, I'm recommending that for all of them.
No members have liked this post.
|
#50
|
|||
|
|||
Originally Posted by JJR512
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!
No members have liked this post.
|
#51
|
||||
|
||||
Originally Posted by JJR512
I meant there is nothing in there but the stuff from this hack.
Sorry for the confusion.
__________________
vBulletin - 3.6.1 No members have liked this post.
|
#52
|
|||
|
|||
Originally Posted by Loukrhtia
*bump* :nervous:
No members have liked this post.
|
#53
|
||||
|
||||
Originally Posted by Loukrhtia
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. No members have liked this post.
|
#54
|
|||
|
|||
Originally Posted by JJR512
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... No members have liked this post.
|
#55
|
||||
|
||||
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.
No members have liked this post.
|
#56
|
|||
|
|||
Hi JJR512,
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. How do I fix this Regards No members have liked this post.
|
#57
|
||||
|
||||
Is the plugin active?
No members have liked this post.
|
#58
|
|||
|
|||
__________________
Gamerzplanet.Net - The best place to get the latest cracks, hacks, cheats for all popular online games!! GzP Upload.NET - Fast and Free Image Hosting!! Online Flash Games - An online flash game with 10,000+ games!! No members have liked this post.
|
#59
|
||||
|
||||
I don't see any broken images, it's working fine.
![]() No members have liked this post.
|
#60
|
|||
|
|||
Glad to know I'm not alone, I've been using the old and new versions of this and everyone is EXPERINCING and error, even when they aren't.
WTF? No members have liked this post.
|
![]() |
«
Previous Mod
|
Next Mod
»
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Mod Options | |
|
|
New To Site? | Need Help? |
All times are GMT. The time now is 23:38.