Guia do administrador para tags no Discourse

:bookmark: This guide explains how Discourse tags work, how to configure tag settings, and how to manage tags across your site.

:person_raising_hand: Required user level: Administrator

Managing tags in Discourse

Tags in Discourse provide a powerful way to organize and filter content beyond categories. This guide covers everything administrators need to know about configuring and managing tags.

Summary

  • Configure tag settings in your admin panel
  • Create, manage, and bulk modify tags
  • Set up automatic tagging
  • Use tag groups to organize related tags

Configuring tag settings

Tag settings can be found in your admin panel under the “Tags” section of your site settings.

Tagging is enabled by default. To disable tags, uncheck the tagging_enabled setting.

Key tag settings include:

  • Maximum tags per topic
  • Maximum tag length
  • Minimum trust level required to create tags
  • Minimum trust level required to tag topics
  • Maximum tag search results
  • Tag sorting options

Creating and applying tags

Tags are created upon first usage. When composing or editing a topic, a user with tag creation privileges will see a tag chooser next to the category chooser.

Tags can also be adjusted when quick editing a topic title:

:information_source: Categories, depending on their settings, can optionally limit which tags may be applied to topics in that category.

Filtering topics by tags

You can find the full list of tags on the /tags page on your site, along with a count of how often each tag has been used. Selecting a tag will present a list of topics that have had the tag applied.

:information_source: To filter topics by more than one tag at the same time, use the following URL syntax:
https://discourse.example.com/tags/intersection/TAG1/TAG2

Managing individual tags

To manage a specific tag:

  1. Go to the /tags page on your site
  2. Select the tag you would like to manage
  3. Select the wrench icon button to reveal options to rename, delete, and manage synonyms

Bulk managing tags

To modify tags across multiple topics at once:

  1. Visit any topic list filtered by tag
  2. Press the list icon bulk-select button at the top left of the topic list
  3. Manually select topics or use the “Select All” option
  4. Use the wrench icon admin button that appears at the top-right of the topic list to open the Bulk Actions modal
  5. Choose from three tag options:
    • Replace Tags - replace all existing tags with new ones
    • Append Tags - add new tags while keeping existing tags
    • Remove Tags - remove all existing tags

Advanced tag administration

Go to the /tags page and look for the tag admin button in the upper-right corner:

From here you can:

  • Manage tag groups
  • Upload tags in bulk
  • Delete unused tags

Auto-tagging topics with watched words

The watched words feature can automatically tag topics based on specified words appearing in the content.

To set this up:

  1. Navigate to /admin/customize/watched_words/action/tag
  2. Add words or phrases that should trigger specific tags

:warning: This feature will not apply tags retroactively to existing topics.

Important considerations

  • Tags apply to topics, not to individual posts within topics
  • When users type something like #tagname in a post, they are creating a link to that tag, not applying the tag to their post
  • Tag groups can be used to restrict which groups of users can use specific tags

Related Topics

36 curtidas
Nesting categories in three levels
How to enable tags?
Is it possible to make tags mandatory?
Topic List Previews (legacy)
Set up structured tagging with tag groups and category tag restrictions
URL syntax for multiple tags within a category
Please create a subcategory for badges
User-defined keyword for each thread
Sub categories and tags
Help with Tags that can only be created by the Moderators but used by everyone
Discourse Tag Cloud
Renaming Tag to Existing Tag Should Merge
How to display categories by alphabet on sidebar and how to display tags on sidebar?
Better navigation for (structured) tags
Moving from sub-categories to tags?
I Need a category link to take me to a tags page
How to create leftsidebar tags section ? based on attachment
Share topic between multiple categories
Non-admins can not see tag usages for categories they have access to
How to delete a single tag?
Tags are not working due to multilingual plugin
Mandatory tagging for topics (either existing tags or user creates a new tag)
Ability to delete tags with < N topics
Can't add tags to category anymore
Tag upload with special characters via CSV is failing
Add a sub-category to a sub-category
Discourse Tag Cloud
Tags are not working due to multilingual plugin
The best way to answer customers?
Tag synonyms are fabulous
Search / Watching for Tags only populates Topics with the tag, not replies
Create a category in Discourse
Use discourse information and basic calculations in custom css?
Special category label doesn't show up
My Wiki of useful Meta (and other) links
Not Able To Post New Topic Using Tags - Error
Questions about editor, style guide and tags
Could I create link to filter multi tags in private message?

3 posts foram divididos em um novo tópico: Como permitir que alguém crie tags?

O que eu quero fazer é ter tags que possam ser usadas em várias categorias e que possam ser adicionadas dentro de uma resposta sob um tópico que não tenha essa tag definida como opcional.

Existe alguma maneira de utilizar tags em uma resposta sob um tópico que não tenha a tag como tag opcional no cabeçalho?
Então, tenho um tópico com Phoenix como tag opcional e esse é o tópico em que criei essa tag.
Eu gostaria de poder utilizar #Phoenix sob outros tópicos em outras categorias e poder clicar na tag dentro de uma resposta e ter os resultados com todas as outras respostas e posts que possuem essa tag (#phoenix) nela, sem que ela precise estar em todos os cabeçalhos de tópico. Eu também gostaria de poder fazer a mesma coisa com (#issue, #Problem-Solved, etc…)

Aqui está o tópico em que criei a tag no cabeçalho.

Aqui estão alguns posts/respostas que marquei com Phoenix que eu esperaria que estivessem nos resultados para essa tag. Eles não estão aparecendo, apenas o tópico com a tag opcional Phoenix adicionada a ele está aparecendo.



Aqui estão os resultados quando clico na tag em uma das respostas de um tópico diferente que tem a tag Phoenix nela. Minha expectativa é que qualquer post, seja um tópico ou uma resposta, que tenha a tag Phoenix nele apareça nesta lista. Mas está mostrando apenas posts que são um tópico com Phoenix como tag opcional dentro do cabeçalho desse tópico.

Aqui estão os resultados quando faço uma pesquisa de palavra por Phoenix no site.


#suporte Bug

1 curtida

Você leu esta postagem

2 curtidas

Tags são para tópicos, não para posts. Concordo que seria bom marcar posts também, mas isso pode levar a uma bagunça terrível muito rapidamente. E aumenta muito a moderação.

Quando você faz algo como tags, você está vinculando essa tag, não marcando. Mesma coisa com categorias quando Feature não recategoriza, mas está vinculando.

3 curtidas

Obrigado pelo link. Vou verificar e ver se isso resolverá nosso problema.
Saúde!

1 curtida

Para mim, os rótulos nas restrições do Grupo de Tags não são muito claros. O que significa “só pode ser usado por um determinado grupo”? Usar significa adicionar, remover ou também clicar neles para obter a lista de tópicos marcados. Se isso for possível, talvez substituir “usado” por “editado” ou explicitamente “adicionado/removido” seria útil.

1 curtida

Para o Etiquetar tópicos automaticamente se a primeira postagem contiver uma palavra específica; é de alguma forma possível definir algumas palavras para verificar apenas o Título?

Se não, seria possível adicionar essa funcionalidade?

1 curtida

Atualização: Encontrei a página acessando /tag_groups, mas não sei por que o canto superior direito não está visível.


Olá
Estou usando o Discourse versão (3.6.0.beta2-latest) e tenho uma conta de administrador, mas ainda não consigo encontrar a página para gerenciar grupos de tags mencionados:

Qual seria o link direto para a página de gerenciamento de grupos de tags?

Obrigado!

É /tag_groups.
Você também pode atualizar seu fórum. O bug que impedia a exibição do menu foi corrigido:

1 curtida

Obrigado @Moin! Você é sempre muito prestativo… :slight_smile: