[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 KB · 浏览: 0
  • 点赞
反应: JayJayBang
作者
axtona
浏览
604
扩展类型
zip
文件大小
143.4 KB
首次发布
上次更新
评分 0.00 星 0 个评分
链接失效了吗? 发送消息 给 NP 团队,我们会尽快为您处理!
支持开发者 如果您对测试满意或项目已成功盈利,可点击「更多信息」按钮,通过购买来支持开发者!

来自 axtona 的更多资源

Persona - 个性化你的论坛身份 A
Persona为论坛上的每一个成员提供了工具,让他们能够打造自己的存在感。
XenForo媒体图库/XFMG A
XenForo媒体图库是官方的XenForo扩展程序,允许您为您的XF2添加一个相册
Relevio.ai A
Relevio.ai 1.0.0
这是一个针对XenForo的Relevio插件,它是一个独特的上下文感知、规则驱动的内容管理引擎

相似的资源

 核心包 N
核心包 2.0.1-PL1
该包包含我们之间共享的库。
浏览
1,320
已更新
[Berg] 通知警报 A
[Berg] 通知警报 1.0.0 Alpha 6
发送警报到Telegram
浏览
231
已更新
[Berg] Telegram 鉴权 A
[Berg] Telegram 鉴权 1.0.2 Alpha 10
Telegram 连接账户
浏览
217
已更新
返回
顶部