Skip to:
Content
Pages
Categories
Search
Top
Bottom

Shortcode to get the number of unread subscribed topics

  • @maksanse

    Participant

    Hello there,

    I look for a shortcode that would allow me to display to the user the number of unread topic in his subscription (or at least, if there is any unread topic there).

    I have looked for it for a long time and couldn’t find anything suiting my needs or functional.

    Does anymone have an idea or solution to this need ?

    (My aim : without using buddypress, display a “user notification bell” on my menu with an indication to the user when unread topics are available… Pretty classic use case, but not so easy to find 😅 )

    Thank you for your help or clues 🙏

Viewing 4 replies - 1 through 4 (of 4 total)
  • @robin-w

    Moderator

    best I can offer is

    bbp style pack

    once activated go to

    dashboard>settings>unread posts

    @maksanse

    Participant

    Thank you Robin for this so quick answer 🙏

    I already use your awesome plugin + additional shortcodes (thanks a lot).
    But it doesn’t allow me to get (and use) the information “Is there any topic to read for this user ?” so that I use it in my menu…

    By reading this post : https://bbpress.org/forums/topic/get-topics-of-subscribed-to-forums/
    I ask myself if there is a way to make a function that :

    1) get the subscribed forums html
    2) check if there is the “unread” tag in this html
    3) return YES or NO (or best : the number of “unread” occurences)

    Do you think this is feasible ?

    @robin-w

    Moderator

    It is doable, but beyond free help.

    contact me via

    Contact me

    @maksanse

    Participant

    Sure ! Thank you for your help 👍

Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.
Skip to toolbar