Simple Machines Community Forum

SMF Support => SMF 2.1.x Support => Topic started by: gevv on April 30, 2023, 05:00:47 PM

Title: Privacy on profile page?
Post by: gevv on April 30, 2023, 05:00:47 PM
Hello,
Is it possible to add a setting to prevent User's recent posts from appearing on the profile page?


Title: Re: Privacy on profile page?
Post by: Kindred on April 30, 2023, 06:04:35 PM
Sure, if you want to code it...   it won't be a part of 2.1.x core though
Title: Re: Privacy on profile page?
Post by: Antechinus on May 01, 2023, 04:02:40 AM
Who do you want to hide it from? And why?
Title: Re: Privacy on profile page?
Post by: Aleksi "Lex" Kilpinen on May 01, 2023, 04:21:07 AM
Sure you could do that, but simply hiding the link wouldn't do.
You could still pull up any users post history with /index.php?action=profile;area=showposts;u=
For example, https://www.simplemachines.org/community/index.php?action=profile;area=showposts;u=155076

The results for that are already filtered though, it doesn't reveal posts that aren't accessible other ways already, so this kind of seems pointless to be honest.
Title: Re: Privacy on profile page?
Post by: Arantor on May 01, 2023, 04:31:40 AM
Actually it would; if you remove the menu item (usually) the underlying area goes away too because they're inextricably interlinked.

But there's nothing in there that can't be found other ways, whether that's through search (filtering on a particular user), or simply browsing the areas that you could otherwise browse.
Title: Re: Privacy on profile page?
Post by: webtiryaki on May 01, 2023, 06:25:44 AM
you can use direct css
.subsections {
display: none;
}