• Welcome to the official support community for the Marketers Delight WordPress theme. Most content here is private and to ask questions, get official support, and network with other WordPress users please register and verify your forum account to start posting today.

Post threads as author

Sam

Member
Messages
13
Reaction score
0
When a thread is created, it is posting by admin account rather than author account on WP that is synced to XFtoWP .

Any ideas around this, would like the created forum thread to be created by the same account as the author posting the article?
 

Alex

MD developer
Messages
5,707
Reaction score
1,579
I like the idea and thought about this as an enhancement back in v1.0. Currently the API user is the only one who can perform any forum actions, but this is something I'll keep on the radar as there are many other benefits to setting up a connection like this.
 
Comment

Sam

Member
Messages
13
Reaction score
0

Does this code work when an author is publishing a post, it will also create a thread in the author's forum username by adding the roles into the piece of code you have on that link?

Also, where do you place that piece of code?
 
Comment

Alex

MD developer
Messages
5,707
Reaction score
1,579

Does this code work when an author is publishing a post, it will also create a thread in the author's forum username by adding the roles into the piece of code you have on that link?

Also, where do you place that piece of code?
No, this code merely allows other user roles registered to WordPress to be able to use the Thread comments feature. Out of the box XFtoWP enables it for the Admin and Editor roles.

Most code snippets we provide will be able to go into your child theme's functions.php file, which is the best place for any custom code you add to WordPress.
 
Comment
Top