Previous Thread
Next Thread
Print Thread
Rate Thread
#316990 05/17/2008 6:56 PM
Joined: Apr 2001
Posts: 96
Power User
Power User
Joined: Apr 2001
Posts: 96

Custom 403 & 404 Error Pages for UBB Threads 7.3

This add-on will create 403 Forbidden and 404 Not Found
error pages for your site, embedded into Threads itself.

This will NOT override Thread's current error-handling,
but complements it as this should eliminate any "errors"
cluttering up your server log about "missing error pages".
These WILL work as error pages in Threads that are not part
of the scripts themselves (e.g., erroneous directory
structure, etc) that sometimes come up.

You can work off these if you want to create other error
pages (400, 401) but I purposely didn't create 500 (Internal
Server Error) as it'd be kinda pointless if Threads doesn't
come up anyway. (I use a standard 500.shtml file for that)

No current files are modified (besides .htaccess)

6 new files:

/languages/english/403.php
/languages/english/404.php
/scripts/403.inc.php
/scripts/404.inc.php
/templates/default/403.tpl
/templates/default/404.tpl

------------------------Demo------------------------

http://www.gangsterbb.net/threads/ubbthreads.php?ubb=403
http://www.gangsterbb.net/threads/ubbthreads.php?ubb=404

Note: You will see errors at these links,
because I am demo'ing custom error pages. laugh

--------------------Instructions--------------------

Enclosed in zip file

Attachments
ErrorPages7.3.zip (7.26 KB, 4 downloads)
Ver 1.0.0
SHA1: 3bf4432e6ac8239babd72c5dda8c803ba098c5e5

Last edited by jgeoff; 05/18/2008 3:59 AM.

GangsterBB.NET (Ver. 7.3)
2007 Content Rulez Contest - Honorable Mention
UBB.classic 6.7.2 - RIP
Browser: Firefox 2.0
Sponsored Links
Entire Thread
Subject Posted By Posted
[7.3] Custom Error Pages jgeoff 05/18/2008 1:56 AM
Re: [7.3] Custom Error Pages Gizmo 05/18/2008 3:31 AM
Re: [7.3] Custom Error Pages jgeoff 05/18/2008 5:18 AM
Re: [7.3] Custom Error Pages Gizmo 05/18/2008 6:34 AM
Re: [7.3] Custom Error Pages jgeoff 05/18/2008 6:39 AM
Re: [7.3] Custom Error Pages Ian_W 05/18/2008 11:00 AM

Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
JAISP
JAISP
PA
Posts: 449
Joined: February 2008
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20221218)