Hugo Ashmore (@hnla)

Forum Replies Created

Viewing 6 replies - 1 through 6 (of 6 total)
  • @jwhammond20 Sorry but unable to replicate further issues, the fixes above although not deeply tested and the root cause still not really grasped I can see all lead posts in a thread and their replies whether thread is normal or sticky – however you did state you were not using S2 member this workaround is / can only be tested against S2 from my end. I suspect the root cause is slightly deeper and my workaround is just that not a resolution.

    A written to the S2 member thread:

    A better fix – on a copy of content-single-topic.php in a bbpress folder in the theme-

    is to find the line:
    <?php if ( bbp_show_lead_topic( ) ) : ?>

    and change it to:
    <?php if ( bbp_show_lead_topic( $show_lead = true ) ) : ?>

    Even better than that is to write this as a filter run from functions.php probably until such time as a true reason and solution is provided.

    This function added to your themes functions file should also achieve the same requirement and can be removed after things have been cleared up.

    
    function show_bbp_lead_topic_true() {
    $show_lead = true;
    return $show_lead;
    }
    add_filter('bbp_show_lead_topic', 'show_bbp_lead_topic_true');
    

    There is a hack suggested on the S2 member github thread that I would not advise using but if people do then modify a copy of the file not the core one!

    The fix suggests circumventing the template part include in content-single-topic.php calling single-topic-lead.


    @johnjamesjacoby

    The issue appears to be – in S2 members case? that the conditional check on bbp_show_lead_topic() is returning false when it was returning true, why? not sure why at the moment.

    @ccardin on a tech forum and a public one, please never ask a question only to follow up with “never mind I solved it” reply.

    Part of the usefulness of open forums is for people searching on issues they may be having they find reference to this post only to be frustrated to find no help whatsoever.

    Part of the bargain entered into in seeking help on forums is to return such help where possible, and if you find a solution to the problem you asked about you post it back so that others may benefit!

    For reference and closure; this issue was a BP one and has been resolved in this ticket:
    https://buddypress.trac.wordpress.org/changeset/7332/
    and will be included in the recently released BP 1.8.1

    Had this issue for a while too. Checked once again with no plugins running, BP bleeding and bp-default theme, issue persists.

Viewing 6 replies - 1 through 6 (of 6 total)