Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
Claudia999 Posted August 30, 2022 Posted August 30, 2022 In our community guests don't get a link to profiles of users in threads. It's set by permissions in "Apps" > System > Profile. But in block "Similar content" these links to user profiles are active for guests. They end with a 403 error. It's possible to change this behaviour?
Marc Posted August 30, 2022 Posted August 30, 2022 You have removed permission via modules for these. You can add them by changing access in the System>Profiles module. If you are unsure how to do this, check out the module section in the following guide
Claudia999 Posted August 31, 2022 Author Posted August 31, 2022 Thanks for your answer. But I can‘t find a Solution in this guide. I have removed permissions via modules, yes. Now guests don‘t get active links to user profiles. That‘s the intended behaviour. But in „Similar content“ block, there are the links to user profiles still active. How can I achieve that there links to user profiles also aren‘t active? SeNioR- 1
opentype Posted August 31, 2022 Posted August 31, 2022 Pretty sure this is a (IPS) caching issue. I’ve seen this for other block types too. The code in the template is okay. It will actually remove the profile links for guests, when guests are not allowed to see profiles. But the problem is: If the cached version is generated after a member(!) saw the block, then guests will also see that same cached HTML code including those links. And once the block cache time is up, the next version of the block may or may not have those links. You never know. Claudia999 1
sound Posted August 31, 2022 Posted August 31, 2022 (edited) 4 hours ago, opentype said: Pretty sure this is a (IPS) caching issue. I’ve seen this for other block types too. The code in the template is okay. It will actually remove the profile links for guests, when guests are not allowed to see profiles. But the problem is: If the cached version is generated after a member(!) saw the block, then guests will also see that same cached HTML code including those links. And once the block cache time is up, the next version of the block may or may not have those links. You never know. should 'similar content' blocks be cached as this would mean that forum post titles will be showing to members without permissions to view as well as the above such blocks has to be non-cached yes? Edited August 31, 2022 by sound
Jim M Posted August 31, 2022 Posted August 31, 2022 Please be advised I have assigned this to a developer for further review. Someone will be with you as soon as they can.
opentype Posted August 31, 2022 Posted August 31, 2022 2 hours ago, sound said: such blocks has to be non-cached yes? There are more than the two options “cached” and “not cached”.
Daniel F Posted August 31, 2022 Posted August 31, 2022 Thanks, I have filled a bug report for this SeNioR- 1
sound Posted August 31, 2022 Posted August 31, 2022 38 minutes ago, opentype said: There are more than the two options “cached” and “not cached”. not on the system built in 'similar content' block thats what we are talking about here yep?
Recommended Posts