Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter Matthias

    (@matthias70)

    I forgot to ask for an useful addition. At the moment the new flag is only shown in the subforums.
    What about an additon that shows the new flag on the forums above. So a user can click through to the new replies….
    I wonder, why nobody asked for a feature like this in bbpress…

    Thanks
    Matthias

    yep, I agree totally on both your suggestions Matthias

    Plugin Author bandicootmarketing

    (@tinkerpriest)

    Added the code to the latest update.

    Thread Starter Matthias

    (@matthias70)

    Hi C. Bavota,
    thanks for the update.
    The new flag shows no now even beside the forum title. Thats great!
    But when there are 5 new threads in the forum there are 5 new flags shown beside the forum title.
    One new flag besidé the title would be enough ??
    Matthias

    Matthias70:

    I had the same issue. I’m not sure if this is right, but it works.

    In the function bbp_theme_before_forum_title() add break; at the end of foreach.

    foreach( $result as $row ) {
    				if ( in_array( (int) $row->post_id, array_filter( $new_topics_array ) ) ) {
    					echo '<span class="new-topic-notifier">' . __( 'New', 'new-topics' ) . '</span> ';
    					break;
    				}
    			}
    Thread Starter Matthias

    (@matthias70)

    @sd17 your code suggestion works fine.
    Thanks
    Matthias

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Please add code from Thaddeus Aid’ is closed to new replies.