Invision Community 4: SEO, prepare for v5 and dormant account notifications Matt November 11, 2024Nov 11
Posted November 28, 20222 yr Hello we encounter a rather strange behavior with the "Who's online" widget. It usually shows a hovercard for the online members. this seems to always work when using the english translation. when switching to the german language pack (from invisionfocus, from the marketplace), the usernames sometimes are not rendered as links and don't show that hovercard: English as expected: German as expected: Germ, rendered without the links / hovercard: Also the html does not contain any links. But weirdly the current user ("wm") is not even in the html list. Good variant: Weird variant (no hovercard link, current user not in the list but shown in the browser): What we tried: deleted the language pack, reinstalled from marketplace. issues shows up again. clearing the system cache usually resolves this issue for some time. we compared all the templates if there are any changes we missed during the upgrades. But we have no changes in the templates that points at this weirdness. disabled the redis cache. issue still shows up. logs contain no errors or indicators whats going on. The template userLinkFromData is unchanged: But it's hard to read. It's very strange this only happens in the german language pack. If there is a missing translation that causes this we cannot find it. And sometimes it just works normally. Has anyone else noticed this? (Invision Community v4.7.4 - but we think this existed before this version too)
November 28, 20222 yr Community Expert Please contact the author of the language pack as there is likely something incorrect causing an issue.
November 28, 20222 yr Another guess: you are seeing a cached guest version of the widget, which hides hovercards and links by default. The fact that there is a difference in language might be a coincidence.
November 28, 20222 yr It's very strange this only happens in the german language pack. If there is a missing translation that causes this we cannot find it. And sometimes it just works normally. Has anyone else noticed this? (Invision Community v4.7.4 - but we think this existed before this version too) Confirm this, but it makes no difference what language, and I guess we are using the same german language pack.
November 29, 20222 yr Community Expert Confirm this, but it makes no difference what language, and I guess we are using the same german language pack. Could you please confirm you are seeing it on a default unaltered language, and also logged in
November 29, 20222 yr Could you please confirm you are seeing it on a default unaltered language, and also logged in Hi Marc, I couldn't reproduce this issue. But I am sure (to 90%) it was on the original language and logged in. But I guess it had something to do with caching.
November 29, 20222 yr Author Please contact the author of the language pack as there is likely something incorrect causing an issue. well I can do that, but I would not know what to ask them. They are probably "translation" people. Not debug-random-things-people. I would send myself back to here. If the language file can be imported, nothing can be wrong with it. I try to find a better clue or better question. It is most probably a cache issue. If I clear all caches the widget is correct. Only after a while it renders that logged out variant - but I'm still logged in (I can see an admin-only forum for example). Not sure how that can be caused by a language pack - as it works with an empty cache. Maybe the cache mechanism includes some language aspect somehow and doesn't work for non-english? It's just weird. None of the translation keys in that widget seem to be untranslated. But I might have missed one 🤔
November 29, 20222 yr Community Expert well I can do that, but I would not know what to ask them. They are probably "translation" people. Not debug-random-things-people. I would send myself back to here. If the language file can be imported, nothing can be wrong with it. I try to find a better clue or better question. It is most probably a cache issue. If I clear all caches the widget is correct. Only after a while it renders that logged out variant - but I'm still logged in (I can see an admin-only forum for example). Not sure how that can be caused by a language pack - as it works with an empty cache. Maybe the cache mechanism includes some language aspect somehow and doesn't work for non-english? It's just weird. None of the translation keys in that widget seem to be untranslated. But I might have missed one 🤔 Confirming the language pack is compatible with the release you're on is the first step. However, I would say this sounds like a caching issue. Are you able to reproduce this on an unmodified language pack if you stay on it for long?
November 29, 20222 yr Author I tried the Italien language pack (randomly, no specific reason, By InvisionITA.it) as well. The issue also shows up in Italien after a while: So it's either some weird config we do on our server or the software just only like english 😄
November 29, 20222 yr Community Expert I've tagged this to a developer to get their opinion on what may be happening here as so far we have been unable to reproduce this directly with an unmodified language pack.
November 29, 20222 yr I’ve seen this problem with several blocks (e.g. recent achievements) and remember forum discussion about this. Usually, it doesn’t appear because blocks like those don’t need to differentiate between guests and members. But since privacy is a bigger concern in Germany, German websites will often hide the member profiles from guests. And then there would need to be a difference between the cached guest block and the cached member block. Apparently there is none. So whenever the block caching time is over, the status of the first visitor of the page will decide whether everyone sees the guest version or the member version for the next 5 minutes or so.
November 29, 20222 yr Community Expert Solution I’ve seen this problem with several blocks (e.g. recent achievements) and remember forum discussion about this. Usually, it doesn’t appear because blocks like those don’t need to differentiate between guests and members. But since privacy is a bigger concern in Germany, German websites will often hide the member profiles from guests. And then there would need to be a difference between the cached guest block and the cached member block. Apparently there is none. So whenever the block caching time is over, the status of the first visitor of the page will decide whether everyone sees the guest version or the member version for the next 5 minutes or so. Love the finding! And I can confirm that @ossipetz has them disabled for guests. We have a bug report for this
November 30, 20222 yr Author ahh that sounds good! I'll be patiently waiting for a fix. Is there some reference I can look for in the release notes? 😇 thanks a lot!
December 1, 20222 yr Community Expert It would actually depend on what the developer decides to add. We will let you know here once this has been added to a release. 🙂
January 27, 20232 yr Love the finding! And I can confirm that @ossipetz has them disabled for guests. We have a bug report for this We have still the same issue. Users can see other users (in members block) even though they have set their status to "hidden". Is there a fix for that?
January 27, 20232 yr Community Expert We have still the same issue. Users can see other users (in members block) even though they have set their status to "hidden". Is there a fix for that? As mentioned above, there is an open bug report for this currently.
September 6, 20231 yr Community Expert This issue was resolved in the recently released 4.7.13 release. Please update in order to fix this issue, and if you see any problem after that point, please let us know.
September 6, 20231 yr Author This issue was resolved in the recently released 4.7.13 release. Please update in order to fix this issue, and if you see any problem after that point, please let us know. thanks for the notification! great service 🙂👍