danoman (@danoman)

Forum Replies Created

Viewing 6 replies - 1 through 6 (of 6 total)
  • @danoman

    Participant

    Just realized that a forum is just another post-type.

    So you can create a forum the same way you create other posts:

    $post = array(

    ‘post_title’ => ‘My forum’,

    ‘post_content’ => ‘This is a forum.’,

    ‘post_name’ => ‘my-forum’,

    ‘post_status’ => ‘publish’,

    ‘post_type’ => ‘forum’,

    );

    $post_id = wp_insert_post($post);

    @danoman

    Participant

    Did you ever solve this?

    When I try to call bb_new_forum() from functions.php using the action hook wpmu_new_blog I get “Fatal error: Call to undefined function bb_new_forum() “.

    @danoman

    Participant

    Yeah, I’ve been searching for an answer for hours.

    Found that they are supposed to be in:

    wp-content/plugins/bbpress/bbp-themes/bbp-twentyten

    You might try that!

    For me, if I try to change anything in the template files I find there, nothing happens. But perhaps it’s because I’m not using twentyten, but a childtheme to bp-default.

    I’ve also tried with:

    wp-content/plugins/buddypress/bp-forums/bbpress/bb-templates/kakumei

    but with no result.

    @danoman

    Participant

    I’m also searching for that!

    Please tell if you find one.

    In reply to: bbPress 2.0 – FAQ

    @danoman

    Participant

    Can’t find a Swedish translation set for the bbPress plugin in GlotPress, and it seems I can’t create one. Would be great if someone could set one up so we could start translation.

    In reply to: bbPress 2.0 – FAQ

    @danoman

    Participant

    Can’t find a Swedish translation set for the bbPress plugin in GlotPress, and it seems I can’t create one. Would be great if someone could set one up so we could start translation.

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