For the life of me I can't believe mybb hasn't made it so the portal.php can be the index page of the main directory yet. I moved the portal.php to my main directory from the forums directory and it works, but it doesn't carry over the css/skin.
http://website.com/index.php <--- is actually the portal php
http://website.com/forums <-- is the actual forum directory
I did this to the portal.php:
// set the path to your forums directory here (without trailing slash)
$forumdir = "./forums";
see results of that
http://risingshadowclan.org/ -- it has no skin
The easiest way to do something like this is to change the entire "header_include" template:
<meta http-equiv="Content-Type" content="text/html; charset=$charset" />
<script type="text/javascript" src="jscripts/general.js"></script>
<link rel="stylesheet" type="text/css" href="css.php?theme=$theme[tid]" />
$newpmmsg
Change all the src and href attributes so that they run from your forum folder.
i.e.
<script type="text/javascript" src="jscripts/general.js"></script>
becomes
<script type="text/javascript" src="http://risingshadowclan.org/forums/jscripts/general.js"></script>
and
<link rel="stylesheet" type="text/css" href="css.php?theme=$theme[tid]" />
becomes
<link rel="stylesheet" type="text/css" href="http://risingshadowclan.org/forums/css.php?theme=$theme[tid]" />
That should mean that to css and the javascript functions are included in all the pages.
Well that got the skin, but for some reason the $header is repeating it's self twice, I have search search member list member list etc.... than when you logged in the links View New Posts and stuff don't point to the /forums directory on the portal.php
Just to make a portal like IPB has would be a lot simplier
ahhh yea, firefox didn't display it like IE was - for the most part it is 99% good to go now
just make a forwarding in your index.php...
<?PHP
header("Location: ./forum/portal.php");
?>
if you do it like this, you needn't change any file
STOP bumping old threads please. >.>
wesoco Wrote:just make a forwarding in your index.php...
<?PHP
header("Location: ./forum/portal.php");
?>
if you do it like this, you needn't change any file
You'd have to move index.php somewhere else, or else you will never see the forum list.