Close

Account

Documentation

Forum

Menu

Push Notification Widget Error

  • Post count: 44
    Amazee
    September 5, 2018 at 10:42 pm #36170

    Hi,

    I just setup Push Notification on my site. I already installed and activated both of OneSignal and JNews Push Notification plugin. It displays on Single Blog Posts and Categories but when i added Push Notification widget it displays below error message. Can you please send me the fix.

    Also i read the documentation for Push Notification. I see a Push Notification shortcode for visual composer but I’m using Elementor page builder and can’t find that shortcode. Is it not available for Elementor?

    Regards

    Post count: 11180
    Adek
    September 6, 2018 at 11:16 am #36187

    Hi Amazee,

    Please try to replace the content of this file wp-content/plugins/jnews-push-notification/class.jnews-push-notification-widget.php with this one https://pastebin.com/9iKHGHVu

    For the Push Notification for Elementor, you can find the element under JNews Element. Please check this image for more detail https://www.dropbox.com/s/2keedkczvkmhrqu/Screenshot%202018-09-06%2011.14.41.png?dl=0

    Thank you

    Post count: 44
    Amazee
    September 6, 2018 at 4:42 pm #36197

    Hi,

    Thank you so much. It worked. Oops sorry, i missed that Push Notification for Elementor. 🙂

    I have another question.

    I just setup up the OneSingle, created a test users and sending New Push from the OneSingle website. It worked. I can receive notifications on Mobile as well as PC. But it didn’t work if i send notification from the post. I already selected ” Send notification on post publish ” while i creating the posts. After publish or update posts it display this message ” OneSignal Push: A notification was sent, but there were no recipients. ” even thought i already have 8 subscribers. Do i need to add recipients somewhere else to send notification directly from publishing posts???

    See below links for screenshots.

    https://drive.google.com/file/d/1PCBF3b0C-6PsmSiSbRzS5DT4yhppYVNB/view?usp=sharing

    https://drive.google.com/file/d/1FIkIwinbj-ngsQIZz6MTm7XKDNYDIuF-/view?usp=sharing

    Hope you reply asap.

    Regards
    Samir

    Post count: 11180
    Adek
    September 7, 2018 at 10:02 am #36216

    Hi Samir,

    In this case, with using JNews Push Notification plugin, the user needs to subscribe the post category to get a notification. If the user only subscribes as general subscribe, they won’t get a notification. Also, since this feature using 3rd party service, sometimes they may fail to send a notification or need more time to send a notification. As i remember, OneSignal also has a limit to send a notification on a certain time. Let me know if you have further question.

    Thank you

    Post count: 44
    Amazee
    September 7, 2018 at 9:43 pm #36291

    Hi,

    Thanks for the advice. Now i can send and receive post notifications after i deactivate JNews Push Notification plugin.

    I have one question though,

    I installed and activated JNews Push Notification plugin only for the purpose of displaying push notification subscribe button in the Single post and Sidebars. But after i deactivated the plugin push notification subscribe button in the Single post and Sidebars are gone. My question is..

    How can i make the OneSingle Push Notification widget to looks like JNews Push Notification widget. Currently OneSingle Push Notification widget in the sidebar only displays text with link. I would like to display it like JNews Push Notification widget. Can you please send me custom CSS code for that? See below screenshot for what i mean.

    OneSingle Push Notification widget

    https://drive.google.com/file/d/1uYoduIY3n3hFuyICkbgekHAajLf8O4p0/view?usp=sharing

    I want it to be displays like your’s JNews Push Notification widget

    https://drive.google.com/file/d/1OaS7A6wmpczny8AoS-wazomzSUoX3zZ0/view?usp=sharing

    Regards
    Samir

    Post count: 11180
    Adek
    September 10, 2018 at 12:56 pm #36373

    Hi Samir,

    Can you please send me the page or post URL that has the OneSignal Push Notification text link? I will create you the custom CSS.

    Thank you

    Post count: 44
    Amazee
    September 10, 2018 at 1:37 pm #36390
    This reply has been marked as private.
    Post count: 11180
    Adek
    September 10, 2018 at 4:48 pm #36430

    Hi Samir,

    Please try to use this CSS code below and put them on the Customize > Additional Style:

    For the contact form, you can use this one below:

    Thank you

    Post count: 44
    Amazee
    September 10, 2018 at 5:18 pm #36437

    Hi Adek,

    Thank you so much for the code. Looks great but button with bell icon is missing. Is it possible to add that button like your JNews Push Notification widget? Sorry if i’m asking a lot.

    https://drive.google.com/file/d/1OaS7A6wmpczny8AoS-wazomzSUoX3zZ0/view

    Regards

    Post count: 11180
    Adek
    September 11, 2018 at 12:13 pm #36497

    Hi Amazee,

    I’m not quite sure on this thing and you may need to do some changes on the widget element to achieve that. Anyway, have you try to contact the plugin author regarding this thing? Maybe they have a better solution to achieve your need above.

    Thank you

    Post count: 44
    Amazee
    September 12, 2018 at 9:41 pm #36667

    Hi Adek,

    Thanks for the reply. I will try. 🙂

    Regards

You must be logged in to reply to this topic.