Rozdíly
Zde můžete vidět rozdíly mezi vybranou verzí a aktuální verzí dané stránky.
Obě strany předchozí revize Předchozí verze Následující verze | Předchozí verze | ||
skoda-ep:modules:messenger_bot_module:shout_cast [16.01.2018 13:32] jan.lorenc |
skoda-ep:modules:messenger_bot_module:shout_cast [29.03.2018 07:35] (aktuální) jan.lorenc |
||
---|---|---|---|
Řádek 1: | Řádek 1: | ||
====== FB messenger ShoutCast ====== | ====== FB messenger ShoutCast ====== | ||
- | ShoutCast plugin is available right from the main menu, default in off state. | + | After enabling it from main settings page (described in FB messenger SETUP page) - ShoutCast plugin is available right from the main menu |
- | {{:skoda-ep:modules:messenger_bot_module:fbm-shoutcast-1.png?500|}} | + | {{:skoda-ep:modules:messenger_bot_module:shoutcast-4.png|}} |
+ | |||
+ | ShoutCast panel is default in off state. | ||
+ | |||
+ | {{:skoda-ep:modules:messenger_bot_module:shoutcast-2.png|}} | ||
1. Activate module. All settings are saved on fly by ajax, so there is no need to save anything manually. | 1. Activate module. All settings are saved on fly by ajax, so there is no need to save anything manually. | ||
- | 2. Shoutcast option page url - for multiple languages. Page should contain FB messenger optin button with broadcast category id (see 6.) so users can optin for shoutcast. | + | 2. Shoutcast optin page url - for multiple languages. Page should contain FB messenger ShoutCast button with ShoutCast channel (see 5.) so users can optin for shoutcast. |
- | - Broadcast category is standard post category, which is not used with any posts. Exists purely only for purpose of optin for subscribers. | + | - ShoutCast channel is standard taxonomy term, available under FB ShoutCast menu. Each channel is used for broadcasting particular events. |
3., 4. When the module is active, infobar will be shown on top of all frontend pages with given text and link to optin page url (see 2.) | 3., 4. When the module is active, infobar will be shown on top of all frontend pages with given text and link to optin page url (see 2.) | ||
- | 5. Custom message that will be posted as first message for subscribed user. | + | 5. Selected channel on which messages will be broadcasted. It can be shoutCast channel or standard content category. |
+ | optin process for categories is described in other sections of this wiki. | ||
- | 6. Broadcast category in which shoutcast will be published. This category must be referred in FB messenger optin shortcode on page (see 2.): | + | ShoutCast channel must be referred in FB messenger ShoutCast shortcode on page (see 2.): |
- | ''[fb-msg-optin msg="Optin Here!" cat="6970"]'' -> category id | + | {{:skoda-ep:modules:messenger_bot_module:shoutcast-3.png|}} |
- | ''[fb-msg-optin msg="Optin Here!" cat="shoutcast"]'' -> category slug | + | or by manual entry: |
- | Both shortcode statements are valid and have the same functionality. | + | ''[fb-msg-optin-shoutcast msg="ShoutCast optIN" channel="17893"]'' -> channel id |
+ | |||
+ | 6. Button to resume selected paused channels. Every user can mute particular channels during interaction with bot. This is supposed to be used in situations where new event is starting, and older one is not relevant anymore - so editors can reset muted users to start `new` broadcast for same channel. | ||
7. Textarea for message. | 7. Textarea for message. | ||
- | 8. Optional image link, in format http://xxx/yyy.jpg. Image will be enclosed with message in one post. | + | 8. Optional message buttons - message buttons will be appended at the end of sent message. Button can deliver any standard command. |
- | 9. Button sends message with image link to subscribers. | + | 9. Optional file (image, video, file, music). File will be enclosed with message in one post. Can be sent separately (alone) without message. |
+ | |||
+ | 10. Button sends message with optional enclosed file to subscribers - in selected channels (see 5.). | ||
{{:skoda-ep:modules:messenger_bot_module:fbm-shoutcast-2.png?500|}} | {{:skoda-ep:modules:messenger_bot_module:fbm-shoutcast-2.png?500|}} | ||
Řádek 33: | Řádek 42: | ||
Last 20 sent messages are logged into Shoutcast entries table. | Last 20 sent messages are logged into Shoutcast entries table. | ||
- | ===== Important ===== | ||
- | |||
- | Standard FB messenger optin buttons for standard posts which are not assigned to broadcast category (no-one should be) are stil preserving its standard optin funkcionality - recieving updates during new posts in subscribed categories. | ||
- | |||
- | Only subscribers of shoutcast broadcast category are exception to this. | ||
- |