[nodebb-plugin-telegram] Telegram Notifications on NodeBB


  • Plugin & Theme Dev

    Telegram Notifications


    Allows NodeBB to send notifications over an TelegramBot!

    Installation

    Install it from nodebb plugin manager on your admin zone and you are done

    or

    1. clone it and Enter to the directory of the plugin and execute
      https://github.com/NodeBB-Community/nodebb-plugin-telegram-notifications

    2. Enter to the directory of the plugin and execute:

      npm install

    This will install all libs the plugin needs.

    Configuration

    1. Install and activate this plugin.
    2. Create your Bot, and obtain your bot token
    3. Enter the token into the plugin's setup page (/admin/telegram), and save.
    4. Reload NodeBB.

    User Config

    1. Talk to the bot and get user token
    2. Go to yourdomain/telegram/settings and fill the token
    3. Have fun

    Commands on telegram

    Reply thread
    /r topicID message

    Send chat
    /chat userslug message

    Show Recent
    /recent

    Show last post on a topic
    /read topicID (number of posts)

    Known bugs:

    • Please use restart first time after putin your token on admin zone
    • If you have nodebb scaling you must run the plugin on main server with a port non set on other instances, can change mainport in library.js

    Github:
    https://github.com/NodeBB-Community/nodebb-plugin-telegram-notifications

    Example of notification on telegram

    0_1463150981204_Screenshot_2.png


  • Plugin & Theme Dev

    Will like to recieve feedback for improvements.
    So many reputation votes but no comments :(


  • Translator

    We might be using whatsapp or that other terrable communication app :| I doubt too many people use telegraph, the plugin still looks good. I think I will run some tests on the mighty Android 6.0 this afternoon


  • Plugin & Theme Dev

    @Kowlin said:

    We might be using whatsapp or that other terrable communication app :| I doubt too many people use telegraph, the plugin still looks good. I think I will run some tests on the mighty Android 6.0 this afternoon

    Whatsapp doesnt have bots or any api to build this kind of tools
    Telegram have a strong internet user base and its used in all kinds of websites, currently like 80million users
    Also telegram app is impressive


  • Community Rep

    Yeah, I was skimming through the API yesterday and it looks like there are some really interesting things you can do with it. Reminds me a bit of bots in Hipchat if anyone here uses that


  • Translator

    @exodo Completely understand that, but WhatsApp is the most dominant thing here in Europe What is sad since it... Well terrible for integrations.

    @BDHarrington7 Ah, I'm so used to Hipchat... I actually mis using it. I really love working with Atlassians products. I remember that we kept deleting the 30 day trail account and make a new one, since we could not afford the number of users we had on Hipchat that time. (Back in the day when my English was le terrible ;))


  • Plugin & Theme Dev

    @Kowlin said:

    @exodo Completely understand that, but WhatsApp is the most dominant thing here in Europe What is sad since it... Well terrible for integrations.

    @BDHarrington7 Ah, I'm so used to Hipchat... I actually mis using it. I really love working with Atlassians products. I remember that we kept deleting the 30 day trail account and make a new one, since we could not afford the number of users we had on Hipchat that time. (Back in the day when my English was le terrible ;))

    iยด,m from europe and i have telegram chats with 100+ people
    anyways this plugin is only to reciveve notifiction, dont need friends, just the bot wil talk to you, same as other apps like pushbullet do



  • @exodo , I want to use this plugin. After activating the plugin, it seems to break something and bringing nodebb down. Not 100% sure if this is to do with this plugin, but after removing the plugin, nodebb is back. log output is below, any advise ? thanks.

    I am using nodebb v0.8.2 , mongodb 3.0.7 with nodejs v0.10.40.

    30/10 10:40 [12462] - info: Time: Fri Oct 30 2015 10:40:44 GMT-0400 (EDT)
    30/10 10:40 [12462] - info: Initializing NodeBB v0.8.2
    30/10 10:40 [12462] - info: [database] Checking database indices.
    30/10 10:40 [12462] - warn: [socket.io] Clustering detected, you are advised to configure Redis as a websocket store.
    30/10 10:40 [12462] - warn: [plugins/nodebb-plugin-sso-google] Hook filter:user.delete is deprecated, please use an alternative
    30/10 10:40 [12462] - warn: [plugins/nodebb-plugin-sso-facebook] Hook filter:user.delete is deprecated, please use an alternative
    30/10 10:40 [12462] - error: ReferenceError: callback is not defined
    at /home/ngsankar/nodebb/node_modules/nodebb-plugin-telegram-notifications/library.js:76:11
    at handleCallback (/home/ngsankar/nodebb/node_modules/mongodb/lib/utils.js:96:12)
    at /home/ngsankar/nodebb/node_modules/mongodb/lib/collection.js:1322:5
    at handleCallback (/home/ngsankar/nodebb/node_modules/mongodb/lib/utils.js:96:12)
    at /home/ngsankar/nodebb/node_modules/mongodb/lib/cursor.js:666:5
    at handleCallback (/home/ngsankar/nodebb/node_modules/mongodb/node_modules/mongodb-core/lib/cursor.js:244:5)
    at setCursorNotified (/home/ngsankar/nodebb/node_modules/mongodb/node_modules/mongodb-core/lib/cursor.js:564:3)
    at /home/ngsankar/nodebb/node_modules/mongodb/node_modules/mongodb-core/lib/cursor.js:672:16
    at queryCallback (/home/ngsankar/nodebb/node_modules/mongodb/node_modules/mongodb-core/lib/cursor.js:323:5)
    at Callbacks.emit (/home/ngsankar/nodebb/node_modules/mongodb/node_modules/mongodb-core/lib/topologies/server.js:95:3)
    at null.messageHandler (/home/ngsankar/nodebb/node_modules/mongodb/node_modules/mongodb-core/lib/topologies/server.js:243:23)
    at Socket.<anonymous> (/home/ngsankar/nodebb/node_modules/mongodb/node_modules/mongodb-core/lib/connection/connection.js:262:22)
    at Socket.emit (events.js:95:17)
    at Socket.<anonymous> (stream_readable.js:765:14)
    at Socket.emit (events.js:92:17)
    at emitReadable
    (_stream_readable.js:427:10)
    ReferenceError: callback is not defined
    at /home/ngsankar/nodebb/node_modules/nodebb-plugin-telegram-notifications/library.js:76:11
    at handleCallback (/home/ngsankar/nodebb/node_modules/mongodb/lib/utils.js:96:12)
    at /home/ngsankar/nodebb/node_modules/mongodb/lib/collection.js:1322:5
    at handleCallback (/home/ngsankar/nodebb/node_modules/mongodb/lib/utils.js:96:12)
    at /home/ngsankar/nodebb/node_modules/mongodb/lib/cursor.js:666:5
    at handleCallback (/home/ngsankar/nodebb/node_modules/mongodb/node_modules/mongodb-core/lib/cursor.js:244:5)
    at setCursorNotified (/home/ngsankar/nodebb/node_modules/mongodb/node_modules/mongodb-core/lib/cursor.js:564:3)
    at /home/ngsankar/nodebb/node_modules/mongodb/node_modules/mongodb-core/lib/cursor.js:672:16
    at queryCallback (/home/ngsankar/nodebb/node_modules/mongodb/node_modules/mongodb-core/lib/cursor.js:323:5)
    at Callbacks.emit (/home/ngsankar/nodebb/node_modules/mongodb/node_modules/mongodb-core/lib/topologies/server.js:95:3)
    at null.messageHandler (/home/ngsankar/nodebb/node_modules/mongodb/node_modules/mongodb-core/lib/topologies/server.js:243:23)
    at Socket.<anonymous> (/home/ngsankar/nodebb/node_modules/mongodb/node_modules/mongodb-core/lib/connection/connection.js:262:22)
    at Socket.emit (events.js:95:17)
    at Socket.<anonymous> (stream_readable.js:765:14)
    at Socket.emit (events.js:92:17)
    at emitReadable
    (_stream_readable.js:427:10)
    30/10 10:40 [12462] - info: [app] Shutdown (SIGTERM/SIGINT) Initialised.
    30/10 10:40 [12462] - info: [app] Database connection closed.

    net.js:1237
    throw new Error('Not running');
    ^
    Error: Not running
    at Server.close (net.js:1237:11)
    at shutdown (/home/ngsankar/nodebb/app.js:294:36)
    at process.<anonymous> (/home/ngsankar/nodebb/app.js:174:3)
    at process.emit (events.js:95:17)
    at process._fatalException (node.js:301:26)


  • Admin

    Neat, I use telegram myself, but I have no friends on it ๐Ÿ˜ฆ

    North America and HK (especially) are all WhatsApp...


  • GNU/Linux

    I've successfully moved my whole family, most of my friends, all my projects I work on and my "company" from either Skype or WhatsApp to Telegram. I counted all the people who started using Telegram because of me like 2-3 months ago and they were >200 - I think Pavel Durov should personally thank me for that ๐Ÿ˜„ Just kidding. But I really โค Telegram and can recommend it to anyone:

    Privacy: โœ”
    Great Device Support: โœ” (Windows, Linux, OS X, Android, iOS, Web and even BlackBerry)
    Bots: โœ”
    API: โœ”
    Open Source: โœ” (Most of it, I think the Servers aren't but everything else yes. Clients, Protocol etc.)

    And something I discovered myself which isn't even "advertised" by Telegram: Extreme high file sharing speed. I can send files with the size of ~500 MB and my "partner" will receive it after <2-4 Minutes (Me uploading and him downloading included!). I have absolutely no clue how they were able to achieve these transfer rates, and you got to have internet capable of providing these speed rates - but for someone coming from Skype, where even normal .psd files took years to transfer this is absolutely stunning.

    Also awesome contribution @exodo! Really appreciate it.


  • Plugin & Theme Dev

    @ngsankar said:

    @exodo , I want to use this plugin. After activating the plugin, it seems to break something and bringing nodebb down. Not 100% sure if this is to do with this plugin, but after removing the plugin, nodebb is back. log output is below, any advise ? thanks.

    I am using nodebb v0.8.2 , mongodb 3.0.7 with nodejs v0.10.40.

    30/10 10:40 [12462] - info: Time: Fri Oct 30 2015 10:40:44 GMT-0400 (EDT)
    30/10 10:40 [12462] - info: Initializing NodeBB v0.8.2
    30/10 10:40 [12462] - info: [database] Checking database indices.
    30/10 10:40 [12462] - warn: [socket.io] Clustering detected, you are advised to configure Redis as a websocket store.
    30/10 10:40 [12462] - warn: [plugins/nodebb-plugin-sso-google] Hook filter:user.delete is deprecated, please use an alternative
    30/10 10:40 [12462] - warn: [plugins/nodebb-plugin-sso-facebook] Hook filter:user.delete is deprecated, please use an alternative
    30/10 10:40 [12462] - error: ReferenceError: callback is not defined
    at /home/ngsankar/nodebb/node_modules/nodebb-plugin-telegram-notifications/library.js:76:11
    at handleCallback (/home/ngsankar/nodebb/node_modules/mongodb/lib/utils.js:96:12)
    at /home/ngsankar/nodebb/node_modules/mongodb/lib/collection.js:1322:5
    at handleCallback (/home/ngsankar/nodebb/node_modules/mongodb/lib/utils.js:96:12)
    at /home/ngsankar/nodebb/node_modules/mongodb/lib/cursor.js:666:5
    at handleCallback (/home/ngsankar/nodebb/node_modules/mongodb/node_modules/mongodb-core/lib/cursor.js:244:5)
    at setCursorNotified (/home/ngsankar/nodebb/node_modules/mongodb/node_modules/mongodb-core/lib/cursor.js:564:3)
    at /home/ngsankar/nodebb/node_modules/mongodb/node_modules/mongodb-core/lib/cursor.js:672:16
    at queryCallback (/home/ngsankar/nodebb/node_modules/mongodb/node_modules/mongodb-core/lib/cursor.js:323:5)
    at Callbacks.emit (/home/ngsankar/nodebb/node_modules/mongodb/node_modules/mongodb-core/lib/topologies/server.js:95:3)
    at null.messageHandler (/home/ngsankar/nodebb/node_modules/mongodb/node_modules/mongodb-core/lib/topologies/server.js:243:23)
    at Socket.<anonymous> (/home/ngsankar/nodebb/node_modules/mongodb/node_modules/mongodb-core/lib/connection/connection.js:262:22)
    at Socket.emit (events.js:95:17)
    at Socket.<anonymous> (stream_readable.js:765:14)
    at Socket.emit (events.js:92:17)
    at emitReadable
    (_stream_readable.js:427:10)
    ReferenceError: callback is not defined
    at /home/ngsankar/nodebb/node_modules/nodebb-plugin-telegram-notifications/library.js:76:11
    at handleCallback (/home/ngsankar/nodebb/node_modules/mongodb/lib/utils.js:96:12)
    at /home/ngsankar/nodebb/node_modules/mongodb/lib/collection.js:1322:5
    at handleCallback (/home/ngsankar/nodebb/node_modules/mongodb/lib/utils.js:96:12)
    at /home/ngsankar/nodebb/node_modules/mongodb/lib/cursor.js:666:5
    at handleCallback (/home/ngsankar/nodebb/node_modules/mongodb/node_modules/mongodb-core/lib/cursor.js:244:5)
    at setCursorNotified (/home/ngsankar/nodebb/node_modules/mongodb/node_modules/mongodb-core/lib/cursor.js:564:3)
    at /home/ngsankar/nodebb/node_modules/mongodb/node_modules/mongodb-core/lib/cursor.js:672:16
    at queryCallback (/home/ngsankar/nodebb/node_modules/mongodb/node_modules/mongodb-core/lib/cursor.js:323:5)
    at Callbacks.emit (/home/ngsankar/nodebb/node_modules/mongodb/node_modules/mongodb-core/lib/topologies/server.js:95:3)
    at null.messageHandler (/home/ngsankar/nodebb/node_modules/mongodb/node_modules/mongodb-core/lib/topologies/server.js:243:23)
    at Socket.<anonymous> (/home/ngsankar/nodebb/node_modules/mongodb/node_modules/mongodb-core/lib/connection/connection.js:262:22)
    at Socket.emit (events.js:95:17)
    at Socket.<anonymous> (stream_readable.js:765:14)
    at Socket.emit (events.js:92:17)
    at emitReadable
    (_stream_readable.js:427:10)
    30/10 10:40 [12462] - info: [app] Shutdown (SIGTERM/SIGINT) Initialised.
    30/10 10:40 [12462] - info: [app] Database connection closed.

    net.js:1237
    throw new Error('Not running');
    ^
    Error: Not running
    at Server.close (net.js:1237:11)
    at shutdown (/home/ngsankar/nodebb/app.js:294:36)
    at process.<anonymous> (/home/ngsankar/nodebb/app.js:174:3)
    at process.emit (events.js:95:17)
    at process._fatalException (node.js:301:26)

    did you "npm install" inside plugin folder?
    didnt test it on 0.8 but is working on 0.7, will update it soon to 0.9 once its released i hope


  • Translator

    @lenovouser I've attempted the same to convert my friends for both Telegraph & Discordapp. That didn't go to well until Discordapp's latest marketing video ;)



  • @exodo yes, i did npm install inside plugin folder. any idea when 0.9 is expected to release ?


  • GNU/Linux

    @Kowlin

    That video is some awesome marketing! Really like it. I need to laugh everytime ๐Ÿ˜„



  • @ngsankar said:

    @exodo , I want to use this plugin. After activating the plugin, it seems to break something and bringing nodebb down. Not 100% sure if this is to do with this plugin, but after removing the plugin, nodebb is back. log output is below, any advise ? thanks.

    I am using nodebb v0.8.2 , mongodb 3.0.7 with nodejs v0.10.40.

    30/10 10:40 [12462] - info: Time: Fri Oct 30 2015 10:40:44 GMT-0400 (EDT)
    30/10 10:40 [12462] - info: Initializing NodeBB v0.8.2
    30/10 10:40 [12462] - info: [database] Checking database indices.
    30/10 10:40 [12462] - warn: [socket.io] Clustering detected, you are advised to configure Redis as a websocket store.
    30/10 10:40 [12462] - warn: [plugins/nodebb-plugin-sso-google] Hook filter:user.delete is deprecated, please use an alternative
    30/10 10:40 [12462] - warn: [plugins/nodebb-plugin-sso-facebook] Hook filter:user.delete is deprecated, please use an alternative
    30/10 10:40 [12462] - error: ReferenceError: callback is not defined
    at /home/ngsankar/nodebb/node_modules/nodebb-plugin-telegram-notifications/library.js:76:11
    at handleCallback (/home/ngsankar/nodebb/node_modules/mongodb/lib/utils.js:96:12)
    at /home/ngsankar/nodebb/node_modules/mongodb/lib/collection.js:1322:5
    at handleCallback (/home/ngsankar/nodebb/node_modules/mongodb/lib/utils.js:96:12)
    at /home/ngsankar/nodebb/node_modules/mongodb/lib/cursor.js:666:5
    at handleCallback (/home/ngsankar/nodebb/node_modules/mongodb/node_modules/mongodb-core/lib/cursor.js:244:5)
    at setCursorNotified (/home/ngsankar/nodebb/node_modules/mongodb/node_modules/mongodb-core/lib/cursor.js:564:3)
    at /home/ngsankar/nodebb/node_modules/mongodb/node_modules/mongodb-core/lib/cursor.js:672:16
    at queryCallback (/home/ngsankar/nodebb/node_modules/mongodb/node_modules/mongodb-core/lib/cursor.js:323:5)
    at Callbacks.emit (/home/ngsankar/nodebb/node_modules/mongodb/node_modules/mongodb-core/lib/topologies/server.js:95:3)
    at null.messageHandler (/home/ngsankar/nodebb/node_modules/mongodb/node_modules/mongodb-core/lib/topologies/server.js:243:23)
    at Socket.<anonymous> (/home/ngsankar/nodebb/node_modules/mongodb/node_modules/mongodb-core/lib/connection/connection.js:262:22)
    at Socket.emit (events.js:95:17)
    at Socket.<anonymous> (stream_readable.js:765:14)
    at Socket.emit (events.js:92:17)
    at emitReadable
    (_stream_readable.js:427:10)
    ReferenceError: callback is not defined
    at /home/ngsankar/nodebb/node_modules/nodebb-plugin-telegram-notifications/library.js:76:11
    at handleCallback (/home/ngsankar/nodebb/node_modules/mongodb/lib/utils.js:96:12)
    at /home/ngsankar/nodebb/node_modules/mongodb/lib/collection.js:1322:5
    at handleCallback (/home/ngsankar/nodebb/node_modules/mongodb/lib/utils.js:96:12)
    at /home/ngsankar/nodebb/node_modules/mongodb/lib/cursor.js:666:5
    at handleCallback (/home/ngsankar/nodebb/node_modules/mongodb/node_modules/mongodb-core/lib/cursor.js:244:5)
    at setCursorNotified (/home/ngsankar/nodebb/node_modules/mongodb/node_modules/mongodb-core/lib/cursor.js:564:3)
    at /home/ngsankar/nodebb/node_modules/mongodb/node_modules/mongodb-core/lib/cursor.js:672:16
    at queryCallback (/home/ngsankar/nodebb/node_modules/mongodb/node_modules/mongodb-core/lib/cursor.js:323:5)
    at Callbacks.emit (/home/ngsankar/nodebb/node_modules/mongodb/node_modules/mongodb-core/lib/topologies/server.js:95:3)
    at null.messageHandler (/home/ngsankar/nodebb/node_modules/mongodb/node_modules/mongodb-core/lib/topologies/server.js:243:23)
    at Socket.<anonymous> (/home/ngsankar/nodebb/node_modules/mongodb/node_modules/mongodb-core/lib/connection/connection.js:262:22)
    at Socket.emit (events.js:95:17)
    at Socket.<anonymous> (stream_readable.js:765:14)
    at Socket.emit (events.js:92:17)
    at emitReadable
    (_stream_readable.js:427:10)
    30/10 10:40 [12462] - info: [app] Shutdown (SIGTERM/SIGINT) Initialised.
    30/10 10:40 [12462] - info: [app] Database connection closed.

    net.js:1237
    throw new Error('Not running');
    ^
    Error: Not running
    at Server.close (net.js:1237:11)
    at shutdown (/home/ngsankar/nodebb/app.js:294:36)
    at process.<anonymous> (/home/ngsankar/nodebb/app.js:174:3)
    at process.emit (events.js:95:17)
    at process._fatalException (node.js:301:26)

    Hi! We have fixed the error :)
    Now it should work well! Thank you for use our plugin!



  • @exodo . thank you . I managed to install and configure. However after first msg is sent from telegram, nodebb got broken and stopped working.

    Its strange , there is no reference to the plugin in the error log...luckily i was clearly noting down action i was doing...and guessed something going wrong here...after i removed the plug in , forum got up and running...i am able to reproduce it now..v0.8.2 is not liking something, but dont know what. Hope u r able to find it...I like the plug in..if this is resolved,...i will surely use it..thanks for ur effort...

    following is the error log

    3/11 13:14 [15929] - info: NodeBB v0.8.2 Copyright (C) 2013-2014 NodeBB Inc.
    3/11 13:14 [15929] - info: This program comes with ABSOLUTELY NO WARRANTY.
    3/11 13:14 [15929] - info: This is free software, and you are welcome to redistribute it under certain conditions.
    3/11 13:14 [15929] - info:
    3/11 13:14 [15929] - info: Time: Tue Nov 03 2015 13:14:10 GMT-0500 (EST)
    3/11 13:14 [15929] - info: Initializing NodeBB v0.8.2
    3/11 13:14 [15929] - warn: [plugins/nodebb-plugin-sso-facebook] Hook filter:user.delete is deprecated, please use an alternative
    3/11 13:14 [15929] - warn: [plugins/nodebb-plugin-sso-google] Hook filter:user.delete is deprecated, please use an alternative
    3/11 13:14 [15929] - info: NodeBB Ready
    3/11 13:14 [15929] - info: NodeBB is now listening on: 0.0.0.0:4567
    3/11 13:14 [15929] - error: TypeError: undefined is not a function
    at /home/ngsankar/nodebb/src/user/posts.js:37:12
    at /home/ngsankar/nodebb/node_modules/async/lib/async.js:697:13
    at /home/ngsankar/nodebb/node_modules/async/lib/async.js:52:16
    at done (/home/ngsankar/nodebb/node_modules/async/lib/async.js:248:21)
    at /home/ngsankar/nodebb/node_modules/async/lib/async.js:44:16
    at /home/ngsankar/nodebb/node_modules/async/lib/async.js:694:17
    at /home/ngsankar/nodebb/node_modules/async/lib/async.js:173:37
    at /home/ngsankar/nodebb/src/user.js:405:5
    at fireFilterHook (/home/ngsankar/nodebb/src/plugins/hooks.js:86:11)
    at Object.Plugins.fireHook (/home/ngsankar/nodebb/src/plugins/hooks.js:70:5)
    at filterIsModerator (/home/ngsankar/nodebb/src/user.js:400:12)
    at /home/ngsankar/nodebb/src/user.js:462:6
    at /home/ngsankar/nodebb/node_modules/async/lib/async.js:697:13
    at /home/ngsankar/nodebb/node_modules/async/lib/async.js:52:16
    at done (/home/ngsankar/nodebb/node_modules/async/lib/async.js:248:21)
    at /home/ngsankar/nodebb/node_modules/async/lib/async.js:44:16



  • @ngsankar said:

    @exodo . thank you . I managed to install and configure. However after first msg is sent from telegram, nodebb got broken and stopped working.

    Its strange , there is no reference to the plugin in the error log...luckily i was clearly noting down action i was doing...and guessed something going wrong here...after i removed the plug in , forum got up and running...i am able to reproduce it now..v0.8.2 is not liking something, but dont know what. Hope u r able to find it...I like the plug in..if this is resolved,...i will surely use it..thanks for ur effort...

    following is the error log

    3/11 13:14 [15929] - info: NodeBB v0.8.2 Copyright (C) 2013-2014 NodeBB Inc.
    3/11 13:14 [15929] - info: This program comes with ABSOLUTELY NO WARRANTY.
    3/11 13:14 [15929] - info: This is free software, and you are welcome to redistribute it under certain conditions.
    3/11 13:14 [15929] - info:
    3/11 13:14 [15929] - info: Time: Tue Nov 03 2015 13:14:10 GMT-0500 (EST)
    3/11 13:14 [15929] - info: Initializing NodeBB v0.8.2
    3/11 13:14 [15929] - warn: [plugins/nodebb-plugin-sso-facebook] Hook filter:user.delete is deprecated, please use an alternative
    3/11 13:14 [15929] - warn: [plugins/nodebb-plugin-sso-google] Hook filter:user.delete is deprecated, please use an alternative
    3/11 13:14 [15929] - info: NodeBB Ready
    3/11 13:14 [15929] - info: NodeBB is now listening on: 0.0.0.0:4567
    3/11 13:14 [15929] - error: TypeError: undefined is not a function
    at /home/ngsankar/nodebb/src/user/posts.js:37:12
    at /home/ngsankar/nodebb/node_modules/async/lib/async.js:697:13
    at /home/ngsankar/nodebb/node_modules/async/lib/async.js:52:16
    at done (/home/ngsankar/nodebb/node_modules/async/lib/async.js:248:21)
    at /home/ngsankar/nodebb/node_modules/async/lib/async.js:44:16
    at /home/ngsankar/nodebb/node_modules/async/lib/async.js:694:17
    at /home/ngsankar/nodebb/node_modules/async/lib/async.js:173:37
    at /home/ngsankar/nodebb/src/user.js:405:5
    at fireFilterHook (/home/ngsankar/nodebb/src/plugins/hooks.js:86:11)
    at Object.Plugins.fireHook (/home/ngsankar/nodebb/src/plugins/hooks.js:70:5)
    at filterIsModerator (/home/ngsankar/nodebb/src/user.js:400:12)
    at /home/ngsankar/nodebb/src/user.js:462:6
    at /home/ngsankar/nodebb/node_modules/async/lib/async.js:697:13
    at /home/ngsankar/nodebb/node_modules/async/lib/async.js:52:16
    at done (/home/ngsankar/nodebb/node_modules/async/lib/async.js:248:21)
    at /home/ngsankar/nodebb/node_modules/async/lib/async.js:44:16

    We use 0.7.3 in our forum... But i have updated it to work on 0.8.2 :)
    Now it should work fine! Thanks you for using!



  • Working Gr8. Thanks for a gr8 plug in.

    Following are may questions/clarification/feedback

    1. It seems to be working in pull mode from telegram (ie. i hv to give /recent or /read topicid etc) to get info from forum.
    2. Is it possible to make it work in push mode (when a topic gets new post, can it be pushed to telegram if i am subscribed to it ?

    The plugin has a great potential to be a killer one, especially the more and more people are getting into telegram for obvious advantages of multi platform / multi phone.


  • Plugin & Theme Dev

    @ngsankar said:

    Working Gr8. Thanks for a gr8 plug in.

    Following are may questions/clarification/feedback

    1. It seems to be working in pull mode from telegram (ie. i hv to give /recent or /read topicid etc) to get info from forum.
    2. Is it possible to make it work in push mode (when a topic gets new post, can it be pushed to telegram if i am subscribed to it ?

    The plugin has a great potential to be a killer one, especially the more and more people are getting into telegram for obvious advantages of multi platform / multi phone.

    it actually send all notifications from nodebb to telegram in push mode, command from the bot is just additional features
    just have to follow the instructions on configuration of your bot and then congif it on your user profile


  • Plugin & Theme Dev

    We are looking into developers help to make this plugin 100% compatible with 1.0 and beyond and also keeping improving it for the community
    PM or reply here if interested

    @3rd-Party-Developers


Log in to reply
 


Looks like your connection to NodeBB was lost, please wait while we try to reconnect.