Search
Close
AI Search
Classic Search
 Search Phrase:
 Search Type:
Advanced search options
 Search in Forums:
 Search in date period:

 Sort Search Results by:

AI Assistant
I can't comment on ...
 
Notifications
Clear all

[Solved] I can't comment on custom post type

7 Posts
3 Users
0 Reactions
2,208 Views
(@hasel)
New Member
Joined: 6 years ago
Posts: 3
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
  [#4569]

Hi,

i have a fresh wordpress installation with wpdiscuz and directories pro plugin from codecanyon. The plugin create a custom post type. The plugin Author has sent me this snippet to display the comment section

add_filter('comments_open', function($open, $postId){
if (isset($GLOBALS['drts_entity'])
&& $GLOBALS['drts_entity']->getId() === $postId
) {
$open = true;
}
return $open;
}, 11, 2);

I can see the comment field but i can’t comment. I become the message:

We are sorry, you are not allowed to comment more than one time!

If i have disabled wpdiscuz i can comment with wordpress comment funcion. I have try it logged in and as guest it’s the same problem.

can you help me to solve this problem

best regards
hasel



   
Elvina
(@elvina)
Support
Joined: 7 years ago
Posts: 1403
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 @hasel,

Please send the admin login details to info[at]gvectors.com email address, I'll ask wpDiscuz developers to check the issue.



   
(@hasel)
New Member
Joined: 6 years ago
Posts: 3
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
 

@elvina

thank you very much. I have sent the login details.

best regards

Hasel



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

@hasel

You've forgotten to add your website URL. You can either leave the URL here or send it via email address. 



   
Elvina
(@elvina)
Support
Joined: 7 years ago
Posts: 1403
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
 

@hasel,

As far as we see, the Directories Pro Plugin authors provide a code for displaying comment section.
The code works with default comment as it doesn't use ajax.
wpDiscuz uses ajax.

You should contact the Directories Pro Plugin developer, and ask them to provide some solution that will work with ajax.

 

 



   
(@hasel)
New Member
Joined: 6 years ago
Posts: 3
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
 

Hi Elvina,

the Author from directories pro fix the problem with version 1.2.70 and now it works.

You can close this topic.

thanks for your help

best regards

Hasel



   
Elvina
(@elvina)
Support
Joined: 7 years ago
Posts: 1403
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
 

@hasel,

Thank you for letting us know.

Glad to hear that the problem is solved. 

 

 



   
Share:
Scroll to top