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:

AI Assistant
Remove the restrict...
 
Share:
Notifications
Clear all

[Solved] Remove the restriction for identical comments

3 Posts
2 Users
0 Reactions
1,055 Views
Posts: 6
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
(@gels13)
Active Member
Joined: 4 years ago
[#3405]

I would like to remove the restriction for 2 identical comments, as well as the restriction that comments are made too quickly, this prevents people from expressing opinions in the same way, there are people who are used to pressing enter for a new line, this is also a restriction for people who want to comment.
How can I remove these restrictions?
The subdomain on which I am testing wpDiscuz is not final yet, I can only link you to the page on which I am testing.


2 Replies
Asti
Posts: 8210
 Asti
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
(@asti)
Illustrious Member
Joined: 8 years ago

@gels13,

Both restrictions are made by the WordPress side not wpDiscuz, so you can use the WordPress hooks:

The first restriction can be removed using this one: 

add_filter('duplicate_comment_id', '__return_false');

In this article, you can find a way to disable the WordPress comment flood prevention:

https://frique.me/blog/disabling-wordpress-comment-flood-prevention/

Put both codes in the active theme functions.php file.

This article should be helpful for you: https://www.wpbeginner.com/plugins/how-to-easily-add-custom-code-in-wordpress-without-breaking-your-site/


1 Reply
(@gels13)
Joined: 4 years ago

Active Member
Posts: 6
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

@asti 

Thank you, you helped me a lot, despite my ignorance! 🧡

 

 


Share: