Discourse-custom-app-banner

Wenn Sie eine benutzerdefinierte Discourse-App oder eine App für Ihr Unternehmen haben, möchten Sie Ihren Benutzern möglicherweise einen benutzerdefinierten App-Banner anzeigen. Discourse bietet nur die Möglichkeit, Benutzer über die Site-Einstellung „Sonstiges → native app install banner“ auf die Discourse-App hinzuweisen, wie hier gezeigt:

afbeelding

Mit discourse-custom-app-banner können Sie Ihre eigenen iTunes- bzw. Android-Apps konfigurieren und stattdessen einen Banner dafür anzeigen.

Das Plugin finden Sie unter GitHub - communiteq/discourse-custom-app-banner · GitHub

Dieses Plugin wurde für RZIM Connect entwickelt, und @outofthebox war so freundlich, uns zu erlauben, es als Open Source bereitzustellen.

9 „Gefällt mir“

Richard, I’m grateful for your professionalism, speed, and expertise on the Discourse platform.

This plugin provides our members with a better experience. Thank you!

I’m also grateful that you wanted to share this plugin with the Discourse community, which speaks to your character and loyalty. I am very happy to be able, through your hard work, to contribute a tiny bit back to this outstanding product and community.

3 „Gefällt mir“

I think it’s very reasonable to merge this functionality into core.

Two hidden site settings, that allow you to input android_app_id and ios_app_id and default to the current values.

I thought about doing this way, but back then there was just one Discourse app :wink:

9 „Gefällt mir“

Agreed, this is totally fine to merge in. We do not want to forcefully tie people to the one app, that’s not intentional.

7 „Gefällt mir“

Hier eine kurze Anleitung für alle, die dieses Plugin verwenden möchten. Die Funktionalität ist nun im Core enthalten.

Es gibt zwei versteckte Seiteneinstellungen: ios_app_id und android_app_id.

Um diese festzulegen, öffnen Sie eine Rails-Konsole und geben Sie ein:

SiteSetting.ios_app_id = XXX
SiteSetting.android_app_id = YYY

wobei XXX und YYY die jeweiligen App-IDs sind.

Anschließend können Sie die Einstellungen native_app_install_banner_ios und native_app_install_banner_android im Bereich Admin - Einstellungen aktivieren.

4 „Gefällt mir“