Fediverse 핸들의 사용자 정의 필드 검증

Yes, I have searched and found one general method for validating the input to a custom user field. My skills here are a bit raw, so hoping for suggestions.

We’ve been encouraging people in our education community to include in their profile a username if they have a fediverse account (Mastodon, Bluesky, Threads, et al). These should be something with two @ signs, where the first is a username and the second a valid formatted domain.

 @coolperson99@someinstance.org

Despite what I thought was a clearly explained format:

The successful entry rate is like 20% or worse. I get email addresses, twitter usernames, random strings, URLs. I can only dream, but think it should be possible to check with some regex (again my skills are mid range to muddling) for the valid format.

자체 호스팅을 하거나 해당 기능이 포함된 호스팅 플랜을 사용하고 있다면 이 플러그인이 관심 있을 수 있습니다.

Customization > Theme component 도 참고할 가치가 있을 수 있습니다. 물론 이는 어떤 Discourse 설치 환경에도 설치할 수 있습니다.

Thanks Dan, the Discourse Authentication Validations plugin looks perfect and useful for my other fields.

I am already using Clickable Social Icon Links. I can see my mistake was asking for a mastodon username rather than a URL, so it looks like I have some cleanup to do!

천만에요!

이것도 유용할 수 있는 #customization:theme-component를 방금 발견했어요.

수정이 필요한 필드가 있는 포스트를 작성하고, 포맷 세부 사항/이미지를 제공하면 됩니다.