[BETA] Telegram Method for notifications

A place for Extension Authors to post and receive feedback on Extensions still in development. No Extensions within this forum should be used within a live environment!
Scam Warning
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

IMPORTANT: Extensions Development rules

IMPORTANT FOR NEEDED EVENTS!!!
If you need an event for your extension please read this for the steps to follow to request the event(s)
gsere
Registered User
Posts: 8
Joined: Thu Aug 16, 2018 3:05 am

[BETA] Telegram Method for notifications

Post by gsere » Thu Aug 16, 2018 3:26 am

Extension Name: Telegram Notifier Method
Author: gsere
Extension Description: Allow users to receive notifications by telegram of new posts, private messages or requests to join groups.
Extension Version: 1.0.0
Requirements:
Features:
Screenshots: (can't upload images or files)
Extension Download: https://github.com/Gsere/phpbb-telegram ... master.zip

How it works:
This extension works in the same way as Email notifications.
1) As usual the administrator have to create a Telegram Bot using Botfather and enter it's token in the acp. After that a new field in the user profile ask him for it's Telegram ID.
2) Once the user enter it's Telegram ID in his profile a new column called Telegram in the "Edit notifications" page allows him to configure which notifications receive in the same way it does with email.
I have this extension working well. I don't know how to share it here.
Last edited by gsere on Mon Aug 20, 2018 9:25 pm, edited 6 times in total.

User avatar
3Di
Registered User
Posts: 12983
Joined: Mon Apr 04, 2005 11:09 pm
Location: Milan (IT) Frankfurt (DE)
Name: Marco
Contact:

Re: [BETA] Telegram Method for notifications

Post by 3Di » Thu Aug 16, 2018 4:23 am

gsere wrote:
Thu Aug 16, 2018 3:26 am
I don't know how to share it here.
Just follow this template and edit your first post above accordingly. :)
Want to compensate me for my interest? Donate
Please PM me only to request paid works. Thx.
Extensions, Scripts, MOD porting, Update/Upgrades
My development's activity º PhpStorm's proud user

User avatar
Raul [ThE KuKa]
Jr. Extension Validator
Posts: 4688
Joined: Mon Dec 08, 2003 9:24 pm
Location: Spain
Name: Raul Arroyo
Contact:

Re: [BETA] Telegram Method for notifications

Post by Raul [ThE KuKa] » Fri Aug 17, 2018 5:36 pm

Download link? :roll:

https://www.phpbb.com/extensions/rules- ... equirement

Beta or RC versions require an accessible link to download.
If you like my styles, translations, etc. and want to show some appreciation, then feel free to Donate with Image
phpBB International Support Team (Spanish - Español) :flag_es: Online Since 2003 - 15th anniversary
🎨phpBB Professional Premium Themes🔥
Author Translations (Spanish - Spain) :two_hearts:

:warning: I don't support those without the copyright Spanish translation. :warning:

User avatar
AbaddonOrmuz
Registered User
Posts: 407
Joined: Wed Dec 25, 2013 9:06 pm
Location: /dev/null
Name: Alfredo Ramos
Contact:

Re: [BETA] Telegram Method for notifications

Post by AbaddonOrmuz » Fri Aug 17, 2018 8:35 pm

It looks interesting, do you have a download link as Raul said? or a public repository where we can see the code (GitLab, GitHub, etc)?
A proudly user of Arch Linux :: /r/sddm_themes

gsere
Registered User
Posts: 8
Joined: Thu Aug 16, 2018 3:05 am

Re: [BETA] Telegram Method for notifications

Post by gsere » Sun Aug 19, 2018 4:09 pm


User avatar
jan_2017
Registered User
Posts: 143
Joined: Sun May 07, 2017 3:39 pm

Re: [BETA] Telegram Method for notifications

Post by jan_2017 » Sun Aug 19, 2018 6:11 pm


gsere
Registered User
Posts: 8
Joined: Thu Aug 16, 2018 3:05 am

Re: [BETA] Telegram Method for notifications

Post by gsere » Mon Aug 20, 2018 3:35 am

No, the lassik extension is configured in the ACP and send notifications *only* to the board administrator not to each user. Users can not configure their own profiles to receive notifications by telegram.

Instead, after this extension is configured in the ACP, users are allowed to configure *their own profiles* to select what notifications receive by telegram in the same way it can do it on email.

User avatar
3Di
Registered User
Posts: 12983
Joined: Mon Apr 04, 2005 11:09 pm
Location: Milan (IT) Frankfurt (DE)
Name: Marco
Contact:

Re: [BETA] Telegram Method for notifications

Post by 3Di » Mon Aug 20, 2018 5:51 am

gsere wrote:
Sun Aug 19, 2018 4:09 pm
Okay, I put it on github:
https://github.com/Gsere/phpbb-telegram-notifier
To prevent someone else from telling you, edit your first post with the download/link
https://github.com/Gsere/phpbb-telegram ... master.zip
Want to compensate me for my interest? Donate
Please PM me only to request paid works. Thx.
Extensions, Scripts, MOD porting, Update/Upgrades
My development's activity º PhpStorm's proud user

User avatar
jan_2017
Registered User
Posts: 143
Joined: Sun May 07, 2017 3:39 pm

Re: [BETA] Telegram Method for notifications

Post by jan_2017 » Mon Aug 20, 2018 6:45 pm

gsere wrote:
Mon Aug 20, 2018 3:35 am
No, the lassik extension is configured in the ACP and send notifications *only* to the board administrator not to each user.
Only to board admin? No that is not correct.

Any user who wants to use Telegram must be invited to the group previously created in the bot.

I think you need to re-read the extension to lassik.

Over 100 User receive notifications from telegram bot on my forum.It works great at the moment.

By the way ... lassik extension is still BETA.

User avatar
3Di
Registered User
Posts: 12983
Joined: Mon Apr 04, 2005 11:09 pm
Location: Milan (IT) Frankfurt (DE)
Name: Marco
Contact:

Re: [BETA] Telegram Method for notifications

Post by 3Di » Mon Aug 20, 2018 8:04 pm

@ jan_2017

This extension is not a copy of the other one, go and compare the repositories (code) and you will see.
Want to compensate me for my interest? Donate
Please PM me only to request paid works. Thx.
Extensions, Scripts, MOD porting, Update/Upgrades
My development's activity º PhpStorm's proud user

gsere
Registered User
Posts: 8
Joined: Thu Aug 16, 2018 3:05 am

Re: [BETA] Telegram Method for notifications

Post by gsere » Mon Aug 20, 2018 9:46 pm

> Any user who wants to use Telegram must be invited to the group previously created in the bot.

You're right, all group members receive all notifications. I mean: all members, all notifications. It's like writing notices on a public billboard. In my humble opinion I think this strategy is useful mainly for administrators to monitor the activity of the site but who knows. For me as a user it's a bit annoying to receive notifications from the forums I'm not following.

Instead, this extension approaches the problem from another angle. The bot sends notifications individually to each user according to the preferences configured in the user's profile. In this way each user receives only notifications of his interest and can select also the kind of notifications to receive.

gsere
Registered User
Posts: 8
Joined: Thu Aug 16, 2018 3:05 am

Re: [BETA] Telegram Method for notifications

Post by gsere » Mon Aug 20, 2018 9:47 pm

3Di wrote:
Mon Aug 20, 2018 5:51 am
gsere wrote:
Sun Aug 19, 2018 4:09 pm
Okay, I put it on github:
https://github.com/Gsere/phpbb-telegram-notifier
To prevent someone else from telling you, edit your first post with the download/link
https://github.com/Gsere/phpbb-telegram ... master.zip
Done. Thanks.

igorbond
Registered User
Posts: 85
Joined: Sun Mar 24, 2013 5:54 pm

Re: [BETA] Telegram Method for notifications

Post by igorbond » Fri Aug 24, 2018 2:49 pm

Disconnected notifications of new users, but they still come

gsere
Registered User
Posts: 8
Joined: Thu Aug 16, 2018 3:05 am

Re: [BETA] Telegram Method for notifications

Post by gsere » Fri Aug 24, 2018 5:09 pm

New users? Or join to a group? UCP does not send notifications to users about new users. What extension are you using?
Please also post the notification message received.

igorbond
Registered User
Posts: 85
Joined: Sun Mar 24, 2013 5:54 pm

Re: [BETA] Telegram Method for notifications

Post by igorbond » Fri Aug 24, 2018 6:00 pm

Sorry, I was wrong with the extension. And how is your different from this ready?

Post Reply

Return to “Extensions in Development”

Who is online

Users browsing this forum: caiocald, canonknipser, koraldon, Manick_swe, martti, mwh65 and 22 guests

cron