BuddyDev

Search

[Resolved] Show notification when post is published for friends.

  • Participant
    Level: Initiated
    Posts: 4
    Martin Jakubek on #35903

    Hi all 🙂

    I found many topics but any of those work. Is possible to have notification for my friends when I publish blog post?

    I know you don’t have to help me, but if you can help me please wit code. Thanks

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 2445
    Ravi on #35907

    Hello Martin,

    Thank you for posting. Yes it can easily with some short of code. Please do let me know are you creating post i.e. which plugin for creating post.

    Regards
    Ravi

  • Participant
    Level: Initiated
    Posts: 4
    Martin Jakubek on #35909

    Hi Ravi. Just backend. Authors have allowed to post by backend.

    Thanks

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 2445
    Ravi on #35922

    Hello Martin,

    Sorry for delayed reply. Please check the following gist

    https://gist.github.com/raviousprime/40e78466f9350b571d13473aa02a229d

    Please let me know if it works or not.

    Regards
    Ravi

  • Participant
    Level: Initiated
    Posts: 4
    Martin Jakubek on #35939

    Hi Ravi,

    it works perfect. Exactly how I want. Thanks a lot.

    Only small issue is when I click on notification the notification is still there as unread and didn’t disappear. I don’t know if it is possible fix.

    But anyway I’m so happy what you have done.

    Thanks

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 2445
    Ravi on #35977

    Hello Martin,

    Thank you for acknowledgement. You can mark notification read by action link. I am glad to help you.

    Regards
    Ravi

You must be logged in to reply to this topic.

This topic is: resolved