The extension is finished now. If you hurry I can submit your translation into the release of the initial extension. Actually, the best way to do this is to submit your translation as a pull request to https://github.com/rootslinux/phpbb-dis ... ifications. I'll merge it in package it, and submit it for official review.Febreen wrote: Tue Nov 13, 2018 8:16 pm I'll send you the french's translation when the extension'll be finished, with all translations of the futures texts u'll add on this.
I've been meaning to write a guide for users in the wiki for the situation where people expect a notification and don't receive one. The submit_post event generates multiple different types of notifications so it can be tricky to figure out why it's not generating one. In general, here's the steps I would take to debug:EFiNSTORM wrote: Sun Nov 18, 2018 1:28 am Hey,
Got a quick question I am using an external page that calls submit_post function from normal phpbb and it does not trigger an discord event.
Was wondering if you would be able to help me out.
Thanks
It's weird mChat trigger for new topic works just fine on my forum (shows new topic creating on shoutbox). It just doesn't show in the discord notification. If I reply / delete anything in the topic created via my external page it will trigger the event on discord just fine.Roots wrote: Mon Nov 19, 2018 7:17 pmI've been meaning to write a guide for users in the wiki for the situation where people expect a notification and don't receive one. The submit_post event generates multiple different types of notifications so it can be tricky to figure out why it's not generating one. In general, here's the steps I would take to debug:EFiNSTORM wrote: Sun Nov 18, 2018 1:28 am Hey,
Got a quick question I am using an external page that calls submit_post function from normal phpbb and it does not trigger an discord event.
Was wondering if you would be able to help me out.
Thanks
I'm not 100% sure how your external page works. But if the way you call submit_post() doesn't generate a phpBB event (see: https://wiki.phpbb.com/Event_List ), then notifications won't work because they are completely reliant on these events being generated. So my suggestion is first check all the things I listed above. Then try comparing a normal phpBB submit (ie replying to a topic with a new post) and confirming that the notification appears. If it does, and your external page does not generate a notification, then it's something with the way your external page handles the call that is not generating the event (possibly by calling a different function than the standard one after a real submit post action).
- ACP: use the Send Test Message button to make sure that your webhook URL and Discord channel are setup correctly.
- ACP: make sure the master enable is ON (the top-most setting on the page)
- ACP: make sure the notification type you want to receive is enabled
- ACP: make sure the forum that you're making changes to is enabled to generate notifications
- If the action you are taking affects multiple posts or topics (ie mass delete, mass lock/unlock, etc) no notification is generated for these cases by design
- If your forums are very traffic heavy, or you wrote some sort of script to do multiple actions one after another, notifications may be dropped (if your board tried to send more than 5 notifications in a 5 second period)
If you can confirm that your webhook can receive messages this way, then we know its not a problem with your Discord setup.curl -H "Content-Type: application/json" -X POST -d '{"username": "test", "content": "hello"}' YOURWEBHOOKURL
Heyya,Roots wrote: Mon Nov 26, 2018 6:35 pm My recommendation:
First try using the curl program or another application to send a message to your webhook. For example, run the following:If you can confirm that your webhook can receive messages this way, then we know its not a problem with your Discord setup.curl -H "Content-Type: application/json" -X POST -d '{"username": "test", "content": "hello"}' YOURWEBHOOKURL
Using the "Send test message" button in the ACP panel is the most sure-fire way to verify that the extension is working. The only thing you need to set for the test message is the webhook URL (all other enable/disable settings are ignored in this case). If your webhook URL is entered correctly and its still not working, check to make sure you have the php-curl library installed on your system: http://php.net/manual/en/book.curl.php This is a requirement for this extension to run.
I hope that helps. If you're still not getting any messages sending then there's something else funky going on. Also FYI, I'm going to be totally unavailable for two weeks starting the day after tomorrow, so I'll be unable to provide any support for that time.
Code: Select all
(60) SSL certificate : unable to get local issuer certificate