Marco Castelluccio on "[Plugin: Web Push] 1.1.5 with high-frequent Site"

ساخت وبلاگ

Hi from Germany!

I'm using the plugin (WordPress) with a high frequented site (on about 3000 Users a day!

The Problem is that some posts a viewed 2 or 3 times as a push-message! This happens in Chrome (Windows) - not on Android-Smartphones!

If you want to test: http://www.in-und-um-schweinfurt.de

With best Regards

Thomas

https://wordpress.org/plugins/web-push/

Marco Castelluccio
Member
Plugin Author

Posted 6 days ago #

Do you mean a post is sent multiple times to the same user?

The plugin by default sends a new push message when there's an update to the post, you could change this option in the settings page.

Yes, some messages are posted to the same user twice oder more...

Option "send push on updates" is off!

I have tested this: update of a post seems not to be the problem. Also it is not every time - sometimes it works without this problem!

Another Problem: it does not work on planned post. So if i set the time for an post in the future this post will not be pushed! Only posts that are posted directly will send a push!

Thanks for fast support!

Thomas

Marco Castelluccio
Member
Plugin Author

Posted 6 days ago #

It's weird that sometimes it works and sometimes it doesn't.

I've registered to notifications on your website, I'll see if I can reproduce the error.

I haven't looked into planned posts yet, I'll try to implement support for it in the future.

Marco Castelluccio
Member
Plugin Author

Posted 6 days ago #

I've created an issue on my GitHub repo to support planned posts: https://github.com/mozilla/wp-web-push/issues/275.

Marco Castelluccio
Member
Plugin Author

Posted 5 days ago #

Are you able to run SQL queries against your database? To debug the issue, I would need some information.

Marco Castelluccio
Member
Plugin Author

Posted 5 days ago #

Which database are you using? And which version?

Yes! Version is 5.5.46-0+deb7u1

Marco Castelluccio
Member
Plugin Author

Posted 5 days ago #

Could you check if there are multiple rows with the same "endpoint" in the wp_webpush_subscription table?

No i cannot find any same endpoints!

Marco Castelluccio
Member
Plugin Author

Posted 5 days ago #

Interesting, this is a really hard to diagnose problem.

I have a workaround though, which will be in the next version of the plugin (I think I'm going to release it today or tomorrow).

Great! Many thanks for your great support!!!

Marco Castelluccio
Member
Plugin Author

Posted 4 days ago #

I have released a new version that contains the workaround for the multiple notifications problem and supports sending notifications for scheduled posts.

Let me know if it works for you!

Thank you! I will let you know!

Now i can say: it is better, but not good...sorry!

Look at https://dl.dropboxusercontent.com/u/80452555/Unbenannt.JPG

It works pretty good on my smartphone - there are NO doubles! On my Windows PCs are many doubles! Most on startup of the PC!

With best Regards

Thomas

Marco Castelluccio
Member
Plugin Author

Posted 13 minutes ago #

Thank you, Thomas.

I'll look into it more.

It's weird that multiple notifications are sent, but it's even stranger that they aren't collapsed (since I'm now using a 'tag' parameter that should make new notifications replace old ones, which is the workaround I was mentioning).

Can I ask you how are you publishing the posts? Is there any chance there are multiple transitions of the post to the 'published' state?

Could you tell me which other plugins you're using? Maybe there's a conflict.

WordPress ...
ما را در سایت WordPress دنبال می کنید

برچسب : نویسنده : استخدام کار wpss بازدید : 95 تاريخ : چهارشنبه 25 فروردين 1395 ساعت: 17:54