Fixed  Current location bug?

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???
 

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...
 

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.
 

onyxchase

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

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
 

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
 

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.
 

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.
 

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
 

Boothby

Well-known member
When you go to your own profile page it shows where you came from, after a page refresh the data is updated.
 

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... :)
 

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.
 
Top