Developer of Deus Ex Randomizer, StarCraft 2 Randomizer, RollerCoaster Tycoon Randomizer, Build Engine Randomizer, and Groovie 2 in ScummVM

https://lemmy.mods4ever.com/communities

https://mods4ever.com/

  • 8 Posts
  • 91 Comments
Joined 1 year ago
cake
Cake day: June 7th, 2023

help-circle










  • Die4Ever@programming.devtoLemmy@lemmy.mlDocumentation for writing Lemmy Plugins
    link
    fedilink
    English
    arrow-up
    14
    arrow-down
    1
    ·
    edit-2
    2 months ago

    a pretty simple plugin idea would be a regex to validate post titles, deny the post if the title is invalid

    I might try it unless someone else beats me to it

    I guess to start with it could be a config file with a dictionary of community name: regex

    and later it could be made to use the database with an api to set the regexes, could even allow community moderators to set their own regexes (might need a maximum regex length, maximum number of parenthesis/groups in the regex pattern, and disable lookbehind/lookahead, for performance reasons)








  • It only counts the single most recent comment, so a handful of recent comments or just 1 single recent comment makes no difference.

    It’s the combination of most recent comment with the number of upvotes. If this post’s most recent comment is an hour old but the post has 300 upvotes, that’s better than a post with a 10 minute old comment and only 10 upvotes for the post.

    I’m not aware of any recent changes to it but idk for sure.