Wp Discuz 2nd comment level and pagination issue  

  RSS

kashkin.art
(@kashkin-art)
New Member
Joined: 1 month ago
Posts: 4
12/07/2019 1:23 pm  

Hello!

1. I have a website in 2 languages. 2nd level comments in one language works fine with "View replies button", but in another language when I press that button  it doesn't show anything (though the comment exists). 
2. Sorting buttons don't work as well. When I press them all the comments disappear.
3. Comments loading/pagination type works only with "Load all comments". If I choose another option, then it shows a lot less comments and the buttons [Load rest of all comments] Button or doesn't work. Lazy loading doesn't work as well.

I tried to check these issues while disabling the rest of the plugins and also cleared cache and changed Wordpress theme to Twenty Nineteen. Nothing works.

https://artyomkashkin.ru/ru/dolgozhdannyj-reliz-moej-novoj-pesni-tomorrow/

This topic was modified 1 month ago by kashkin.art

Quote
Astghik
(@astghik)
Support Team Admin
Joined: 2 years ago
Posts: 3119
12/07/2019 3:48 pm  

Hi @kashkin-art,

Thank you for using wpDiscuz and for contacting us. 

1. I have a website in 2 languages. 2nd level comments in one language works fine with "View replies button", but in another language when I press that button  it doesn't show anything (though the comment exists). 

This is a known issue. Most of ML plugins don't support this. However, there is some workaround for this problem if you use WPML. Please check this WPML support topic:

https://wpml.org/forums/topic/show-comments-in-all-languages/

wpDiscuz has no chance to do this, it should be managed from ML plugins and WordPress side.

2. Sorting buttons don't work as well. When I press them all the comments disappear.

Please enable the sorting buttons to allow us to check it. 

3. Comments loading/pagination type works only with "Load all comments". If I choose another option, then it shows a lot less comments and the buttons [Load rest of all comments] Button or  doesn't work. Lazy loading doesn't work as well.

Could you please record some video of the issue. 

 

This post was modified 1 month ago by Astghik

ReplyQuote
kashkin.art
(@kashkin-art)
New Member
Joined: 1 month ago
Posts: 4
12/07/2019 3:52 pm  

Thank you for the quick reply!

2. 3. I have enabled Sorting buttons and set pagination type for

Thank you!


ReplyQuote
Astghik
(@astghik)
Support Team Admin
Joined: 2 years ago
Posts: 3119
12/07/2019 4:09 pm  

Thank you @kashkin-art,

Could you please deactivate the W3 Total Cache plugin and check again? 

Don't forget to press Ctrl+F5 before checking to reload updated JS/CSS files.   


ReplyQuote
kashkin.art
(@kashkin-art)
New Member
Joined: 1 month ago
Posts: 4
12/07/2019 4:28 pm  

W3 Total Cache has been deactivated. The issue still exists.


ReplyQuote
Astghik
(@astghik)
Support Team Admin
Joined: 2 years ago
Posts: 3119
12/07/2019 4:31 pm  

ok @kashkin-art,

Please don't change the options. I've just asked the developers to check your website. Please wait a bit I'll update the topic asap. 

 

This post was modified 1 month ago by Astghik

ReplyQuote
Astghik
(@astghik)
Support Team Admin
Joined: 2 years ago
Posts: 3119
12/07/2019 4:41 pm  

@kashkin-art,

Could you please send the admin login details to info[at]gvectors.com email address to allow us to check the issue? 


ReplyQuote
Astghik
(@astghik)
Support Team Admin
Joined: 2 years ago
Posts: 3119
13/07/2019 8:25 pm  

Thank you @kashkin-art.

We've checked and found that the issue comes from the WPML plugin.

It set the English language once ajax is working, so the issue takes place. i.e it tries to get comments in the English language. The developers said that the issue is caused by the comments_clauses_filter() function. The function is in wp-content\plugins\sitepress-multilingual-cms\classes\query-filtering\wpml-query-filter.class.php file.

Please contact the WPML plugin support and let them know about the issue.


ReplyQuote
Share: