Skip to:
Content
Pages
Categories
Search
Top
Bottom

Show the Reply form/box on every page

  • @chandersbs

    Member

    By default the reply form/box only shows on the last page of a topic, if it has more than one page. If a topic has 5 pages, and you click reply on page 2, it will take u the reply form, which is located at page 5.

    I did a hack in a file to make it show on all pages.

    Open functions.bb-template.php and find

    $defaults = array(

    ‘h2’ => ”,

    ‘last_page_only’ => true

    Replace this with

    $defaults = array(

    ‘h2’ => ”,

    ‘last_page_only’ => false

    I’m confident that is not the best way, if someone has a better way, please leave a reply, this method is however working.

Viewing 1 replies (of 1 total)
  • @ashfame

    Participant

    Don’t hack the core files or you will lose changes when you upgrade. Instead do this

    In your topic.php

    replace

    post_form();

    with

    post_form(array('last_page_only' => false));

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