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

Fixed  Current location bug?

onyxchase

Active member
#1
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???
 

Brogan

XenForo moderator
Staff member
#3
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.
 

onyxchase

Active member
#5
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
 

onyxchase

Active member
#6
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
 

onyxchase

Active member
#7
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.
 

Mike

XenForo developer
Staff member
#8
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.
 

onyxchase

Active member
#9
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
 

Mike

XenForo developer
Staff member
#13
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... :)
 

Mike

XenForo developer
Staff member
#14
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.