1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Fixed Current location bug?

Discussion in 'Resolved Bug Reports' started by onyxchase, Mar 4, 2011.

  1. onyxchase

    onyxchase Active Member

    Hello, I don't know if this is a bug or what, but when I look at my profile it says:

    ... is Viewing forum list. If I refresh once, it still says Viewing forum list, if I refresh quickly twice it will say Viewing Member profile... Is the Ajax loading the forum list or something???
     
  2. onyxchase

    onyxchase Active Member

    By the way, it works fine on this forum but not on mine. Maybe because the page loads faster my server? I dunno...
     
  3. Brogan

    Brogan XenForo Moderator Staff Member

    Do you have any add-ons installed?

    It's possible that one of those is the culprit.

    As it works fine here, I'll move the thread to general troubleshooting from bug reports.
    It can always be moved back if it's proven to be a bug.
     
  4. onyxchase

    onyxchase Active Member

    Yeah I tried disabling them, and moving all the library files out, but nothing changed... I dunno. It's weird.
     
  5. onyxchase

    onyxchase Active Member

    Anyways, screw it. I tried deleting all my mods, nothing. Good waste of an hour, lol. Ill wait for next release maybe it fixes it
     
  6. onyxchase

    onyxchase Active Member

    I think I found the problem. I changed style and it doesn't do it in that one. Weird because I only have like 1 template edit in the other one lol... I'll do some more tests
     
  7. onyxchase

    onyxchase Active Member

    YAY! I found the problem. I think this is a bug.

    In Style Properties: Header and Navigation

    If I set Header Logo Image Path to blank, it still tries to load up the image...

    Here is the HTML code parsed with the default LOGO image:
    Code:
    <img src="styles/default/xenforo/logo.png" alt="...Site title here..." />
    And here is the HTML code parsed with nothing in the box (I didn't want a logo!)
    Code:
    <img src="" alt="..Site title here..." />
    I think if the box is blank, it shouldn't give any <IMG> tag at all.
     
  8. Mike

    Mike XenForo Developer Staff Member

    I suppose you could argue it's a bug, but having nothing there is not really a common case - you'd have to replace the area with something at least.
     
  9. onyxchase

    onyxchase Active Member

    I agree, this is probably not very common. :) But I assume that with the <BASE> tag pointing to the forums, and the IMG loading "", maybe it was trying to load the image using the forum URL and that's why it was saying viewing forum list... Anyhow, thank you for your time!

    Sincerely, John
     
  10. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

  11. Mike

    Mike XenForo Developer Staff Member

    Moved to bugs, pending review.
     
  12. Boothby

    Boothby Active Member

    When you go to your own profile page it shows where you came from, after a page refresh the data is updated.
     
  13. Mike

    Mike XenForo Developer Staff Member

    I think I can reproduce this here in Chrome (but not FF), however I don't seem to get it locally. The network panel does seem to show a request to /community/, though figuring out what triggers it will be interesting... :)
     
  14. Mike

    Mike XenForo Developer Staff Member

    Chrome's developer tools timeline is very helpful. This appears to be triggered by a BB code image (a resizable one) on Jake's profile. To ensure we trigger load events, we set the source to "" and then back to the original. This appears to be enough to get Chrome to trigger a page load. I wonder if about:blank will work.
     
  15. Mike

    Mike XenForo Developer Staff Member

    About:blank seems to work, so fixed locally. :)
     
    Vincent likes this.

Share This Page