I am creating a generator and want to make an anonymous user reporting system. Basically I want something similar to the feedback button on ai-chat where only admins with the comment option settings can access the room and view the information.

It would allow for users to anonymously send reports of what a potentially bad user has done that would be grounds for banning on my generator, even if the actions were potentially done on other generators. Which would allow me to promptly ban bad users in advance based on what the users say.

I need some help with this if anyone can help. I’m not figuring out how to make one from scratch nor am I finding the code from ai-chat where I can copy it, paste it, and then edit it to fit my needs.

  • allo@lemmy.world
    link
    fedilink
    English
    arrow-up
    1
    ·
    7 months ago

    i saw something once where someone made some private messaging system using encryption and generating keys.

    beside that tho i think what you want is beyond the scope of the current comments plugin in perchance. tho it wouldnt be hard for @perchance@lemmy.world to make it so a comment box can display no comments unless the user is Moderator, which sounds like the simple way to do what you are asking.

    I believe the feedback button is not connected to the comments system at all. If you would like something like that, you need somewhere for the messages to go. If you had your own server (maybe there are free ones that would work) somewhere it would be very easy with node.js coding just having the perchance page send the msg to your server and store it in a file. Tho you need some coding to do that. I could look in to this for you if you would like. This would be the closest to replicating the feedback button.

    It is also very very easy to have a button open up someone’s email with the recipient already filled out so they just have to type the msg and hit send. they have to have an email tho, which is more personal information than you should need.

    And there are probably ‘free messaging’ things on the internet you can embed tho that would have to be found outside perchance as well.

  • RudBo@lemmy.world
    link
    fedilink
    English
    arrow-up
    1
    ·
    7 months ago

    you can’t ban people in other gen as far as a regular admin with regular coding skill. Same user’s ID changes across different gens. If they haven’t visited your gen yet, you won’t know what they will look like there in advance.

    • Myra@lemmy.worldOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      7 months ago

      I’m not attempting to ban people in other gens obviously I dont have admin credentials on those gens to do so. Moreso I want to have a way for users to report “hey this guy from another gen did this here’s the proof” and then I can use that information to keep my chat safe. Some people however may want to send that information in an anonymous channel which is where I had the idea of making it function like ai-chat’s feedback button. I just can’t figure out the related code to repurpose it into my chat, or even copy it directly.

      • RudBo@lemmy.world
        link
        fedilink
        English
        arrow-up
        1
        ·
        7 months ago

        If you want true anonymous feedback, just use other poll/survey service and link it to the Perchance. Not everything has to be done here.