You can copy form-forum.php from the bbPress plugin templates into a folder called bbpress in your child theme and remove 'show_none' => __( '(No Parent)', 'bbpress' ),
so that they have to choose a parent forum.
Look for this in the file.
<p>
<label for="bbp_forum_parent_id"><?php _e( 'Parent Forum:', 'bbpress' ); ?></label><br />
<?php
bbp_dropdown( array(
'select_id' => 'bbp_forum_parent_id',
'show_none' => __( '(No Parent)', 'bbpress' ),
'selected' => bbp_get_form_forum_parent(),
'exclude' => bbp_get_forum_id()
) );
?>
</p>
End up with something like this.
<p>
<label for="bbp_forum_parent_id"><?php _e( 'Parent Forum:', 'bbpress' ); ?></label><br />
<?php
bbp_dropdown( array(
'select_id' => 'bbp_forum_parent_id',
'selected' => bbp_get_form_forum_parent(),
'exclude' => bbp_get_forum_id()
) );
?>
</p>
Hi, thanx but what I want is to not to have to select a forum when create a new one. Like in wordpress admin panel. Just create the new forum with short codes at the same level that others. On top. Is it possible?
Possibly, I haven’t messed with something like that yet though.
I know it may be annoying to select a forum, but it is not really a big deal.