Skip to:
Content
Pages
Categories
Search
Top
Bottom

Reply form disappears when bbp_show_lead_topic is set to true?


  • janoochen
    Member

    @janoochen

    When I change this line:

    function bbp_show_lead_topic( $show_lead = false ) {

    to this:

    function bbp_show_lead_topic( $show_lead = true ) {

    the reply form disappears.

    Is this a bug or a feature?

    (This happens with a fresh bbpress install).

    (I’m using bbpress 2.0 beta and wordpress 3.1)

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

  • Gautam Gupta
    Participant

    @gautamgupta

    You should instead add this in your theme’s functions.php:

    add_filter( 'bbp_show_lead_topic', '__return_true' );


    janoochen
    Member

    @janoochen

    Thanks Gautam,

    I did that instead but still having the same problem.

    The only way I can solve the problem is by taking:

    <?php bbp_get_template_part( 'bbpress/form',       'reply'   ); ?><br />

    from single-topic.php out of the loop.


    John James Jacoby
    Keymaster

    @johnjamesjacoby

    Confirmed issue in Beta 1. Will be fixed in Beta 2.


    janoochen
    Member

    @janoochen

    I see, then I will just stick with that temporally fix. Thanks!

Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.
Skip to toolbar