Support » Plugins and Hacks » [Plugin: bbPress – Mark as Read] Direct link to unread posts

[Plugin: bbPress – Mark as Read] Direct link to unread posts

Viewing 15 replies - 1 through 15 (of 15 total)
  • Plugin Author Pippin Williamson


    Can you elaborate a bit? What do you mean it doesn’t quite work? What do you see when it doesn’t work?

    You actually don’t see anything.
    I tried using this code to show the unread threads above my forum-loop

    So here’s what I changed:

    <?php do_action( 'bbp_template_before_forums_loop' ); ?>
    	< a href="<?php bbp_user_profile_url( bbp_get_current_user_id() ); ?>forums-2/subscriptions/#bbp-author-unread-topics">Unread posts< /a>

    Where Mark forgot to actually add tekst and close the < a> properly it showed nothing so I changed that.

    <table class="bbp-forums">

    etc etc
    Left the rest of the loop-forum.php alone as it breaks quite easily.

    So here’s the deal, the link actually shows up and is clickable but it goes to:


    Which gives me a 404 Error.

    I’ve been desperately struggling with Bbpress forum integrated in Buddypress and realized it is missing quite many essential features. Showing unread topics on one simple page among all forums being one of them.

    I installed the Bbpress mark as read plugin hoping to fix this issue but so far I haven’t managed because although I get a mark as read link next to each single topic, this isn’t much use if I just want a general view of topics that are new.

    I’m really hoping you can help me here 🙁

    [Moderator Note: Please post code or markup snippets between backticks or use the code button. As it stands, your code may now have been permanently damaged/corrupted by the forum’s parser.]

    Oh and I nearly forgot, I can’t seem to find the mark all topics read option either.

    Here is a link to my page if you’d like to take a look

    Plugin Author Pippin Williamson


    Looks like the link to your page got excluded. Can you repost it?

    I found the error already, the plugin you created is supposed to show a link on a bbpress profile page. However inside Buddypress there are no bbpress profile page active anymore.
    Therefor only the mark as read/unread link still shows on the topics but you cannot call upon all the unread posts anymore because the profile which is supposed to show it is no longer active.

    is the link to my page thnx for helping 🙂

    Plugin Author Pippin Williamson


    Oh that makes sense. BuddyPress actually uses an older version of bbPress that does not function the same way.

    Is there no way to fix it with BuddyPress? :/

    Plugin Author Pippin Williamson


    No, not until BuddyPress updates the included bbPress to the new version.

    Pippin is there any way I could write function with unread post id?

    Plugin Author Pippin Williamson


    @masada do you mean write a function that retrieves all unread topics?

    I’m trying to get unread topics to front page of the site so id would be enough.

    Plugin Author Pippin Williamson


    This should work for you:

    function pw_get_unread_topic_ids() {
    	global $bbp_mark_as_read;
    	return $bbp_mark_as_read->bbp_get_user_unread();

    Nice. Gonna try this one. Thx.


    with which buddypress / bbress version does the plugin run?
    I’m running bbpress Version 2.3.2 and Buddypress Version 1.8.1
    and can’t find the unread topics.

    or is there a easy way to create a page showing the unreadpage elseware?
    a widget would be a nice solution too..
    sadly im not really used to programming php and wordpress

    thanks patrick

Viewing 15 replies - 1 through 15 (of 15 total)
  • The topic ‘[Plugin: bbPress – Mark as Read] Direct link to unread posts’ is closed to new replies.