fel64 and henrybb made plugins like this… then _ck_ improved on them with this:
https://bbpress.org/plugins/topic/unread-posts/
I was tested this plugin but it does not make what I want. I want to show a list and not to mark forums or topics or posts.
In fact, I would like to add a view in footer.php but I do not know how to make.
<?php if ( bb_is_user_logged_in() ) : ?><br />
<div id="viewdiv" class="widget"><!--Accès direct --><br />
<h2><?php _e('Views'); ?></h2><br />
<ul id="views"><br />
<li class="view"><a href="#">Messages non lus</a><br />
<?php foreach ( bb_get_views() as $the_view => $title ) : ?><br />
<li class="view"><a>"><?php view_name( $the_view ); ?></a><br />
<?php endforeach; ?> </p>
<p> </div><br />
<?php endif; // bb_is_user_logged_in() ?>
Since-last-visit displays all new posts since user’s last visit as view.
How could they changed so that display is manually triggered off, ie by adding a view?