vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 Design and Graphics Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=253)
-   -   Header issues.... (https://vborg.vbsupport.ru/showthread.php?t=260984)

SlaughterHouse 03-26-2011 11:59 PM

Header issues....
 
Hi all,

I'm an old VB 3.8.2 users of just the forums. We have recently upgraded to the CMS 4.0.2 and to my huge surprise. There was a lot of things very different. I did not upgrade from 3.8.2. I just did a fresh install figuring there would be a lot of module conflicts and so on.

I'm having a very hard time getting my 8 flashing image header back at the top. I can get one image on. But, when you log in, the image disappears and it goes back to the default VB header. I am editing in the style manager/header:

<div class="above_body"> <!-- closing tag is in template navbar -->
<div id="header" class="floatcontainer doc_header">
<div><a name="top" href="{vb:link forumhome}" class="logo-image"><img src="{vb:stylevar titleimage}"

I am editing the image source. Is this correct? Could someone please help me figure this out. Our header was a huge focal point of our old website and I would love to reuse it.

Best Regards,

Slaughter House
XtremeGlobalGamers.com

Lynne 03-27-2011 03:48 AM

It sounds like you either don't have the default style to be the one with the images, or your user has chosen a different style either in the UserCP/Settings page or via the Style Chooser on the bottom of the page. If you check the page source, you should be able to see what styleid is being used.

SlaughterHouse 03-28-2011 01:10 AM

Thanks for the reply Lynn. I'll try and see if that does it. I'm still kind of stuck on getting it to flash all 8 of my images. Would I just past all the information as the image source?

TheLastSuperman 03-28-2011 01:41 AM

Slaughter... do us a favor and post the old code from vB3 and the new code you have in place so we can compare. If any CSS is involved post a copy of that as well.

SlaughterHouse 03-28-2011 03:09 AM

Here is the old code I used to use and it seemed to work very well on 3.8.2. Now all I seemed to get is a bunch or code only in the header section of the site. Any help is most appreciated!

<script type="text/javascript">
var imgs1 = new Array();
var lnks1 = new Array("http://www.xtremeglobalgamers.com/public_html/forum/images/banners/XGG%20DARK%20START%20HEADER.jpg","http://www.xtremeglobalgamers.com/public_html/forum/images/banners/XGG%20DARK%201942%20HEADER.jpg","http://www.xtremeglobalgamers.com/public_html/forum/images/banners/XGG%20DARK%20B2%20HEADER.jpg","http://www.xtremeglobalgamers.com/public_html/forum/images/banners/XGG%20DARK%20BF2S%20HEADER.jpg","http://www.xtremeglobalgamers.com/public_html/forum/images/banners/XGG%20DARK%202142%20HEADER2.jpg","http://www.xtremeglobalgamers.com/public_html/forum/images/banners/XGG%20DARK%20cod%20war%20HEADER.jpg","http://www.xtremeglobalgamers.com/public_html/forum/images/banners/XGG%20DARK%20COD4%20HEADER.jpg");
var alt1 = new Array();
var currentAd1 = 0;
var imgCt1 = 1;
function cycle1() {
if (currentAd1 == imgCt1) {
currentAd1 = 0;
}
var banner1 = document.getElementById('adBanner1');
var link1 = document.getElementById('adLink1');
banner1.src=imgs1[currentAd1]
banner1.alt=alt1[currentAd1]
document.getElementById('adLink1').href=lnks1[currentAd1]
currentAd1++;
}
window.setInterval("cycle1()",5000);
</script>
<a href=""http://www.xtremeglobalgamers.com/public_html/forum/images/banners/XGG%20DARK%20START%20HEADER.jpg"" id="adLink1" target="_top">
<img src= id="adBanner1" border="0" width="1200" height="177"></a>


All times are GMT. The time now is 06:44 AM.

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.01035 seconds
  • Memory Usage 1,714KB
  • 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
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)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