Synchronization bet...
 
Notifications
Clear all

Synchronization between wpdiscuz comment and the default WordPress comment system

5 Posts
2 Users
0 Reactions
2,249 Views
(@pyue6299)
Member Customer
Joined: 6 years ago
Posts: 53
Topic starter  

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
(@astgh)
Illustrious Member Admin
Joined: 7 years ago
Posts: 6193
 

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)
Member Customer
Joined: 6 years ago
Posts: 53
Topic starter  

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)
Member Customer
Joined: 6 years ago
Posts: 53
Topic starter  

any update?


   
ReplyQuote
Astghik
(@astgh)
Illustrious Member Admin
Joined: 7 years ago
Posts: 6193
 

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' );

 


   
ReplyQuote
Share:
Scroll to top