ossipetz Posted November 28, 2022 Share Posted November 28, 2022 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) SeNioR- 1 Link to comment Share on other sites More sharing options...
Jim M Posted November 28, 2022 Share Posted November 28, 2022 Please contact the author of the language pack as there is likely something incorrect causing an issue. Link to comment Share on other sites More sharing options...
opentype Posted November 28, 2022 Share Posted November 28, 2022 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. Link to comment Share on other sites More sharing options...
Ramsesx Posted November 28, 2022 Share Posted November 28, 2022 1 hour ago, ossipetz said: 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. Link to comment Share on other sites More sharing options...
Marc Posted November 29, 2022 Share Posted November 29, 2022 12 hours ago, Ramsesx said: 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 Link to comment Share on other sites More sharing options...
Ramsesx Posted November 29, 2022 Share Posted November 29, 2022 9 hours ago, Marc Stridgen said: 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. Link to comment Share on other sites More sharing options...
ossipetz Posted November 29, 2022 Author Share Posted November 29, 2022 On 11/28/2022 at 7:46 PM, Jim M said: 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 🤔 Link to comment Share on other sites More sharing options...
Jim M Posted November 29, 2022 Share Posted November 29, 2022 2 minutes ago, ossipetz said: 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? Link to comment Share on other sites More sharing options...
ossipetz Posted November 29, 2022 Author Share Posted November 29, 2022 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 😄 Link to comment Share on other sites More sharing options...
Jim M Posted November 29, 2022 Share Posted November 29, 2022 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. Link to comment Share on other sites More sharing options...
opentype Posted November 29, 2022 Share Posted November 29, 2022 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. SeNioR-, Daniel F and ossipetz 1 2 Link to comment Share on other sites More sharing options...
Solution Daniel F Posted November 29, 2022 Solution Share Posted November 29, 2022 6 minutes ago, opentype said: 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 Link to comment Share on other sites More sharing options...
ossipetz Posted November 30, 2022 Author Share Posted November 30, 2022 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! Link to comment Share on other sites More sharing options...
Marc Posted December 1, 2022 Share Posted December 1, 2022 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. 🙂 ossipetz 1 Link to comment Share on other sites More sharing options...
Claudia999 Posted January 27, 2023 Share Posted January 27, 2023 On 11/29/2022 at 9:18 PM, Daniel F said: 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? Link to comment Share on other sites More sharing options...
Marc Posted January 27, 2023 Share Posted January 27, 2023 1 hour ago, Claudia999 said: 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. Link to comment Share on other sites More sharing options...
Marc Posted September 6, 2023 Share Posted September 6, 2023 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. ossipetz 1 Link to comment Share on other sites More sharing options...
ossipetz Posted September 6, 2023 Author Share Posted September 6, 2023 1 hour ago, Marc Stridgen said: 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 🙂👍 Link to comment Share on other sites More sharing options...
Marc Posted September 6, 2023 Share Posted September 6, 2023 No problem at all. Glad things are working for you 🙂 Link to comment Share on other sites More sharing options...
Recommended Posts