I moderate !open_christian@lemmy.ca, a safe space for queer Christians.

There are a lot of serial downvoters who don’t post or comment, but just downvote every post. I’d like to ban them, but my frontend only lets me ban if I have a comment or post to select.

Are there any Lemmy frontends or apps that allow me to ban users by username, without a comment or post to select?

  • QuadratureSurfer@piefed.zip
    link
    fedilink
    English
    arrow-up
    16
    ·
    19 hours ago

    I would suggest moving to a PieFed instance. You can set the community to block downvotes from anyone who is not subscribed to the community. This should at least fix most issues with drive-by or serial downvoters who aren’t contributing anything else to the community.

  • bamboo@lemmy.blahaj.zone
    link
    fedilink
    English
    arrow-up
    2
    arrow-down
    1
    ·
    14 hours ago

    I am not sure, but I think that even if you block a user, their upvotes / downvotes still count when sorting by top unless that user is banned on the instance you’re using. It seems like it would be computationally intensive to take user bans into account when calculating sorting methods to filter out blocked users votes. If this were just handled on the frontend, I think your frontend would need to request the vote history of each post and then adjust the net vote count on the fly, which would making loading pages sluggish.

    I could see wanting to preemptively block a user if they do end up posting or commenting, but using a block for filtering out vote counts doesn’t seem right. If this is something you absolutely want to control, you probably should host your own instance and that way you can block the downvotes from some users from federating to your instance.

  • PlzGibHugs@piefed.ca
    link
    fedilink
    English
    arrow-up
    2
    arrow-down
    1
    ·
    19 hours ago

    I had the same issue. From what I remember, Tessaract allows for it, although I remember the process being pretty unintuitive.

  • MrOtingocni@lemmy.world
    link
    fedilink
    arrow-up
    7
    arrow-down
    7
    ·
    17 hours ago

    I know this is neither here nor there but I’m starting to think that every down vote should require a brief comment explaining why for it to count.

      • Kichae@piefed.ca
        link
        fedilink
        English
        arrow-up
        4
        arrow-down
        1
        ·
        13 hours ago

        This is, ultimately, the answer. Downvotes are not a positive addition to the web. All they do is enable silent dogpiling and the muffling of unpopular voices. They’re not conducive to discussion, just passive-aggression. More sites should disable them.

    • Gate F-Con2@k.fe.derate.me
      link
      fedilink
      arrow-up
      2
      ·
      15 hours ago

      HOw would you get services that support the “thumbs down” system that is present in the ActivityPub spec to work if they don’t have your extra part (i.e. Friendica)

  • Grimy@lemmy.world
    link
    fedilink
    arrow-up
    5
    arrow-down
    6
    ·
    19 hours ago

    At a glance, you don’t have serial downvoters, just regular downvotes.

    • Bold Omi@lemmy.todayOP
      link
      fedilink
      arrow-up
      7
      arrow-down
      1
      ·
      19 hours ago

      As a person who has seen the people making each downvote from a moderator view, there are several serial downvoters, including Pyotr and mushroommunk.

      • Grimy@lemmy.world
        link
        fedilink
        arrow-up
        7
        arrow-down
        10
        ·
        18 hours ago

        If I go back 4 months, Pyotr has downvoted one post and mushroommunk zero (unless lemmy.today doesn’t federate with lemvotes)

        You are getting downvoted because it’s a hate community, even if you try to frame it differently. One of your recent threads is a “discussion” about inter faith marriage where you start it right away with saying you wouldn’t marry out of faith lol.

        You aren’t getting harassed.

        • Bold Omi@lemmy.todayOP
          link
          fedilink
          English
          arrow-up
          10
          arrow-down
          1
          ·
          edit-2
          17 hours ago

          If I go back 4 months, Pyotr has downvoted one post and mushroommunk zero (unless lemmy.today doesn’t federate with lemvotes)

          Pyotr has downvoted multiple posts, including posts about solidarity with immigrants and posts about queer acceptance. Mushroommunk downvoted twelve posts in a row. I was not discussing the most recent four months.

          You are getting downvoted because it’s a hate community, even if you try to frame it differently. One of your recent threads is a “discussion” about inter faith marriage where you start it right away with saying you wouldn’t marry out of faith lol.

          Stating that I personally would not marry someone who does not share my religion is not hate. I also very explicitly went over my reasoning in that post, and I did not pass judgement on those who choose to marry adherents of other faiths. If you disagree, that’s fine, but that doesn’t make it hateful.

          Moreover, even if that post were hateful, that doesn’t make the community a hate community. The vast majority of the posts in that community are pro-queer and pro-immigrant posts, or discussions about Christian holidays.

          You aren’t getting harassed.

          I didn’t claim that I was being harassed. I said that several people have serially downvoted a community I moderate and asked about frontends which work with my moderation strategy.

    • velma@sh.itjust.works
      link
      fedilink
      arrow-up
      5
      arrow-down
      1
      ·
      19 hours ago

      Even so, there are serial downvoters in some communities. Would be nice to know if it’s possible to take care of those users if the only thing they do in a community is downvote new posts.

  • Schwim Dandy@piefed.zip
    link
    fedilink
    English
    arrow-up
    6
    arrow-down
    6
    ·
    19 hours ago

    I have no knowledge of being able to ban users that haven’t interacted. Two questions though.

    1. Have you considered moving your community to an instance that doesn’t allow downvotes?

    2. What do you feel the negative impact is of serial downvoting in the community? Anything more than hurt feelings? Since there’s no algorithm at work on the fediverse, I’m not sure what you feel the repercussion of the behavior is.

    • CombatWombat@feddit.online
      link
      fedilink
      English
      arrow-up
      10
      ·
      18 hours ago

      I too find drive-by downvoting to be unhelpful for my communities. I want to use the voting system to identify which kinds of posts subscribers are interested in. When I get non-subscribers downvoting regularly to indicate they don’t want my community to exist in the fediverse at all, it’s hard to identify which posts I should actually avoid posting to the community in the future. It makes it so I can’t use downvotes as a way to guide what I do and don’t post (since, in small communities, they can easily outweigh the votes from subscribers).

      • Schwim Dandy@piefed.zip
        link
        fedilink
        English
        arrow-up
        7
        ·
        18 hours ago

        I definitely understand why it’s a negative in a community but the mechanics just aren’t in place with the two platforms to handle serial downvoting. I will say that it’s discussed a ton and there’s active work on the Piefed side of things to handle the issue in the code. Currently, a ton of instance admins have to dig through and share db data to find where it’s occurring and that only works after a user makes a report so that there’s a starting point to work from.

        Of the two platforms, I can tell you that Piefed is working harder to handle these types of malicious use-cases so if you’re pondering a community creation or move, consider planting it on an instance running that platform.

    • Bold Omi@lemmy.todayOP
      link
      fedilink
      English
      arrow-up
      7
      arrow-down
      2
      ·
      19 hours ago

      Have you considered moving your community to an instance that doesn’t allow downvotes?

      The goal isn’t to disallow downvotes. People are totally welcome to downvote and upvote posts according to their whims. But if they only downvote without contributing at all, I want to ban them.

      What do you feel the negative impact is of serial downvoting in the community? Anything more than hurt feelings? Since there’s no algorithm at work on the fediverse, I’m not sure what you feel the reperscussion of the behavior is.

      Some post sorting filters such as “top week” take into account upvote count versus downvote count. Serial downvoters reduce the community discoverability enough for me to consider it worth moderating. I care quite a bit about providing the safe space I provide with that community, and people deliberately reducing its discoverability are a problem for me.

      To be clear, people generally ask questions on how to do something to be told how to do that thing. I have never met anyone who asks questions on how to do something so that they can be told not to try.

      • Schwim Dandy@piefed.zip
        link
        fedilink
        English
        arrow-up
        8
        ·
        18 hours ago

        Some post sorting filters such as “top week” take into account upvote count versus downvote count. Serial downvoters reduce the community discoverability enough for me to consider it worth moderating. I care quite a bit about providing the safe space I provide with that community, and people deliberately reducing its discoverability are a problem for me.

        As an admin on both a lemmy and piefed instance and getting to see the bells and whistles running the backend of each, I can promise you that the way both determine active communities are comically rudimentary and that you are not losing traffic due to the way they handle that metric.

        I understand you don’t want to disallow the capability, it was merely offered as an option since you consider the issue severe enough to warrant banning users that don’t actually use your community.

        Either way, I will ask the crew in the developers matrix if there’s a way for you to ban them, if someone has a method to do it, I’ll respond here and let you know.

          • Schwim Dandy@piefed.zip
            link
            fedilink
            English
            arrow-up
            3
            ·
            15 hours ago

            Hi there again,

            The only way to do it currently without using the terminal is through the tesseract frontend. If your instance doesn’t offer it, create an account on an instance that does and pass it moderator status.

            Unruffled stated the following: if they use the tesseract front end then it has the functionality to ban users from community settings > moderation tools.

            • Bold Omi@lemmy.todayOP
              link
              fedilink
              English
              arrow-up
              2
              arrow-down
              1
              ·
              15 hours ago

              What is the terminal-based method? I don’t host my own instance, if that’s relevant.

              • Schwim Dandy@piefed.zip
                link
                fedilink
                English
                arrow-up
                1
                ·
                14 hours ago

                Lemmy: Ban a User Who Has Not Posted or Commented

                These instructions use Lemmy API v3, documented for Lemmy 0.19.x. No post or comment from the target user is required.

                Requirements: Bash, curl, and jq. Run the commands locally. Never share the moderator password or login token.

                VERSION NOTE These commands use the v3 API’s remove_data field. Newer API documentation uses remove_or_restore_data; do not mix the two schemas.

                1. LOG IN AS THE MODERATOR

                In a Bash terminal, run the following. At the first prompt, enter the full HTTPS address of the instance where the moderator’s account lives, without a trailing slash.

                read -r -p “Your account’s instance address (including https://): " INSTANCE INSTANCE=”${INSTANCE%/}"

                read -r -p "Moderator username: " MOD_USER read -r -s -p "Moderator password: " MOD_PASSWORD printf ‘\n’ read -r -p "Current 2FA code, or Enter if not enabled: " TWO_FA

                LOGIN_RESPONSE=$( jq -n
                –arg username “$MOD_USER”
                –arg password “$MOD_PASSWORD”
                –arg otp “$TWO_FA”
                ‘{username_or_email: $username, password: $password} + (if $otp == “” then {} else {totp_2fa_token: $otp} end)’ | curl -sS --fail-with-body
                -H ‘Content-Type: application/json’
                –data-binary @-
                “$INSTANCE/api/v3/user/login” )

                unset MOD_PASSWORD TWO_FA TOKEN=$(printf ‘%s’ “$LOGIN_RESPONSE” | jq -er ‘.jwt // empty’) unset LOGIN_RESPONSE

                If this produces an error or no token, STOP rather than continuing.

                Login documentation: https://lemmy.readme.io/reference/post_user-login.md

                1. LOOK UP THE TARGET USER’S ID

                Enter their fully qualified account name, in the form @username@instance-domain.

                read -r -p "Account to ban (@username@instance-domain): " TARGET_USER

                curl -sS --fail-with-body --get
                “$INSTANCE/api/v3/resolve_object”
                -H “Authorization: Bearer $TOKEN”
                –data-urlencode “q=$TARGET_USER” | jq ‘.person.person | {id, name, actor_id}’

                Check that actor_id identifies the intended account, then note the numeric id.

                1. LOOK UP THE COMMUNITY’S ID

                Enter its fully qualified name, in the form !community@instance-domain.

                read -r -p "Community (!community@instance-domain): " TARGET_COMMUNITY

                curl -sS --fail-with-body --get
                “$INSTANCE/api/v3/resolve_object”
                -H “Authorization: Bearer $TOKEN”
                –data-urlencode “q=$TARGET_COMMUNITY” | jq ‘.community.community | {id, name, actor_id}’

                Check the community’s identity and note its numeric id.

                Both IDs must come from the same instance receiving the ban request. Do not copy a user ID from their home server and combine it with a community ID from another server. The lookup above avoids that problem.

                Object-resolution documentation: https://lemmy.readme.io/reference/get_resolve-object.md

                1. SUBMIT THE COMMUNITY BAN

                This is the step that actually bans the account. Enter the IDs obtained above.

                read -r -p "Target person’s numeric ID: " PERSON_ID read -r -p "Community’s numeric ID: " COMMUNITY_ID read -r -p "Ban reason: " BAN_REASON

                jq -n
                –argjson person_id “$PERSON_ID”
                –argjson community_id “$COMMUNITY_ID”
                –arg reason “$BAN_REASON”
                ‘{ community_id: $community_id, person_id: $person_id, ban: true, remove_data: false, reason: $reason }’ | curl -sS --fail-with-body
                “$INSTANCE/api/v3/community/ban_user”
                -H “Authorization: Bearer $TOKEN”
                -H ‘Content-Type: application/json’
                –data-binary @- | jq .

                This requests a ban with no expiry and leaves existing content untouched. Check the response for errors and confirm the ban in the community’s moderation log.

                Community-ban documentation: https://lemmy.readme.io/reference/post_community-ban-user

                REMOVING EXISTING DOWNVOTES

                The example deliberately uses remove_data: false.

                • To request data removal, change it to true before submitting.
                • On versions containing PR #5810, banning with data removal also removes that person’s existing upvotes and downvotes in the community, not only downvotes.
                • It also removes their posts and comments in that community, if any.
                • Do not assume an older 0.19.x installation includes that change. A merge into the development branch does not establish that it is installed on a particular server.

                PR #5810: https://github.com/LemmyNet/lemmy/pull/5810

                1. CLEAR THE TOKEN WHEN FINISHED

                unset TOKEN