Yeah, actually that does remedy the problem. It does require you to use OAuth2 though (or so it seems), Using OAuth (version 1) doesn’t seem to honor setting options that way. At least I seem to have mine working now properly (still doing some more testing).
cpradio
(cpradio)
11
Tópicos relacionados
| Tópico | Respostas | Visualizações | Atividade | |
|---|---|---|---|---|
| Developing Discourse Plugins - Part 3 - Add custom site settings | 39 | 24867 | 15 de Março de 2025 | |
| Discourse.SiteSettings is Undefined in Plugin Initializer code | 2 | 638 | 7 de Julho de 2021 | |
| Discourse Plugins and Rails 6 config/initializers Question | 22 | 3418 | 22 de Novembro de 2020 | |
| Added custom initializer | 3 | 2832 | 19 de Abril de 2016 | |
| Plugin can't retrieve SiteSetting configured in admin ui | 3 | 1159 | 5 de Abril de 2018 |