The effects of alcohol on sustanon 250 leucine for – real weight loss & bodybuilding benefits?
Search
Close
AI Search
Classic Search
 Search Phrase:
 Search Type:
Advanced search options
 Search in Forums:
 Search in date period:

 Sort Search Results by:

Filter by custom fields

Topic prefix

AI Assistant
Comment displayed o...
 
Notifications
Clear all

[Solved] Comment displayed on several pages

3 Posts
3 Users
0 Reactions
680 Views
(@pikaniou)
Posts: 1
New Member
Topic starter
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
 
[#8779]

Hello,

First of all, thank you for your plugin which is really complete.

On my site, I use the madara theme with your comments plugin.

I have projects with chapters. Users can post comments on the projects and on the chapters.

But I've noticed that sometimes the comments displayed aren't those of a chapter, but those of the project, or a mixture of comments from several pages. I'll give you a few examples below.

I tested this with the default Wordpress system, which doesn't do this.

Example on the site :
4 comments posted that are correct:
https://black-orion.fr/manga/faux-depart/

image

Says that there are 2 comments, but doesn't display them and when you click on ‘most recent’ or ‘most popular’ you get lots of comments mixed up:
https://black-orion.fr/manga/faux-depart/chapitre-12/

image

Says there are 0 comments, but displays the 4 comments in the project:
https://black-orion.fr/manga/faux-depart/chapitre-17/

Capture d’écran 2024 08 19 153847

Can you help me see why this is happening?

Thanks in advance!


 
Posted : 19/08/2024 5:58 pm
Tom
 Tom
(@tomson)
Posts: 512
Honorable Member Support
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
 

Hi @pikaniou,

Please note that comments are tied to the post ID. In your case, the projects with chapters are loaded on the same page/post, meaning the ID is the same. As a result, the comment system cannot differentiate which comments belong to which content.

 

In some cases this PHP code helps and fixes the issue. Use Code Snippets plugin or put this directly in the current active theme's functions.php file:

global $wp_manga_comments;
if($wp_manga_comments){
    add_action('wpdiscuz_button', array( $wp_manga_comments, 'chapter_comment_field' ) );
}

 
Posted : 22/08/2024 11:16 pm
Asti
 Asti
(@asti)
Posts: 8257
Illustrious Member Support
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
 

We have not received a reply from you for over a couple of weeks, therefore we will be closing this topic. Please create a new one if you require any additional help.

Thank You!


In case you want to say thank you! 🙂
We'd really appreciate if you leave a good review on the plugin page.
This is the best way to say thank you to this project and the support team.

 
Posted : 10/09/2024 1:36 pm