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 [06.02.2018 14:11] 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 ====== | ||
- | After enabling it from main settings page (described in FB messenger settings page) - 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:fb-sc-1.png|}} | + | {{: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 optin page url - for multiple languages. Page should contain FB messenger ShoutCast button with ShoutCast channel (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. |
- ShoutCast channel is standard taxonomy term, available under FB ShoutCast menu. Each channel is used for broadcasting particular events. | - ShoutCast channel is standard taxonomy term, available under FB ShoutCast menu. Each channel is used for broadcasting particular events. | ||
Řádek 13: | Řádek 17: | ||
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 channels in which ShoutCast messages will be published. This channel must be referred in FB messenger ShoutCast shortcode on page (see 2.): | + | ShoutCast channel must be referred in FB messenger ShoutCast shortcode on page (see 2.): |
+ | |||
+ | {{:skoda-ep:modules:messenger_bot_module:shoutcast-3.png|}} | ||
+ | |||
+ | or by manual entry: | ||
''[fb-msg-optin-shoutcast msg="ShoutCast optIN" channel="17893"]'' -> channel id | ''[fb-msg-optin-shoutcast msg="ShoutCast optIN" channel="17893"]'' -> channel id | ||
- | 7. Button to resume all 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. | + | 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. |
- | 8. Textarea for message. | + | 7. Textarea for message. |
+ | |||
+ | 8. Optional message buttons - message buttons will be appended at the end of sent message. Button can deliver any standard command. | ||
9. Optional file (image, video, file, music). File will be enclosed with message in one post. Can be sent separately (alone) without message. | 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 6.). | + | 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|}} | ||
Last 20 sent messages are logged into Shoutcast entries table. | Last 20 sent messages are logged into Shoutcast entries table. | ||
- | |||
- | ====== SETTINGS ====== | ||
- | |||
- | Customisation of all automatic text messagess is possible. | ||
- | |||
- | In SKODA options menu -> two tabs are available | ||
- | |||
- | {{:skoda-ep:modules:messenger_bot_module:fbb-1.png|}} | ||
- | |||
- | ===== FB msg - general ===== | ||
- | |||
- | it is possible to remap standard commands with custom version. | ||
- | |||
- | Ex. OPTOUT mapping => ODHLASIT. Command OPTOUT will be remapped to ODHLASIT | ||
- | |||
- | Ex. OPTOUT desc => text. Description of command shown when HELP command is invoked by user | ||
- | |||
- | {{:skoda-ep:modules:messenger_bot_module:fbb-2.png|}} | ||
- | |||