• Welcome to Tux Reports: Where Penguins Fly. We hope you find the topics varied, interesting, and worthy of your time. Please become a member and join in the discussions.

Implemented Option to not create threads on a post

John Henry Donovan

Baby Bird
XenWord Professional
Hi there,

At the moment an XF thread is created for every single WP post.
Is there an option to not create a XF thread when I create a WP post?

Does XenWord respect 'Allow Comments' setting?

WordPress version: 4.2.1
XenForo version: 1.4.6
XenWord version: 2.5.0.05
 

John Henry Donovan

Baby Bird
XenWord Professional
Hi Gracie,

Thanks for moving my thread.

Do you mean per article being able to disable comments and enable comments on others?

Yes the native option in WordPress to Allow Commenting per post.

It would make sense if this was unticked then a XF thread would not be created.

Currently the Allow Commenting is overridden by XW
 

Kellen

Baby Bird
Nevermind, I see this was already suggested a few posts down. The author said he didn't believe this had been suggested already, so I figured I'd post it.
 

Paul

Master of None
Flight Instructor
This is an option that would be great. Not every article needs to be sent to the forum for discussion.
 

Paul

Master of None
Flight Instructor
Easy fixes:

Wrap this conditional in xenword_new_post

PHP:
if ( ( 'open' == $post->comment_status ) ) {
}

Change the !empty($thread_id) in xenword_edit_post to include 'open'==$post->comment_status

PHP:
if ( ! empty( $thread_id ) && 'open' == $post->comment_status ) {
 
Top