Log in

View Full Version : Help with Header Please


tnagaming
01-12-2009, 10:50 PM
Hey, I'm hoping someone can help me out with a slight issue and that I cant seem to figure out. It's involving our header. I just bought a style from vbskinworks called voodoo and it installed fine.

But when we go to: http://www.tnagaming.org/ it leaves a big black space in the center. But if I go to the forum: http://www.tnagaming.org/forum/ everything is displayed correctly.

So it's odd that it works on the forums but not the homepage and I cannot figure out why this is.

Here is our current header code.

<div id="border-left"><div id="border-right">
<!-- logo -->
<div id="header"><img src="forum/images/voodoo/misc/header_right.gif" class="fright" alt="" /><a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" /></a></div>
<!-- /logo -->

<div id="content-pad">

<!-- content table -->

$_phpinclude_output

If someone is able to help me out with this I would greatly appreciate it. Attached are our current pictures we are using on the site. If you need anymore info just ask and I will post it.

tnagaming
01-13-2009, 02:51 AM
Update:

We added a flash module that replaces the header and it does the exact same thing. Everything works like its suppose in the forum part of the site but not the homepage again.

What would be causing this. Any help would be greatly appreciated in solving this issue.

Bellardia
01-13-2009, 03:04 AM
var fo = new FlashObject("vbflashheader.swf", "vbheader", "800", "150", "8,0,0,0", "#e1e1e2");


This is the same in the forum directory and outside it.
If it's pointing to a relative location (I'm going to assume it is) then it can't access the file from outside the directory because it's inside it!

Easy fix:
Place the flash file both inside the forum directory and outside it.

tnagaming
01-13-2009, 04:52 AM
var fo = new FlashObject("vbflashheader.swf", "vbheader", "800", "150", "8,0,0,0", "#e1e1e2");


This is the same in the forum directory and outside it.
If it's pointing to a relative location (I'm going to assume it is) then it can't access the file from outside the directory because it's inside it!

Easy fix:
Place the flash file both inside the forum directory and outside it.

Now on the homepage instead of having the white box it still has the white box but it also has the watermark from the flash. So from that it looks like the player is working but the pics aren't playing on the homepage.

Thank you for any help that you can provide.

Dismounted
01-13-2009, 05:08 AM
I'm not sure if base elements affect Flash objects, but give it a shot. Place this at the top of your headinclude template:
<base href="http://www.yoursitehere.com/forum/" />

tnagaming
01-13-2009, 02:19 PM
I'm not sure if base elements affect Flash objects, but give it a shot. Place this at the top of your headinclude template:
<base href="http://www.yoursitehere.com/forum/" />

Thank you very much that fixed it. You have saved me plenty of headache :)