PDA

View Full Version : (3.7 issue) problem with user profile tabs


susieblue
04-30-2008, 01:42 PM
hi all,

i wondered if someone can help me. it seems when i upgrade a skin to ver 3.7, its not allowing the tabs in the user profile to show:

http://www.freevbulletintemplates.org/forum/member.php?u=1&styleid=46

this is the tabs that should show:

http://www.freevbulletintemplates.org/forum/member.php?u=1&styleid=73

(visitor messages etc)

can anyone advise me what i did wrong?

thanks

susie

CHIPIT
04-30-2008, 02:27 PM
Did you revert the additional CSS for your styles?

susieblue
04-30-2008, 02:31 PM
hi there :)

there was no additional CSS as such, just some HTML in the header and footer, and the rest is the default CSS that comes with the template.

its got me baffled :( the style im up[dating was validated etc, but it still isnt working properly

susie

napy8gen
05-02-2008, 01:01 AM
its your footer code, you should put your design code before the script not after the script.

I mean the last javascript calls in the footer.

This only happens in InternetExplorer.

susieblue
05-02-2008, 12:35 PM
thankyou so much! this has been driving me nuts for days lol

kind regards :)

susie

goddess_dix
05-04-2008, 08:48 PM
thank you! that's just what i was looking for as well... :)

mindcry
05-08-2008, 07:17 PM
I am having the same issue. Here is an example profile http://snowboardaddicts.com/member.php?u=1135 This works fine with the default style but not with the custom one in IE. I tried looking at the javascript mentioned, the only one I saw I moved. Any suggestions?

goddess_dix
05-08-2008, 07:36 PM
I am having the same issue. Here is an example profile http://snowboardaddicts.com/member.php?u=1135 This works fine with the default style but not with the custom one in IE. I tried looking at the javascript mentioned, the only one I saw I moved. Any suggestions?

you don't have your profiles available to guests, so we can't look at the one you linked. for me, however, moving all the footer js below the last bit of html made the tabs visbile in ie.

mindcry
05-08-2008, 08:48 PM
That would help if it was visible. I made them visible...

goddess_dix
05-12-2008, 03:00 PM
ok, i have all my footer scripts coming right before the closing body tag in the html. you have some right before and some right after. so to be specific, it wasn't moving it after all the html itself, but all but the body and html tags that fixed this on ie for me.

susieblue
05-12-2008, 03:13 PM
in your templates, in the footer template, make sure that the following script is right at the very bottom, and that no HTML is after it:


<if condition="$show['dst_correction']">
<!-- auto DST correction code -->
<form action="profile.php?do=dst" method="post" name="dstform">
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
<input type="hidden" name="do" value="dst" />
</form>
<script type="text/javascript">
<!--
var tzOffset = $bbuserinfo[timezoneoffset] + $bbuserinfo[dstonoff];
var utcOffset = new Date().getTimezoneOffset() / 60;
if (Math.abs(tzOffset + utcOffset) == 1)
{ // Dst offset is 1 so its changed
document.forms.dstform.submit();
}
//-->
</script>
<!-- / auto DST correction code -->

</if>
<script type="text/javascript">
<!--
// Main vBulletin Javascript Initialization
vBulletin_init();
//-->
</script>

GrendelKhan{TSU
06-04-2008, 02:45 AM
that didn't work :(

weird too... as a test I revert ALL templates on a skin. it literatlly should be now at default out-of-the-box vbull...but still tabs don't work for IE.

something is defeintely weird here AND extremmmmmely frustrating.

Mr. INTENSE
10-30-2008, 04:39 PM
Moving the javascript solved this problem for me. :)

At first it didn't, but then I realized I had only moved half of the javascript.

zombietom
03-22-2009, 03:28 AM
Thanks this fix one of my themes. :)