View the Post on the BlogJaime Holmes of XenScripts has done a great job getting the WordPress-XenForo Bridge functioning. There are still a few glitches regarding double posts. For example, I have a site with the thread creation off and yet the post is still made. This causes double postings in the forums. The following if statements might alleviate the issue.
Code:global $XF, $wpdb; if($XF->options['use_thread_creation_page'] == 'on') { add_action('publish_page', 'xf_edit_post'); } if($XF->options['use_thread_creation'] == 'on') { //the edit post actions add_action('publish_post', 'xf_edit_post'); //the post creation actions add_action('pending_to_publish', 'xf_new_post'); add_action('draft_to_publish', 'xf_new_post'); add_action('new_to_publish', 'xf_new_post'); add_action('future_to_publish','xf_new_post'); }