@Terevos@lemm.ee to Lemmy Support@lemmy.ml • edit-21 year agoIs there a way to hide a community I moderate from showing up on all or local?message-square12fedilinkarrow-up15file-text
arrow-up15message-squareIs there a way to hide a community I moderate from showing up on all or local?@Terevos@lemm.ee to Lemmy Support@lemmy.ml • edit-21 year agomessage-square12fedilinkfile-text
I run a few niche communities that would benefit from not being visible when people browse local or all. Is this possible?
minus-squareRoundSparrowlinkfedilink0•1 year agoThere are HideCommunity objects in the API, but I don’t actually find a function to call them. https://github.com/search?q=repo%3ALemmyNet%2Flemmy-js-client HideCommunity&type=code
minus-square@Terevos@lemm.eeOPlinkfedilink0•edit-21 year agoYou would need to build it into every call for showing local and all posts. Maybe there’s already a feature request for it. I haven’t explored Lemmy code really at all. But it likely wouldn’t be all that difficult to implement. Oh. You linked to the client. I think I’d build this into the API itself.
minus-squareRoundSparrowlinkfedilink0•1 year agoThere is a database field, and the SELECT queries exclude it just as they do if a community is blocked.
minus-square@Terevos@lemm.eeOPlinkfedilink0•1 year agoOh. OK. That makes sense to do it with the SQL. Probably faster that way
minus-square@limelight79@lemm.eelinkfedilink1•edit-21 year agoHell even the bicycling community could use this. People who hate cars show up and spread shit. It’s not hard to imagine LGBT communities, for example, and what they’ll go through without this. Edit I replied to the wrong comment. I’m leaving it though! Edit 2: Obviously that should say “…people who hate bicycles…”.
There are HideCommunity objects in the API, but I don’t actually find a function to call them. https://github.com/search?q=repo%3ALemmyNet%2Flemmy-js-client HideCommunity&type=code
You would need to build it into every call for showing local and all posts. Maybe there’s already a feature request for it.
I haven’t explored Lemmy code really at all. But it likely wouldn’t be all that difficult to implement.
Oh. You linked to the client. I think I’d build this into the API itself.
There is a database field, and the SELECT queries exclude it just as they do if a community is blocked.
Oh. OK. That makes sense to do it with the SQL. Probably faster that way
Hell even the bicycling community could use this. People who hate cars show up and spread shit.
It’s not hard to imagine LGBT communities, for example, and what they’ll go through without this.
Edit I replied to the wrong comment. I’m leaving it though!
Edit 2: Obviously that should say “…people who hate bicycles…”.