Viewing 13 replies - 1 through 13 (of 13 total)
  • I have the same problem, i tried it on my local host the notification still appear even the topic already replied.

    Plugin Author bandicootmarketing

    (@tinkerpriest)

    Hmm. I’ve been using this on my bbPress forum and it works every time. Are you a moderator or a keymaster on the forum?

    HansRuedi

    (@schwarzaufweiss)

    Same here while using your cool plugin v1.0.0 based on WP 3.8.1 with bbpress 2.5.3 — i’m moderator.

    SB_fm

    (@sb_fm)

    Experiencing the same problem.

    Hey,

    I might have figured this out. The problem (obviously) is that the ‘new’ topic flag does not get cleared when you actually visit a new topic. I believe this happens because the ‘clear new topic’ function is hooked up to the wrong action.

    In bbpress-new-topics.php, I added the following code after line 51:

    add_action( 'bbp_template_before_single_topic', array( $this, 'bbp_theme_before_topic_title' ) );

    Full diff:

    diff -Nur bbpress-new-topics-old/bbpress-new-topics.php bbpress-new-topics/bbpress-new-topics.php
    --- bbpress-new-topics-old/bbpress-new-topics.php       2014-04-09 10:52:05.254186487 +0200
    +++ bbpress-new-topics/bbpress-new-topics.php   2014-04-09 10:51:24.464813058 +0200
    @@ -49,6 +49,11 @@
                            add_filter( 'bbp_get_topic_class', array( $this, 'bbp_get_topic_class' ), 10, 2 );
    
                            add_action( 'bbp_theme_before_topic_title', array( $this, 'bbp_theme_before_topic_title' ) );
    +            /* bbp_theme_before_topic_title does not fire on topic view (anymore?)
    +               But we need it to fire so we can set the topic to seen and clear
    +               the new flag
    +            */
    +                       add_action( 'bbp_template_before_single_topic', array( $this, 'bbp_theme_before_topic_title' ) );
             }
    
             public function admin_init() {

    Thanks laga. It now works a treat in Firefox.

    But the plugin doesn’t seem to work at all in Internet Explorer, at least not with the fix anyway. Any help with this?

    The fix should not depend on the browser. Try logging out and clearing cache and cookies, something might be stuck.

    Thanks @laga your fix worked.

    thanks @laga! That did the trick

    Hi c.bavota,

    are there plans on including the laga fix into a new version of this plugin?

    Kind regards

    I have the exact same problem..

    Seems like the plugin is just not working if we don’t add Laga’s modification (and the author just won’t update his plugin?)

    Well thanks Laga!

    can some fix this for all users?

    Hi

    I installed it but it seems that it does not work with the latest WordPress version.

    I myself, even though I am not a programmer, made a simple php code to display a “New” label. The code displays the “new” label for topics whose post date has not passed, for example, 3 days. If you are interested, drop by my personal blog at https://www.thewordcracker.com/advanced-wordpress/an-alternative-to-the-bbpress-new-topics-plugin/

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘"New" does not go away after view’ is closed to new replies.