[Telegram] Core

[Telegram] Core 2.0.4.1

Нет прав на скачивание
Совместимость с XF
  1. 2.2.x
Краткое описание
Enhance your XF forums with the Telegram login plugin. Supports two authentication methods: Telegram OAuth Button and direct chat, ideal for censored regions.
Plugin provides the ability to log in via Telegram and basic code events for implementing bots with XF.
By default, plugin implements two ways for authenticating: default Telegram OAuth Button and "dialog with bot" (for cases when button doesn't displayed because user lives in country with censorship (hello from Russia)).
For using Telegram as authentication provider, we need create bot.
  1. Open the Telegram Client and find @BotFather user.
  2. Press button "Start" in window bottom.
  3. Send the command /newbot for starting the process.
  4. Follow the instructions which will come in response in all your actions.
  5. In reply, after input bot username, you receive your HTTP access token. Do not show it [token] anyone! It important!
  6. For opportunity use bot as authentication provider, we need say @BotFather our domain where our forum is running. For this, you need use command /setdomain.
    Domain should be sended without protocol and URI parts! For example, if your forum is hosted in https://example.com/forum, you need send only example.com!
  7. If you want, you can change user avatar (/setuserpic) or change user viewable name (/setname). Note you can't change bot username (starts always with @ and ends on bot). If you realized the selected username you don't like, it's time recreate bot!
  8. Open the ACP, in Connected accounts find Telegram item and open settings. Copy HTTP access token from BotFather and Save.
  9. (optional) In Telegram options (Setup → Options → Telegram) enable the webhook update method for receiving all updates from Telegram.
Now, you can start the test authentication possibility with Telegram!
If you enabled webhook and uses CloudFlare or any CDN proxy, don't forget add Telegram IP ranges in whitelist. They are presented on the official Telegram site in documentation.
  • 1580580398644.webp
    1580580398644.webp
    6.3 КБ · Просмотры: 0
  • Нравится
Реакции: JayJayBang
Автор
axtona
Просмотры
609
Тип расширения
zip
Размер файла
143.4 КБ
Первый выпуск
Последнее обновление
Оценки 0.00 звезды 0 оценок
Ссылка не работает? Отправить сообщение команде NP, и мы поможем вам очень быстро!
Поддержите разработчика Если вы довольны тестом или ваш проект приносит доход, нажмите кнопку «Больше информации», чтобы поддержать разработчика покупкой.

Больше Ресурсов от axtona

Сорcerer Pro A
Вставьте PHP и любые виды кода HTML, CSS и JavaScript в контенте!
Просмотры
869
Обновлено
Кэш Очиститель PRO A
Cache-Cleaner kann auch automatisch den Joomla! Cache nach der Speicherung eines Artikels oder anderer Items löschen.
Просмотры
804
Обновлено
Авто Закрытие + Уведомление о Треде A
Автоматическое закрытие темы помогает оставлять старые дискуссии аккуратными без сюрпризов для участников.
Просмотры
78
Обновлено

Похожие ресурсы

 Корневой пакет N
Пакет содержит библиотеки, которые мы делаем общими для нескольких наших плагинов
Просмотры
1,341
Обновлено
[Berg] Сообщение в Telegram A
Отправить уведомления в Телеграмм
Просмотры
251
Обновлено
[Berg] Telegram Auth A
[Berg] Telegram Auth 1.0.2 Alpha 10
Telegram Connected Account
Просмотры
233
Обновлено
Назад
Вверх