Support » Plugin: bbp style pack » Suggestion for enhanced widget-functionality

  • Resolved dominikb


    Hi Robin,
    first of all, thank you for your great plugin, it is a great gift for the UX of my community-page.

    I have a suggestion for you, to refine the UX further:

    At the moment, the topic-titles of your widget link to the latest reply, which is undesirable for some of my users, so how about putting the link to the latest reply on the words “reply by” itself?

    Like this:
    (widgets.php – line 192)

    <a class="bsp-la-reply-topic-title" href="<?php bbp_topic_permalink( $topic_id ); ?>"><?php bbp_topic_title( $topic_id ); ?></a>
    <?php if ( ! empty( $author_link ) ) : ?>
    <div class = "bsp-activity-author">
    <?php if (empty($reply)) {
    echo '<span class="bsp-la-text">' ;
    printf( _x( 'topic by %1$s', 'widgets', 'bbp-style-pack' ), '</span> <span class="bsp-la-topic-author topic-author">' . $author_link . '</span>' );
    else {
    echo '<a class="bsp-la-text" href="' . esc_url( bbp_get_reply_url( $reply ) ) . '" title="' . esc_attr( bbp_get_reply_excerpt( $reply, 50 ) ) . '">' ;
    printf( _x( 'reply by %1$s', 'widgets', 'bbp-style-pack' ), '</a> <span class=" bsp-la-topic-author topic-author">' . $author_link . '</span>' );
    <?php endif; ?>

    Regards Dominik

Viewing 1 replies (of 1 total)
  • Plugin Author Robin W



    thanks for that suggestion.

    I’m about to go on holiday, so I’ll leave this as unresolved and look at this on my return in a couple of weeks

Viewing 1 replies (of 1 total)
  • The topic ‘Suggestion for enhanced widget-functionality’ is closed to new replies.