Forum Replies Created
-
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);
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() “.
In reply to: Which Files control the basic layout?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.
In reply to: Which Files control the basic layout?I’m also searching for that!
Please tell if you find one.
In reply to: bbPress 2.0 – FAQCan’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 – FAQCan’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.