Skip to:
Content
Pages
Categories
Search
Top
Bottom

[resolved] Get rid of "New Topic in this Forum" when listing Subforums


  • Peter A. Gebhardt
    Participant

    @starship-trooper

    Change template-functions.php as described below:

    function post_form( $h2 = '' ) {
    global $page, $topic, $forum;
    $add = topic_pages_add();
    if ( empty($h2) && false !== $h2 ) {
    if ( is_topic() )
    $h2 = __('Reply');
    elseif ( is_forum() && !bb_forums( $forum_id )) // <== Change here
    $h2 = __('New Topic in this Forum');
    elseif ( is_bb_tag() || is_front() )
    $h2 = __('Add New Topic');
    }
    ...

    It’s a pity that I had to change a core file. Maybe somebody else could contribute a better solution?

You must be logged in to reply to this topic.