vcb (@vcb)

Forum Replies Created

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

  • vcb
    Participant

    @vcb

    Hi Robkk,

    thanks for pointing this out.
    I’ve just installed the entire WP + bbpress from scratch, without success.
    Everything does work – beside “publishing” the forum to frontend. within backend the forum gets published, also publishing as admin (via script) doesn’t change a thing.

    Thanks, I’ll keep on searching. There is no need to spam my DB. Everything works.
    This is an Publish/Update issue. bbpress itself runs perfect without issues at all.

    Any further suggestion is very welcome, thanks.


    vcb
    Participant

    @vcb

    Why does the forum only show up when I update it manually via backend?
    Anyone any idea what this could be?

    I’ve tried different roles; Moderator + Keymaster. Still getting the same result, everything does work – beside showing it in the frontend.Tho, after updating the forum within the backend it shows up in the frontend.

    Thanks.

    
    // Create FORUM Entry object
    	  $my_forum = array(
    		'post_title'    => 'title',
    		'post_content'  => 'test',
    		'post_status'   => 'private',
    		'post_author'   => $_POST['post_author'], //also tried admin '1',
    		'post_type' => 'forum',
    		'post_parent' => '123'	// parent forum
    	  );
    	  // Insert the post into the database
    	  $page_id = wp_insert_post( $my_forum );
      
    
    
Viewing 2 replies - 1 through 2 (of 2 total)