LemmyNet / lemmy

🐀 A link aggregator and forum for the fediverse
https://join-lemmy.org
GNU Affero General Public License v3.0
13.29k stars 884 forks source link

Blocking communities and users #426

Closed Granitosaurus closed 3 years ago

Granitosaurus commented 4 years ago

It would be nice if you could block communities from appearing in the "all" section. I'd like to discover some new communities to follow but there's a bit of spam coming from test community which I understand the purpose of but I don't really want to see it.

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/87060350-blocking-communities-and-users?utm_campaign=plugin&utm_content=tracker%2F126011972&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F126011972&utm_medium=issues&utm_source=github).
ghost commented 4 years ago

yup, I guess most people discover interesting communities there, but any posts you make are very soon drowned by spam-ish posts from c/test

dessalines commented 4 years ago

1 thing I can do in the short term is decrease the posting limits. Right now you can do 6 posts every 10 minutes, I'll lower it to 3 posts an hour.

Granitosaurus commented 4 years ago

I guess I'd also like to add "blocking of users" to this suggestion.

dessalines commented 4 years ago

It'll pry be a while before I get to this, because its a big undertaking.

Nutomic commented 4 years ago

So this is for blocking from the user perspective, or from the admin perspective? Cause both of them are important.

dessalines commented 4 years ago

I guess admins just banning a community (which blocks it from being seen on the front pages and new things being added to it) would already be an "admin block"

For a user blocking a community it would take adding another table similar to community_follower or community_user_ban, IE community_block, with the schema id, community_id,user_id, published.

For a user blocking another user, same but two user_ids.

Both would affect every view we have, since if you block a user, you don't want to see their posts, comments, communities, etc. And if you block a community, you don't want to see its posts.

UI concerns would be where and how to block both.

edit: as for priority, I'd rather have private messaging done before this.

heylix commented 3 years ago

Cross-posted from #1629 since it got closed as duplicate, but I think I outlined a possible user blocking feature in a pretty detailed way over there:

Is your proposal related to a problem?

Some users don't go well with others. It's hard to deescalate and not interact with people if you see their comments and reactions everywhere. Some can cope better with provocations than others. It would be nice if you could help the "others" by providing technical features to support ignoring users on the site.

Describe the solution you'd like

I once saw a forum based on vBulletin where you could add users to your ignore list. This had the following effects:

Describe alternatives you've considered

There could be a feature to completely hide all interactions with the user, not even showing the user name itself. This removes context in many situations where the hidden comment has answers which reference it.

You could also leave the burden of ignoring people on the users being bothered by others. This wastes their time because they accidentally read the comments from people they want to ignore and it may enable emotional reactions.

Reporting users to the mods or admins for them to ban them only creates more drama. You could additionally report them, though, if they're violating the rules of the instance/community.

Additional context

Relevant posts on the main Lemmy instance:

Relevant literature:


I'd like to add that the "hidden post" feature is already in the user interface as the small minus on the side of the comment which folds in the comment chain. Comments by ignored users may be "folded in", but I'd really like to read the answers to said users, so there could be a difference to folding the complete comment chain to folding single comments by blocked users. I didn't really read the code so I don't know how hard or easy this would be to implement.

Houkime commented 2 years ago

While there seems to be community blocking support code added in closing commits, and I can ignore separate users, I do not see any interface for hiding communities at personal level. At least at UI: 0.16.5 BE: 0.16.4 (fapsi.be) Where is it exactly?

Houkime commented 2 years ago

nevermind, there is an open issue in ui https://github.com/LemmyNet/lemmy-ui/issues/396

Nutomic commented 2 years ago

@Houkime You can block both users and communities in the "block" tab under /settings.