• Resolved meeplescorner

    (@meeplescorner)


    Hi.
    I was looking for a plugin to use push notifications and I’m really glad that I found this one.

    I have a question regarding the settings: What are Bell title and Opt-in text for?

    I installed the plugin and tested it and I saw the bell in the left bottom corner after I accepted notifications. But when I click on the opt-in text (I set it to Text 4 because in the settings menu it is not clear what these texts are for), I only get the message “Could not change the preference, try again”.

    And I accepted the notifications on three different browsers (Edge, Firefox and Chrome) on my PC and my tablet. Afterwards, I did send three notifications. According to the dashboard they get sent, but none of my devices/browsers receives them.

    I’ve checked Users in the menu of the plugin and it doesn’t show any.

    I’m on Cloudways (gmp is enabled) and I’m using Cloudflare (free plan).

    Is there anything I have to change in the settings (Vapid keys are in place)?

    Many thanks!

    The page I need help with: [log in to see the link]

Viewing 12 replies - 1 through 12 (of 12 total)
  • Plugin Author Rowinson Gallego

    (@rwngallego)

    Hello! Thanks for your message.

    We’ve fixed some bugs that were introduced after enabling support for AMP/PWA, and that are related to the problems you’ve described above. Please install the latest version (1.1.1) and hopefully it will work better. If you find any issue please keep us posted.

    What are Bell title and Opt-in text for?

    They are the texts that appear in the public site for your end users, the opt-in bell/checkbox. Basically you can customize them.

    Could not change the preference, try again

    This is already fixed in 1.1.1

    I’ve checked Users in the menu of the plugin and it doesn’t show any.

    This might be related to the users not being able to register in the first place. This has been fixed for some special server/wordpress configurations.

    Is there anything I have to change in the settings (Vapid keys are in place)?

    Not really, what you described is related to the user registrations after they accept receiving Push Notifications. Once they can register, they should be able to receive notifications. So install the latest version, try again (refresh the page) and if find any issue please let us know.

    Thread Starter meeplescorner

    (@meeplescorner)

    Thank you very much for your reply!

    I’ve installed the update, cleared the local cache and the Cloudflare cache, but it makes no difference.

    If I go onto the website, the pop-up asks for my consent and I allow the browser to receive notifications. But the user doesn’t register with the plugin and doesn’t receive the push notification. I’ve tested it as a logged-in user and as a guest, no difference.

    There is one progress: If I haven’t agreed to the notifications when I open the website, I can now use the bell to set the consent. But if I want to remove the consent it still comes back with “Could not change the preference, try again”.

    I’ve left the plugin active so you maybe have a look and see what goes on.

    Thank you

    Plugin Author Rowinson Gallego

    (@rwngallego)

    Hello,

    We can see that it’s receiving a 403 Forbidden from Nginx when loading the Service Worker Javascript.

    This is the file we try to load: https://meeplescorner.co.uk/wp-content/plugins/perfecty-push-notifications/public/js/service-worker-loader.js.php

    It should have return the service worker content but it’s not. This looks like a configuration issue in Nginx. Maybe you want to check the location section:

    
        location ~* \.(js|css|png|jpg|jpeg|gif|ico|html)$ {
                expires max;
        }
    

    If you want to provide us more details feel free to write to our email: [email protected]

    Thread Starter meeplescorner

    (@meeplescorner)

    Thank you again for your fast reply.

    I don’t have access to the Nginx configuration on Cloudways. But I have contacted support and will let you know when they get back to me.

    Thread Starter meeplescorner

    (@meeplescorner)

    Support has sorted the problem with the configuration for me and now new users get registered.

    That’s progress ??

    But…

    – notifications get send from the site (I can see it running as scheduled), but I have not received any notifications on the three devices I used to sign up for notifications (I used Edge browser, Chrome and Firefox – browser always shows that notifications are accepted)
    – “Could not change the preference, try again” message has disappeared when I remove my consent in the bell widget, but it doesn’t change the browser settings. Do I still get notifications or does the bell remove the user from the plugin?

    Thank you in advance.

    hi, thanks for plugin!!! i write here instead of new topic, the issues is still active
    on android phone using chrome browser “Could not change the preference, try again.
    it seems like it doesn-t work on pc opera browser also.

    Plugin Author Rowinson Gallego

    (@rwngallego)

    (I can see it running as scheduled), but I have not received any notifications on the three devices

    Could you please confirm if the notification job got completed? I’ve received some reports of some conflicts with plugins that use an old version of the Guzzle library. Is it also possible to check the php error logs? You can check: https://askubuntu.com/questions/14763/where-are-the-apache-and-php-log-files

    it doesn’t change the browser settings. Do I still get notifications or does the bell remove the user from the plugin?

    No, when the user opts out, they just mark themselves as inactive in the DB. When you send a new Push Notification, they will not receive anything because they are excluded from the execution. You can see in the user list that they change from Active: Yes to Active: No.

    On the other hand, the Browser permissions cannot be modified from the websites, so this is something we cannot change but the user himself.

    Thread Starter meeplescorner

    (@meeplescorner)

    No, when the user opts out, they just mark themselves as inactive in the DB. When you send a new Push Notification, they will not receive anything because they are excluded from the execution. You can see in the user list that they change from Active: Yes to Active: No.

    Thank you for the clarification. That makes sense.

    Could you please confirm if the notification job got completed? I’ve received some reports of some conflicts with plugins that use an old version of the Guzzle library. Is it also possible to check the php error logs?

    The job is running successfully. I’ve checked the PHP error log and everything seems fine. But it seems to work now: I did send out a notification today and at least the Chrome browser on my Chromebook received it. No sign of the notification on my phone or tablet.

    Thank you for all your help!

    Plugin Author Rowinson Gallego

    (@rwngallego)

    No sign of the notification on my phone or tablet.

    Have in mind it only works on Android devices. Could you please confirm the model and the browser you used in the mobile devices? Thank you!

    Thread Starter meeplescorner

    (@meeplescorner)

    Sorry for the late reply.

    Both devices are Android-based. It’s an Honor 10 phone and a Samsung Galaxy Tab S. On the phone, I tested Firefox, Chrome and Edge, on the tablet only Edge and Chrome.

    Plugin Author Rowinson Gallego

    (@rwngallego)

    Hi, we’ve tested this and it’s currently working in Mobile devices with Android too (Tested subscription on Chrome, Firefox, Brave). When you send a Push Notification we could confirm if we received it or not, but it’s difficult to coordinate when to have the device up and running, otherwise the notification could be missed.

    We don’t have access to any tablet with Edge on it, so unfortunately we cannot check if it works or not in that combination, but it should.

    Plugin Author Rowinson Gallego

    (@rwngallego)

    Hello @meeplescorner, we have been receiving push notifications from your website in the Android devices, so could we assume this is now fixed? If not, please let us know ??

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘Settings question and problem with notifications’ is closed to new replies.