• هاست سان
  • با خرید اشتراک ویژه شما میتوانید جدیدترین آپدیت افزونه ها و قالب های زیبا و پرکاربرد زنفورو را دریافت کنید!

    هر ماه یک کد تخفیف 60 درصدی محصولات فروشگاه به کاربران منتخب بخش ویژه اهدا می‌شود

آیکون فایل

افزونه 2 [Telegram] Core 2.0.5 Alpha 7

دسترسی دریافت را ندارید
نمای کلی منبع
اتصال اکانت به تلگرام
XF Father توسط XF Father Stable
2.0.5 Alpha 7 نسخه
2 دریافت‌ها
423 بازدیدها
— رتبه‌بندی
اولین انتشار
آخرین بروزرسانی
سازگاری
توسط نویسنده مشخص نشده است
توسعه‌دهنده
XF Father
XF Father
تاریخ عضویت: ارسالی‌ها: 1,558 واکنش‌ها: 3,562
پشتیبانی از نسخه های
  1. 2.1
مورد نیاز اضافی
کتابخانه شخص ثالث به پسوند cURL نیاز دارد که در PHP نصب شده باشد
اتصال اکانت های کاربران انجمن به اکانت های تلگرامشان

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)).​

1580580398644.png


نحوه ی فعال سازی:

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.

The project source code is hosted on GitHub. I am happy accept your PR or review issues.
I spent my free time developing this addon, and will be happy, if you donate me some money on coffee.
​
  • لایک
واکنش‌ها[ی پسندها]: COMBECOM
نویسنده
XF Father
دریافت‌ها
2
بازدیدها
423
اولین انتشار
آخرین بروزرسانی

رتبه‌بندی‌ها

0.00 ستاره 0 رتبه‌بندی

فایل‌های بیشتری از XF Father

آخرین بروزرسانی‌ها

  1. v2.0.5 Alpha 7

    This is the alpha version of the add-on. I do not guarantee its stable performance and...

فایل‌های مشابه

هماهنگی انجمن با تلگرام برای ارسال اطلاعیه ها توسط ربات و تایید 2 مرحله ای
دریافت‌ها
4
به‌روزرسانی شده
[KL] Telegram Bot (for NSF) nima
ایجاد ربات تلگرام برای پیغام به کاربران
دریافت‌ها
2
به‌روزرسانی شده
[Telegram] Notifications XF Father
افزونه 2 [Telegram] Notifications 2.0.4 کاندید انتشار 4
ارسال اطلاعیه ها به تلگرام
دریافت‌ها
0
به‌روزرسانی شده
ایجاد خودکار لینک ها برای مقالات و افزودن ویجت ها همراه امکانات کامل
دریافت‌ها
0
به‌روزرسانی شده
[AL] Core Package XFFA.IR Bot
پیش نیاز تمام افزونه های AddonsLab
دریافت‌ها
9
به‌روزرسانی شده
[MMO] Core Library Dariush
کتابخانه ای که شامل توابع کمکی برای افزونه های [MMO] است
دریافت‌ها
4
به‌روزرسانی شده
[XFA] Core XFFA.IR Bot
پیش نیاز افزونه های زنفورو 2+
دریافت‌ها
11
به‌روزرسانی شده
عقب
بالا