Hello,
Can you please uncheck “Show ON/OFF switch on post edit screen” in WordPress Settings section of the plugin, Save Settings and try again?
I am the author of Postie. Some additional work in the form of a Postie AddOn would be needed as WP Telegram assumes the user is using the post editor and of course Postie does not.
See http://postieplugin.com/extending/
It assumes using the Post Editor only to verify Meta Box nonces. If the checkbox I mentioned above is unchecked then it will not assume the post coming from the Post Editor, though it will check for post editing permissions of the current user.
@wayneallen-1 I was debugging the issue and found that the problem is something else as well. WP telegram compares post_date_gmt and post_modified_gmt to check if the post is new or existing. In case of the posts created by postie I can see a clear-cut difference between these two properties when the post is published for the first time.
So in WP Telegram, if a user chooses to send only the new posts, then they won’t be sent because post_date_gmt and post_modified_gmt are different even for new posts.
There is a workaround for this by setting the options in WP Telegram to Post existing posts as well. Then to avoid duplication of existing posts when editing one, some meta field can be added to the posts already sent to Telegram, so as to use it to avoid posting it again.
A fresh post from email json encoded
{
"ID": 963,
"post_author": "1",
"post_date": "2017-09-14 19:33:11",
"post_date_gmt": "2017-09-14 19:33:11",
"post_content": "Test content",
"post_title": "Test title",
"post_excerpt": "",
"post_status": "publish",
"comment_status": "open",
"ping_status": "open",
"post_password": "",
"post_name": "test-title",
"to_ping": "",
"pinged": "",
"post_modified": "2017-09-14 19:33:37",
"post_modified_gmt": "2017-09-14 19:33:37",
"post_content_filtered": "",
"post_parent": 0,
"guid": "<removed>",
"menu_order": 0,
"post_type": "post",
"post_mime_type": "",
"comment_count": "0",
"filter": "raw"
}
Thanks for such a good response time and to make the follow up to this.
I will activite the following options:
- When publishing a new post
- Updating an existing post
I will DEACTIVATE Show an ON/OFF switch on the post edit screen
I will let you know if this works.
Thanks
Hello @solokco,
Did you manage to test whether it worked or not?
Hi Manzoor,
In fact that solve the problem. Making it to post any NEW and any UPDATE of the posts.
Please do let me know if there are improvements in the future regarding this topic.
Thanks for such a great plugin.
I’m glad the problem is solved. I’m planning to improve this in future. Will keep you updated 🙂
Olá solokco,
Aonde posso entrar em contato com você para falar sobre o plugin Calculadora IMC/IMC. Estou usando ele e preciso saber como faço para alterar as URLs de imagens deles para https, pois em meu site está os navegadores estão mostrando conteúdo misto (veja nessa página https://proddigital.com.br/saude/fitness/exercicio-fisico-academia-em-casa/).
Agradeço.
Rodrigo
@vejapixel, you can join our public group on Telegram t.me/WPTelegramChat.