|
404 pages - Make your file not found page blend with your forum
|
|
12-03-2008, 12:51 AM
Post: #1
|
|||
|
|||
|
OK guys, I'm not a coder, so I won't be able to support this hack. Having said that, let's get to it.
This will allow someone in your forum to type http://www.leftfordeadforum.com/whole-bunch-of-text and instead of a default ugly 404 page, it will serve up a fully themed error page, that has a search box right there. Man, the people are gonna go wild for this ![]() 1. You'll need to make a new global template Admin CP > Templates > Modify / Delete > Expand "Global Templates" > Add template and paste this in it Code: <html>![]() 2. Upload the attached 404.php into your forum root 404.php (Size: 247 bytes / Downloads: 108)
3. Add this to the htaccess file in your forum's root (or create a .htaccess if you don't have one) Code: ErrorDocument 404 /404.phpThat's it, you're done! In the interest of full disclosure, I was able to put this together based on the work of others, mainly through this thread
|
|||
|
12-03-2008, 10:59 PM
Post: #2
|
|||
|
|||
|
RE: 404 pages - Make your file not found page blend with your forum
Hm, I like it. I'll do this, thanks.
|
|||
|
02-25-2009, 12:37 AM
Post: #3
|
|||
|
|||
|
RE: 404 pages - Make your file not found page blend with your forum
Nice, exactly what I was looking for.
Small note to others trying this (although it should be clear to most): * The new template should have "404" as title * Make sure you do a right click > save as on 404.php (I messed up the download on first try )
Menthix.net | Contact Me |
|||
|
02-25-2009, 01:39 AM
Post: #4
|
|||
|
|||
|
RE: 404 pages - Make your file not found page blend with your forum
I'm glad others were able to use this!
|
|||
|
02-25-2009, 03:19 AM
Post: #5
|
|||
|
|||
|
RE: 404 pages - Make your file not found page blend with your forum
I may use this later
|
|||
|
02-25-2009, 05:06 PM
Post: #6
|
|||
|
|||
|
RE: 404 pages - Make your file not found page blend with your forum
<snip - "too big"> despite many sigs on here being much larger and approved - sort it out instead of removing sigs without warning |
|||
|
02-27-2009, 06:33 PM
Post: #7
|
|||
|
|||
|
RE: 404 pages - Make your file not found page blend with your forum
I'll test this on localhost and see how it works out.
I'm not even angry. I'm being so sincere right now, even though you broke my heart and killed me. And tore me to pieces, and threw every piece into a fire. |
|||
|
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)
Search
Member List
Calendar
Help




![[Image: sig.jpg]](http://www.fiatforums.org/sig.jpg)



![[Image: logo.png]](http://gtachat.net/logo.png)
