Profile Page Tabs Problem

Jeff Fuqua

Well-known member
I am having a problem with my profile page tabs. All the information is put on the front tab and clicking on any other tab takes me to the front page of my site. I've viewed this page from my mac using Safari, Chrome and Firefox for mac. I have the same issue when viewing from my iPad as well.

One other person here said they went to the page and it rendered fine. I come to this site and the profile page tabs work as designed. I'm puzzled as to what the problem may be.

Here's the url: http://www.gotitans.com/xf/members/titanjeff.1/
 
Sounds like it might be a javascript problem. It's working for me in Firefox, but maybe the javascript is failing to load for some users. If javascript isn't working then features like navbar popup menus and member cards won't work.
 
Hi Jeff,

It appears to be your ad code that's doing it.

(I have access to Jeff's site as I set it up for him)

I have just removed a load of ad code and it's sorted the problem.

I will put it back and see if we can find a way to stop it from clashing with xenforo.js
 
I've narrowed it down a bit more.

It's this ad code:

Code:
<script type="text/javascript"><!--
dp_ad_width = 728;
dp_ad_height = 90;
dp_ad_color_title = "#000044";
dp_ad_color_desc = "#6699cc";
dp_ad_color_background = "#ffffff";
dp_ad_color_border = "#000044";
dp_ad_effect = "slideleft";
dp_ad_radius = 5;
dp_ad_fallback = "http://www.gotitans.com/contextweb728x90.html";
dp_ad_notice = 14;
//--></script><script type="text/javascript" src="http://s.dpstatic.com/s/ad.js"></script>

Which you have in ad_below_content.

That bottom line has // in it which may be commenting out that line and thus leaving the <script tags open, which could very well be killing things.

Let me remove those //, and see if it works.



EDIT: It's definitely something in that code, but what I thought it was didn't work. Can you check with your ad provider? The code is different to how the top banner is, and that seems to work. I will wrap that ad_below_content ad in <xen:comment></xen:comment> tags to disable it. I'll leave it alone now until you verify the code.
 
Some strange stuff going on.

I removed the <xen:comment> and the tab issue returned. So I swapped in other ad code (from another network), removed the <xen:comment> and the ad returned the first time the page loaded but, when I went to the next page, the ad went away and was replaced by a huge space under the bottom nav to the footer.

Very strange. http://www.gotitans.com/xf/members/titanjeff.1/

But the tabs are working. :)
 
Some strange stuff going on.

I removed the <xen:comment> and the tab issue returned. So I swapped in other ad code (from another network), removed the <xen:comment> and the ad returned the first time the page loaded but, when I went to the next page, the ad went away and was replaced by a huge space under the bottom nav to the footer.

Very strange. http://www.gotitans.com/xf/members/titanjeff.1/

But the tabs are working. :)
I see no huge spacer - all seems to be working for me on every page. :)
 
Top Bottom