Discourse-custom-app-banner

If you have a custom Discourse app or maybe an app for your company, you might want to show a custom app banner to your users. Discourse only has the ability to refer people to the Discourse app using the Other → native app install banner site setting, like this one:

afbeelding

The discourse-custom-app-banner allows you to configure your own iTunes / Android apps and show a banner for those instead.

The plugin can be found at GitHub - communiteq/discourse-custom-app-banner · GitHub

This plugin was developed for RZIM Connect and @outofthebox was so kind to allow us to open source it.

9개의 좋아요

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개의 좋아요

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개의 좋아요

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개의 좋아요

이 플러그인을 사용하려는 분들을 위한 간단한 안내입니다. 해당 기능은 이제 코어에 포함되어 있습니다.

숨겨진 사이트 설정 두 가지가 있습니다: ios_app_id와 android_app_id.

이 설정을 하려면 rails 콘솔을 열고 아래를 입력하세요.

SiteSetting.ios_app_id = XXX
SiteSetting.android_app_id = YYY

여기서 XXX와 YYY는 각각의 앱 ID입니다.

이후 관리자 - 설정 화면에서 native_app_install_banner_ios와 native_app_install_banner_android 설정을 활성화할 수 있습니다.

4개의 좋아요