bbPress Plugin Browser »

Indicate New Posts (0.8)

Download

Version: 0.8

Other Versions

Last Updated: 2007-4-3

Requires bbPress Version: 0.81 or higher

Compatible up to: 1.0-alpha

Author Homepage »

Average Rating

5 stars
4 stars
3 stars
2 stars
1 star
(3)

Your Rating

Author: fel64

This will slightly modify the default list of latest threads shown on the front page (of Kakumei, may differ depending on your theme) by highlighting (bolding) threads with posts made since the user was last online (timeout of about 5 min). It will not be highlighted if the last post is made by the user.

To modify the indication, modify the html code in line #41.

This work builds strongly upon Thomas Klaiber's Since Last Visit plugin; about half the code is his (more if you include the REQUIRED Simple Onlinelist plugin).


  1. Getting this error: (0.8.1)

    bbPress database error: [Table 'test.bb_online' doesn't exist]
    SELECT activity FROM bb_online WHERE user_id=1 LIMIT 1

    bbPress database error: [Table 'test.bb_online' doesn't exist]
    SELECT * FROM bb_online WHERE user_id = 1 LIMIT 1

    bbPress database error: [Table 'test.bb_online' doesn't exist]
    INSERT INTO bb_online (user_id, activity) VALUES ('1', '2007-04-03 00:03:07')

    Posted: 4 years ago #
  2. Have you installed the Simple Onlinelist plugin? http://bbpress.org/plugins/topic/24?replies=2&more=1
    If your error appeared the first time you ran it, refreshing should solve that problem.

    Posted: 4 years ago #
  3. nolageek

    Member

    I get this error:

    Fatal error: Cannot redeclare user_last_online_init() in /home/nolageek/public_html/forums/my-plugins/since-last-visit.php on line 12

    Posted: 4 years ago #
  4. function name collision, I'll rename it and reupload. Thanks.

    Posted: 4 years ago #
  5. It's updated.

    Posted: 4 years ago #
  6. The plugin works but when I click on a new topic it doesn't become unbold, meaning it's forever appearing as new

    Posted: 4 years ago #
  7. It won't unbold unfortunately, it's not that sophisticated. It'll unbold about five minutes after you leave the forum, or when you log out and log back in.

    Posted: 4 years ago #
  8. Oh i see. It uses the online list timeout function right? So if i decreased that value in onlinelist.php, then posts would show as not new sooner, correct?

    But then obviously they would show as offline quicker, and therefore increase the server load. But unless there's a lot of users online at the same time i can't see that having a significant effect.

    Posted: 4 years ago #
  9. Yes, it uses that function - but I believe that the timeout thing is a bb internal mechanism. Not sure.

    Posted: 4 years ago #
  10. @smurfdude: did you success?

    Posted: 4 years ago #
  11. Hi. I made another plugin, called Unread Topics, for this same purpose, but one that remembers what topic is read/unread even if you logout, and links you to the first unread entry when the topic is unread.

    I put a thread about it here.

    An ad-hoc site for the project is here.

    A site where you can see it in action: http://andrymi.com/community/ (you need to be logged in to see the effects.

    Posted: 4 years ago #
  12. elu

    Member

    This plugins works well, except the fact, that the forums in the frontpage don't get bold. So you have to click through all forums in the board to see, if there is something new. Or did i miss something?

    Posted: 2 years ago #
  13. Unfortunately does not work with the new version

    Posted: 3 months ago #

RSS feed for this topic

Add a Comment

You must log in to post.