vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Profile Problem (https://vborg.vbsupport.ru/showthread.php?t=221390)

Stormraven 08-21-2009 04:00 AM

Profile Problem
 
I am having a problem with the profiles on my vbulletin. With the contact, about me, statistics tabs and visitor message tabs on the profile page, the tabs dont seem to load, they just load as seperate boxes underneath one another.

The only way to show it is by giving someone account access, so im going to PM lynne with account access to see if she can get access, but i just wondered why its doing this, this is whta i mean:

the bits that are circled are SUPPOSED to be the headings for the profile tabs, ill PM you lynne.

TheLastSuperman 08-21-2009 04:04 AM

Just remember to always post screens and ANY info you can think of, that way others from the community can help if they realize what's going on ;) same as if you figure it out.. post back here how you solved it in case anyone happens to be searching months from now with the exact same problem!!!

Stormraven 08-21-2009 04:09 AM

Here is a screenshot:

http://wimg.co.uk/j8y.jpg

:D

Lynne 08-21-2009 04:43 AM

Hmm, I logged in and the site colors are totally different (blue and green) and the tabs are just fine for me. So, I'm guessing this is another skin you are doing this with and something is wrong with the style on that page. You might try running it through an html validator and see if that helps.

Stormraven 08-22-2009 02:11 AM

Ahh yes, sorry about that Lynne, I have set it so you can see the template with the proflem on it.

I'm not sure what the problem with this is because I haven't modified the profile page codes in any way what so ever :(

Lynne 08-22-2009 03:30 AM

Now you've turned off the working style. The best thing you can do is take the page source from the working style and compare it to the page source of the non-working style. See what the differences are.

Stormraven 08-22-2009 03:40 AM

Yes, the one your seeing now, the one with the black banner is the one we are having problems on. It would take too long to compare, do you know what the problem is Lynne or what could be causing it?

Lynne 08-22-2009 04:10 AM

No, I can't tell what the problem is just by seeing it. It's a style issue in your case and so the only thing I can suggest is comparing the styles.

If I were to take a guess, I noticed your vbulletin init stuff was inside a form and I would take that back out of there and put it were it's supposed to be. In other words, compare your footer template to the default footer template.

Stormraven 08-22-2009 04:12 AM

Init stuff? What's that init do and where is it supposed to be? I dont see it inside a form lol. I'm so sorry about this. Nope, its outside the form look:

</script>
<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();
//-->
</div>

--------

Could this also be the problem thats causing this problem too?

https://vborg.vbsupport.ru/showthread.php?t=221450

Lynne 08-22-2009 04:24 AM

You have something very strange going on at the bottom of your page in the page source.

But, look at what you wrote... you didn't close out your javascript and I think that is what firebug was seeing when it was showing me the form not closed up. You do have an end script after your end form which goes to nothing and that is probably what is causing the problem. You have some vbseo stuff in there which you aren't showing above and maybe that is part of the problem also.

And yes, if the vbulletin_init() stuff isn't in the correct place, it will screw up your javascript.


All times are GMT. The time now is 07:22 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.01009 seconds
  • Memory Usage 1,731KB
  • 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
  • (10)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