I need to use wordpress standard post_submit_meta_box at front end. I registed the box in a class, then, at front_end on the posting page, I added all required wp post API php files. My codes doesn't work, what did I miss?
add_action( 'add_meta_boxes', array( &$this, 'register_meta_boxes' ) );
function register_meta_boxes(){
$admin_path = ABSPATH . '/wp-admin';
require_once( $admin_path . '/includes/meta-boxes.php' );
add_meta_box('submitdiv', __('Publish'), 'post_submit_meta_box', 'my-post-type-name', 'side', 'core');
}