Blocking posts part 2

I’m probably asking for a lot, but is there are way to block all posts from members of a certain team? I don’t expect there to be, but I wanted to ask anyway just in case.

Edit: I’m sorry I’m not sharing the reason in the post, it involves some personal information I’m not sure I was to put in the Internet

3 Likes

Since there isn’t a way to search by team affiliation anymore (to my knowledge) I imagine not but I am not a mod

It doesn’t matter then.

I’m not sure I want to ask why someone wants to block an entire team, but I could see a few possible reasons.

Also, it’s apparently not possible to search users by team number, unless they put it in their username. I just tried and turned up 2 of what should have been 20.

1 Like

If anyone really wants to know the reason why they can direct message me and I’ll add the mods to the conversation to make it YPP compliant, but I’m still not sure I want to share

Team number exists in a user data export (user field 1). But a custom plugin would be required.

1 Like

This is something we’ve needed since the move from vBulletin.

If someone wants to make a supported plugin, I would install it.

It looks like others in the Discourse community would like it, as well.

6 Likes

You can sort the member list by team number. It’s not terribly useful but I think you could find everyone from a certain team if you scroll far enough.

2 Likes

Are team numbers required to create an account?

And is filtering on an optional field practical?

Not required… and you can also set characters to the field (see my profile)

But also, what’s stopping someone from changing their team number to bypass the block?
Should they be able to bypass the block after changing their team number?

Pretty sure you could run a code through a plugin, since Discourse, this forum engine, runs off of HTML, like other website pages. Problem with that is that it requires both the plugin and the code, and amongst that, you could still have room for error. There unfortunately isn’t an easy way of doing this. I have tried a preferences code that searches for a team number (specifying the one in their profile) and then turns the values to null, basically erasing them. I ran it through the inspect function of the page, or rather ‘console’ as google calls it.

More work than is needed. Unless this is for a very serious infringement, I’m sorry that there isn’t a decent way to do this.

I was talking about a plugin to searching for a team number, not blocking by team number. I don’t think we’d ever add that functionality.

6 Likes

This might already exist. Is “searchable” currently enabled for the team number user field? Create and configure custom user fields - admins - Discourse Meta

Edit: not sure if user directory maps to search, but the pieces are there.

1 Like

They weren’t set to searchable (they are now).

3 Likes

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.