Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
  #1  
Old 01-12-2009, 10:50 PM
tnagaming tnagaming is offline
 
Join Date: Sep 2008
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Help with Header Please

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.
Attached Images
File Type: gif logo.gif (13.0 KB, 0 views)
File Type: gif header_right.gif (7.3 KB, 0 views)
Reply With Quote
  #2  
Old 01-13-2009, 02:51 AM
tnagaming tnagaming is offline
 
Join Date: Sep 2008
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #3  
Old 01-13-2009, 03:04 AM
Bellardia Bellardia is offline
 
Join Date: Jul 2007
Location: Hamilton, Ontario
Posts: 378
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #4  
Old 01-13-2009, 04:52 AM
tnagaming tnagaming is offline
 
Join Date: Sep 2008
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Bellardia View Post
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.
Reply With Quote
  #5  
Old 01-13-2009, 05:08 AM
Dismounted's Avatar
Dismounted Dismounted is offline
 
Join Date: Jun 2005
Location: Melbourne, Australia
Posts: 15,047
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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/" />
Reply With Quote
  #6  
Old 01-13-2009, 02:19 PM
tnagaming tnagaming is offline
 
Join Date: Sep 2008
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Dismounted View Post
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
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 02:05 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04044 seconds
  • Memory Usage 2,231KB
  • Queries Executed 14 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (3)bbcode_code
  • (2)bbcode_html
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (6)post_thanks_box
  • (6)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (6)post_thanks_postbit_info
  • (6)postbit
  • (2)postbit_attachment
  • (6)postbit_onlinestatus
  • (6)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete