사용자 필드 프롬프트

:discourse2: 요약 User Field Prompt을 사용하면 어떤 Discourse 게시글에서도 사용자 필드 양식을 표시할 수 있습니다.
:eyeglasses: 미리보기 Discourse Theme Creator에서 미리보기
:hammer_and_wrench: 저장소 링크 https://github.com/discourse/discourse-user-field-prompt
:open_book: Discourse 테마를 처음 사용하시나요? Discourse 테마 사용 가이드

이 테마 컴포넌트 설치

기능

User Field Prompt을 사용하면 어떤 Discourse 게시글에서도 사용자 필드 양식을 표시할 수 있습니다. 양식에서 이루어진 변경 사항은 현재 사용자 프로필에 저장됩니다. 사용자가 프로필에서 해당 필드를 직접 찾아야 하는 번거로움 없이 사용자 필드를 변경하도록 요청하는 데 유용합니다.

age라는 이름의 사용자 필드와 best fruits라는 이름의 다른 필드를 사용하는 예시:

[wrap=user-field names="age,best fruits"][/wrap]


:discourse2: 우리가 호스팅을 담당하고 있나요? 테마 컴포넌트는 Pro, Business, Enterprise 플랜에서 사용할 수 있습니다.

34개의 좋아요

Hi, does not work for me, it displays a blank field and an error when saving the post.

1개의 좋아요

Hi, has anyone successfully used this ?

hi @patrickemin
I can confirm this is currently not working. I’ve tagged in the relevant people, so hopefully there will be a fix soon.

2개의 좋아요

Thanks for the report. This should be fixed now: FIX: Rendering strategy (#34) · discourse/discourse-user-field-prompt@c468800 · GitHub

3개의 좋아요

Hi, I tested again and it’s still not working: no error displayed but the post is blank.

Any chance you can share a link to an example broken post on your forum? (in PM is fine if you prefer not to share here)

The preview of the theme on theme-creator is working for me (as long as you’re logged in)

Yes here you are: https://dessein-tech.com/t/user-field-prompt-test/8404

Are you sure the user-field-prompt theme component is installed and enabled? I don’t see its code in the dev tools :thinking:

My bad the TC was deactivated, it’s now active, I created a new topic: https://dessein-tech.com/t/user-field-prompt-test-2/8406 the frame around the field appears but is not editable. On top of that, the delete button and edit button for that topic do not work (there a delay of 30 seconds before the topic is actually deleted or can be edited). The wrench icon does not react too. This happens in Preview mode too.

1개의 좋아요

I think the problem is that your site is running a legacy version of the post-stream, because discourse-nationalflags has not yet been updated for the new post stream. As an admin, you should be seeing a red banner about that issue.

The recent fixes for user-field-prompt were built only with the new post-stream in mind, so that’s why it’s causing errors on your site.

So if you need this user-field feature right now, I’d recommend disabling the nationalflags plugin. Otherwise, you’ll need to wait for the developer of that plugin to make the necessary updates.

x-ref:

5개의 좋아요

Thank you for your analysis :slightly_smiling_face: . I’ll wait for the nationalflags update.

1개의 좋아요

안녕하세요, 국가 플래그 플러그인이 업데이트되었고, 이제 TC 사용자 필드가 정상적으로 작동합니다!

5개의 좋아요

첫 번째 게시물의 스크린샷을 업데이트하여 제목과 설명이 필드 아래에 표시되는 것이 덜 놀랍도록 만들 수 있을 것 같습니다.

설정 화면에서와 같은 모양이 더 이상 아닙니다.

3개의 좋아요

일관성이 있으면 좋겠습니다. 그리고 이는 사소한 변경 사항입니다.

이를 맞추기 위한 수정 작업은 얼마나 복잡한가요?

2개의 좋아요

몇 주 안에 이 테마 컴포넌트보다 나은 해결책을 내놓을 예정이라, 죄송하지만 이 부분에 시간을 쓰지 않겠습니다.

2개의 좋아요

TC(팀채팅)의 사용자 필드 같은 것인가요? :eyes: