Display Style Choice

Display Style Choice 1.0.0

Sem autorização para baixar
Compatibilidade com XF
  1. 2.3.x
Descrição curta
Display Style Choice lets users customize username colors based on their selected user groups in XenForo 2.3+ without admin intervention. Admins can lock specific groups for visual distinction. Live color preview ensures accurate appearance before saving changes. Zero-query performance and lightweight footprint make it a seamless addition to your forum.

Display Style Choice​

Let your users choose which user group's username color they display. Members with multiple user groups can pick their preferred display style from Account > Preferences, no admin intervention needed.

When a user belongs to multiple user groups, XenForo normally picks the display group based on group priority. This addon gives users control over that choice. A dropdown on the Preferences page lists all their eligible groups with a live color preview, so they can see exactly how their name will appear before saving.

Admins can lock specific groups (e.g., staff groups) to prevent users from selecting them, ensuring visual distinction for moderators and administrators is maintained.

  • User-facing dropdown - users pick their preferred display group from Account > Preferences
  • Live color preview - username color updates in real time as users browse options
  • Admin lockable groups - prevent users from selecting staff or other protected groups via a simple admin option
  • Zero-query performance - overrides XenForo's display group calculation at the repository level with no additional database queries
  • Lightweight footprint - single column added to the xf_user table; 3 clean class extensions
  • Clean uninstall - all data and schema changes are fully removed on uninstall
  • Respects XF patterns - uses standard XenForo class extensions (XFCP), phrases, and options

  • XenForo 2.3.0 or later

  1. Download and extract the release ZIP
  2. Upload the
    CÓDIGO:
    Qubn/DisplayStyleChoice
    directory to
    CÓDIGO:
    src/addons/
    on your server
  3. Go to Admin CP > Add-ons and click Install/upgrade from archive, or install via CLI:
    CÓDIGO:
    php cmd.php xf-addon:install Qubn/DisplayStyleChoice
  4. (Optional) Navigate to Admin CP > Options > Display Style Choice to configure locked groups

After installation, visit Admin CP > Options > Display Style Choice:

  • Locked staff groups - select which user groups should be unavailable for user selection. Users belonging to locked groups will still see them listed but cannot choose them as their display style.

If you encounter any issues or have feature requests, please use the discussion tab on this resource page. Include your XenForo version and any relevant error log entries when reporting problems.
01-admin-options.webp
02-preferences-dropdown.webp
Autor
axtona
Visualizações
172
Tipo de extensão
zip
Tamanho do arquivo
885 KB
Primeiro lançamento
Última atualização
Avaliações 0,00 estrelas 0 avaliações
Link quebrado? Enviar mensagem para a equipe NP que vamos ajudá-lo rapidamente!
Apoie o desenvolvedor Se você está satisfeito com o teste ou seu projeto gerou lucro, clique no botão “Mais informações” para apoiar o desenvolvedor comprando.

Mais recursos de axtona

Perfil - Personalize Sua Identidade no Fórum A
Persona dá a cada membro em seu fórum as ferramentas para fazer sua presença única.
XenForo Galeria de Mídia / XFMG A
Galeria XenForo é um adendo oficial do XenForo que permite você adicionar uma galeria ao seu XF2
Relevio.ai A
Relevio.ai 1.0.0
Este é o addon XenForo para Relevio, um motor de moderação único, baseado em contexto e regras
Visualizações
135
Atualizado

Recursos similares

[AndyB] Remove style variation system A
Removes style variation 'system' from selection options.
Visualizações
300
Atualizado
[AndyB] Prefix style manager A
This add-on is useful if you would like to define your own thread prefix background color.
Visualizações
296
Atualizado
Voltar
Top