Synchronization bet...
 

Synchronization between wpdiscuz comment and the default WordPress comment system  

  RSS

pyue6299
(@pyue6299)
Member Customer
Joined: 1 year ago
Posts: 44
19/06/2019 9:30 am  

Hi Author

When i activate wpdiscuz, it shows the comment my user left using the wpdiscuz system, and the comment left by user using the default Wordpress comment system will get disappeared.

Can i sync. them together?

Thanks

Patrick


Quote
Astghik
(@astghik)
Support Team Admin
Joined: 2 years ago
Posts: 3066
19/06/2019 12:02 pm  

Hi @pyue6299,

Thank you for using wpDiscuz. 

Comments – wpDiscuz changes the default comment system to a new interactive system. The wpDiscuz will show all old comments. There is no necessary to synchronize anything. It seems there is something specific case on your website. Please use some screenshots to explain the issue. 


ReplyQuote
pyue6299
(@pyue6299)
Member Customer
Joined: 1 year ago
Posts: 44
19/06/2019 12:30 pm  

Hi Author

Let me look into this issue deeper. 

Another thing i was longing for an answer, is that:

i currently have a "popup" plugin and it can create any popup using shortcode or functions. I would like to add a button in post, so that when user clicks it, it popup wpdiscuz comment form.

May i know is that possible? which files should i look at?

thanks

Patrick


ReplyQuote
pyue6299
(@pyue6299)
Member Customer
Joined: 1 year ago
Posts: 44
21/06/2019 8:51 am  

any update?


ReplyQuote
Astghik
(@astghik)
Support Team Admin
Joined: 2 years ago
Posts: 3066
21/06/2019 5:26 pm  

Hi @pyue6299,

Make sure global object is available for the post/page content where you'll add the shortcode mentioned below.

Use the following shortcode:

function my_wpdiscuz_shortcode() {
if(file_exists(ABSPATH . 'wp-content/plugins/wpdiscuz/templates/comment/comment-form.php')){
ob_start();
include_once ABSPATH . 'wp-content/plugins/wpdiscuz/templates/comment/comment-form.php';
return ob_get_clean();
}
}
add_shortcode( 'wpdiscuz_comments', 'my_wpdiscuz_shortcode' );

 

This post was modified 2 weeks ago by Astghik

ReplyQuote
Share: