vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Help with Header Please (https://vborg.vbsupport.ru/showthread.php?t=201569)

tnagaming 01-12-2009 10:50 PM

Help with Header Please
 
1 Attachment(s)
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.

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

Code:

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

Quote:

Originally Posted by Bellardia (Post 1710504)
Code:

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:
HTML Code:

<base href="http://www.yoursitehere.com/forum/" />

tnagaming 01-13-2009 02:19 PM

Quote:

Originally Posted by Dismounted (Post 1710596)
I'm not sure if base elements affect Flash objects, but give it a shot. Place this at the top of your headinclude template:
HTML Code:

<base href="http://www.yoursitehere.com/forum/" />

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


All times are GMT. The time now is 11:48 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.00950 seconds
  • Memory Usage 1,727KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_code_printable
  • (2)bbcode_html_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete