MyBB Community Forums

Full Version: How To Redriect to.....
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I was wondering is there away to close mybb and have it redirect to an under construction page instead of the the maintenance page so that all users except admin see the under construction page.
simple method could be to rename your index.php AND use another index.php file to show whatever you want ..

you can actually use html content for the index file without any specific php code

<html>
<head>
<title>construction</title>
</head>
<p>&nbsp;</p>
<h1>site under construction</h1>
</html>
Well I want to replace the open close of mybb so when you set it to closed you get something like this http://themeforest.net/item/coming-soon-...YLUSDESIGN. But I do not know where to find the open/close template/files.
Just hoping that if I set the board to close i could get it to redirect to a html file. But being a admin I could still work on the site and see site while all others see coming soon page.
So I am wondering how to achieve this
Can someone at least point out the open/closed board templates I found this one
global_boardclosed_warning

But it seams to be for if the admin. I would like to find the template that shows
"This bulletin board is currently closed. The Administrator has specified the reason as to why below.
These forums are currently closed for maintenance. Please check back later."

to users that are not admin coming to board
O.k. so now I found this
http://community.mybb.com/thread-19527.html

So how would I make a new template and set it so when board is closed.
I know how to make a template and did so but now what do I do to the global.php lines 596-603. What do I change