Please or Register to create posts and topics.

Telegram event notifications

12

A small addition to the popular form that will allow you to quickly receive notifications to your Telegram about the activity on your Forum site.

If you want, you can buy it for a small fee.

https://coderun.ru/product/asgaros-forum-wordpress-uvedomleniya-o-sobytiyakh-v-telegram/

Uploaded files:
  • asgaros_forum_telegram.jpg
Asgaros, HTB and 3 other users have reacted to this post.
AsgarosHTBMichaelnel2912DirkB

Nice work! I love to see that some developers are using the existing platform to provide additional useful addons for Asgaros Forum. 🙂

If you want to support the development of Asgaros Forum, you can leave a good review or donate. Thank you very much!
Your offline plugin is the best among others for WordPress. Thank you for your hard work!
And I apologize for my English :)
Asgaros has reacted to this post.
Asgaros

Hi djo, I am interested in sending forum notifications to a private telegram supergroup but don't understand a word russian. Do you have an english or german translation?

Best regards

Michael

Quote from Michael on June 5, 2019, 10:24 am

Hi djo, I am interested in sending forum notifications to a private telegram supergroup but don't understand a word russian. Do you have an english or german translation?

Best regards

Michael

Hello Michael! I am glad that you are interested in such solutions. Translations for plug-in development. When everything is ready, write here.

Good day!

Released version of the plugin in English.
English version description of settings
The English version of the help section.
With the capabilities of the plugin you can find on the page asgaros-forum-telegram
Also, the plugin can send messages to the group.

Asgaros has reacted to this post.
Asgaros
Quote from djo on June 7, 2019, 8:40 pm
Quote from Michael on June 5, 2019, 10:24 am

Hi djo, I am interested in sending forum notifications to a private telegram supergroup but don't understand a word russian. Do you have an english or german translation?

Best regards

Michael

Hello Michael! I am glad that you are interested in such solutions. Translations for plug-in development. When everything is ready, write here.

fdfdf

Good

Quote from djo on May 13, 2019, 8:32 pm

A small addition to the popular form that will allow you to quickly receive geometry dash notifications to your Telegram about the activity on your Forum site.

If you want, you can buy it for a small fee.

https://coderun.ru/product/asgaros-forum-wordpress-uvedomleniya-o-sobytiyakh-v-telegram/

Thanks for your hard work!

Quote from djo on May 13, 2019, 8:32 pm

A small addition to the popular form that will allow you to quickly receive notifications to your Telegram about the activity on your Forum site.

If you want, you can buy it for a small fee.

https://coderun.ru/product/asgaros-forum-wordpress-uvedomleniya-o-sobytiyakh-v-telegram/

Hi, I'm looking for a solution to to the same for Discord using a Discord webhook

Anything planned?
I only found a working solution for posts, but would be nice to have it for the forum too:

<?PHP
function discordmsg($msg, $webhook) {
  if($webhook != "") {
    $ch = curl_init($webhook);
    $msg = "payload_json=" . urlencode(json_encode($msg))."";
    
    if(isset($ch)) {
      curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "POST");
      curl_setopt($ch, CURLOPT_POSTFIELDS, $msg);
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
      $result = curl_exec($ch);
      curl_close($ch);
      return $result;
    }
  }
}
?>
//The next part is the actual action and message you wish to send.

<?PHP
// URL FROM DISCORD WEBHOOK SETUP
$webhook = "https://discordapp.com/api/webhooks/xxxxxxxxx/xxxxxxxx"; 
$msg = json_decode('
{
    "username":"BOTNAME",
    "content":"The message the BOTNAME posts.",
    "embeds": [{
        "title":"The Link Title",
        "description":"The Link Description",
        "url":"https://www.thelinkurl.com/",
        "color":DECIMALCOLORCODE,
        "author":{
            "name":"Site Name",
            "url":"https://www.sitelink.com/",
            "icon_url":"URLTOIMG"
        },
        "fields":[
            {
                "name":"LISTITEM1",
                "value":"LISTVALUE1",
                "inline":true
            },
            {
                "name":"LISTITEM2",
                "value":"LISTVALUE2",
                "inline":true
            },
            {
                "name":"LISTITEM3",
                "value":"LISTVALUE3",
                "inline":true
            }]
    }]
}
', true);
 ?>
//Lastly there's the call to fire the script.

<?PHP
discordmsg($msg, $webhook); // SENDS MESSAGE TO DISCORD
?>

 

Thanks a lot

djo has reacted to this post.
djo
12