Обсуждение решено

:discourse2: Краткое описание Discourse Solved позволяет пользователям отмечать решения в темах в указанных категориях.
:open_book: Руководство по установке Этот плагин включен в ядро Discourse. Отдельная установка плагина не требуется.

Включение функции «Решено»

Плагин «Решено» можно включить в его настройках, доступных на странице admin/plugins:

После включения плагина, чтобы активировать функцию «Решено» для всех категорий, используйте настройку сайта allow solved on all topics.

Или, если вы хотите применять это для каждой категории отдельно:

  • Перейдите в категорию, в которой хотите включить отметку решений, и нажмите на ключ категории

  • Переключитесь на вкладку «Настройки»

  • Прокрутите вниз и включите опцию Разрешить автору темы и сотрудникам отмечать ответ как решение

Allow topic owner and staff to mark a reply as the solution

Отметка решений

Автор темы (ОТ) увидит кнопку «Решение» под каждым ответом, которая позволяет/поощряет его принять ответ:

А для других пользователей, которые могут принять ответ (например, администраторов или модераторов), эта же опция будет отображаться в виде более сдержанного флажка:

Принятые ответы затем выделяются в первом сообщении темы:

Темы с принятыми ответами помечаются в списке тем галочкой:

Некоторые сайты могут также выиграть от наличия индикатора нерешённых тем в списках тем, который можно включить с помощью настройки сайта empty_box_on_unsolved:

Автоматическое закрытие темы после решения

В основных настройках администратора плагина «Решено» вы можете установить таймер для автоматического закрытия темы после получения решения с помощью настройки solved topics auto close hours:

Альтернативно, это можно настроить для каждой категории через меню ключа категории на вкладке «Настройки»:

Поиск и фильтры

Поиск

Плагин «Решено» включает дополнительные расширенные фильтры поиска для решённых и нерешённых тем, которые можно найти в выпадающем списке «Где искать темы»:

Это добавит status:solved или status:unsolved к вашему поиску.

Фильтры

Вы также можете включить выпадающий список фильтров на страницах списков тем с помощью настройки сайта show_filter_by_solved_status.

Вы также можете фильтровать решённые/нерешённые темы, добавив параметр в URL. Например:

https://meta.discourse.org/c/support?solved=yes или https://meta.discourse.org/c/support?solved=no

Эти ссылки можно добавить над списком конкретной категории, следуя этим инструкциям:

Напоминание о помеченном решении

В темах, где можно отметить решение, появится всплывающее сообщение «Ваш вопрос был решён?», если выполнены следующие условия:

  • У темы нет принятого ответа
  • У темы есть хотя бы один ответ от другого пользователя
  • Автор темы авторизован и может принять ответ как решение
  • Тема существует уже не менее 7 дней

Если вы хотите предотвратить отображение этого всплывающего сообщения, вы можете использовать следующий CSS в компоненте темы, чтобы скрыть его:

.topic-navigation-outlet.no-answer {
    display: none;
}
Дополнительные сведения о том, как добавить это на ваш сайт
  • Перейдите на /admin/customize/themes
  • Нажмите Установить, а затем Создать новый
  • Дайте ему имя и выберите «Компонент».
  • Создать
  • Добавьте его в вашу тему
  • Нажмите кнопку Редактировать CSS/HTML и вставьте код на вкладку Общее

И сохраните. :+1:

Настройки

Название Описание
solved enabled Включить плагин «Решено», разрешить пользователям выбирать решения для тем
allow solved on all topics Разрешить пользователям выбирать решения во всех темах (если снято, решения можно включить для каждой категории или тега отдельно)
accept all solutions allowed groups Группы, которым разрешено принимать решения в любой теме (даже если они не являются автором темы)
empty box on unsolved Отображать пустой квадрат рядом с нерешёнными темами
solved quote length Количество символов для цитирования при отображении решения под первым сообщением
solved topics auto close hours Автоматически закрывать тему через (n) часов после последнего ответа, если тема помечена как решённая. Установите 0, чтобы отключить автоматическое закрытие
show filter by solved status Показывать выпадающий список для фильтрации списка тем по статусу «Решено»
notify on staff accept solved Отправлять уведомление автору темы, когда сообщение помечено как решение сотрудником
disable solved education message Отключить информационное сообщение для решённых тем
accept solutions topic author Разрешить автору темы принимать решение
solved add schema markup Добавить разметку схемы QAPage в HTML
prioritize solved topics in search Приоритизировать решённые темы в результатах поиска
enable solved tags Теги, которые позволят пользователям выбирать решения

Значки «Решено»

Название Описание Длинное описание Тип Группа
Решено! Есть ответ, отмеченный как решение Этот значок выдаётся за наличие ответа, отмеченного как решение в теме. :white_check_mark: Отличная работа. :+1: :3rd_place_medal: Сообщество
Консультант по вопросам 10 ответов, отмеченных как решения Этот значок выдаётся за наличие 10 ваших ответов, отмеченных как решения в темах. :white_check_mark: Вы настоящий актив для ваших товарищей по сообществу. :2nd_place_medal: Сообщество
Всезнайка 50 ответов, отмеченных как решения Этот значок выдаётся за наличие 50 ваших ответов, отмеченных как решения в темах. :white_check_mark: Вы действительно разбираетесь в теме. :clap: :1st_place_medal: Сообщество
Учреждение решений 150 ответов, отмеченных как решения Этот значок выдаётся за наличие 150 ваших ответов, отмеченных как решения в темах. :white_check_mark: Отличная работа. :slightly_smiling_face: Вы официально стали Учреждением решений. :brain: :1st_place_medal: Сообщество

:information_source: Эти значки по умолчанию отключены. Вы можете включить их на странице admin/badges

:discourse2: Размещено нами? Этот плагин доступен во всех наших тарифах хостинга Solved | Discourse - Civilized Discussion


История разработки

:information_source: По состоянию на 29 мая 2025 года данные о решениях хранятся в двух таблицах:

  • Запись в discourse_solved_solved_topics указывает, что тема с topic_id имеет решение, а также отслеживает информацию о таймере автоматического закрытия.
  • Запись в discourse_solved_topic_answers хранит answer_post_id и accepter_user_id для самого сообщения с решением, а также solved_topic_id, ссылающийся на столбец id записи темы в discourse_solved_solved_topics.

Это изменение было внесено в Discourse PR #39806.

Устаревшие столбцы answer_post_id и accepter_user_id в discourse_solved_solved_topics будут удалены в будущем.

Благодарим компанию Western Digital за финансирование разработки этого плагина!

162 лайка
Solved Button Plugin
What is this checkbox icon in the topic list?
How do you enable a tick mark?
Mark as Solution feature?
Can't find "Allow topic owner and staff to mark a reply as the solution" Setting
Mark all topics as solved specific category
Pop-up message after selecting the best answer
Option to mark as solved
Query to find out who marked the solution as solved
How to replace the discourse `Topic` with `Question` instead?
[Accepted answer plugin] Add an ability to accept the initial (topmost) post as a solution
Question Answer Plugin
Discourse need a fork to be a Q&A software?
Discourse Solved Quote Customization
Follow up "open" tickets
No option appears to choose better answer
Image zoom is not working
Advice for getting my little game dev community "out there?"
Moderating the forum
Titles in SVG inserted by a theme component get overwritten with page title after tab switch
Trust Level Wishlist Items
A feature request related to this plugin. Pointed questions or rewarded questions
Feature: endorse button to add single-click endorsements
Send email notifications for small actions
Comment on a question instead of answering it
(Ab)using bumped_at to achieve Reddit like sorting
Volunteer Activities - a simple setup for non-hierarchical collaboration
Hello Community Experts- are we able to configure discussions to be threads AND questions?
Implementing KCS
Trust Level Permissions Reference
Can I view a list of solved and unsolved topics in a category
Where is Solved data stored in the database?
Too many Crawlers, is that a problem?
Discourse instance supporting entrepreneurs who sell on Amazon
Reordering a topic by ‘most liked’ or threaded replies
How to add this header, colored categories, and sidebar categories?
Looking for examples of Discourse Communities that visually call out answered/closed topics on feeds
Pinning a post to the top of the topic
How to replace the discourse `Topic` with `Question` instead?
Please update 'Understanding Discourse Trust Levels' — or is there a different doc?
Best practices for "revisit and clarify the top 100 most visited topics."
Is it possible to have a badge for 100 solutions?
Is there a plugin for "response posts?"
Discourse Gamification
New Leaderboard/User Directory Features :tada:
Topics list filter feature
Do these new badges come bundled with the plugin?
How do I make "accept answer" the first item in the post menu
How can I show topics that have not received an answer yet?
Error when updating Discourse to the new version (need urgent support)?
Plugins to Enhance user Engagement
Building a Mentoring Scheme for Members in Discourse
The default badge queries
Creating a community culture of marking topics as solved
Soft close for a topic by OP
Using DATE_TRUNC for Data Aggregation
Creating a 'stickypost' for forum threads
Handling Null Values with COALESCE
Is there a component so when a topic is marked as Solved, the topic gets locked and a custom message is posted with it?
Is there a component so when a topic is marked as Solved, the topic gets locked and a custom message is posted with it?
"Solved" bug or intentional?
"Solved" bug or intentional?
Use AI to identify which post should have marked solution and did not
Marked as solved, Vote Replenishing & Querying
Solved Topic and Moderator Response Stats by Category
Cohort Analysis Report - Monthly User Activity by Posts and Solutions
Solved and Unsolved Topic Stats with Date and Tag Parameters
Instantly close topic when marked as Solved and leave a custom message
Discourse Automation
Questions Solved and Currently Assigned Topics by User per Month
Managing Forum Moderators - Metrics & Reporting
Pinning a post to the top of the topic
How to make a help topic with solutions?
Solved Topic Badge
Using user cards to quickly view information about others
How are you increasing response rate in a community support forum?
Inconsistent marking of Topics as ☑️ Solved, Completed, or Fixed here on meta.discourse.org
When goes to a category /latest doesn’t show the actual latest
Allow “Mark as Solution” in group messages
Easily create Support categories using the discourse-solved plugin
Question Answer Plugin
What happens next?
Bundling more popular plugins with Discourse core
Configuring auto-bumping for topics
Solved Button Plugin
Notifying members when a Tracked or Watched topic is solved
Horizon: High Context Topic Cards
Horizon Theme
Advice on a support forum
Answer in a post
Google Structured Data -- Invalid Article Schema
Solution icon does not show in posts
How can I fix or pin posts inside a topic
Discourse to Power Q & A Site?
Admin/mod ability to insert a post wherever
Reward sign on avatar (or similar)
Solved plugin: post menu button now hidden at far right, used to be on the left?
Discourse for helpdesk use cases?
Introduction and question about how to best mark topics as "Answer"
Automatic Second-Post Wiki?
How can I turn discourse to Q&A based website?
Plugin: 'Ask to Answer' Mechanism
How To Mark a Topic As Resolved?
Is there any plugin for downvoting questions and replies in Discourse
Deleted posts can be counted as unread
What is SQL Badge Query for invited >25 People?
Add Badge to Solve answer
The best way to answer customers?
Using query strings to filter topic views
Badge not being applied, sql error
Generating Support Metrics (with Assign and Solved plugins)
A question re the Solved plugin and Badge SQL
Thoughts on a plugin which turns discourse into stackoverflow