Notifications
Clear all

Limited Support

Our team is currently on holiday, so support will be limited during this period. Response times may be slower than usual, and some inquiries may be delayed.
We appreciate your patience and understanding, and we’ll resume our usual support by the end of August.

 

Script Anti Spamming Code Not Working

5 Posts
2 Users
0 Reactions
434 Views
forummember
Posts: 122
Topic starter
(@forummember)
Estimable Member
Joined: 3 years ago

Hi, the below code is not working anymore.

Β 

add_filter( 'wpforo_usergroup_get_flood_interval', function(){ return 15; /* seconds */ } );
4 Replies
forummember
Posts: 122
Topic starter
(@forummember)
Estimable Member
Joined: 3 years ago

Can anyone advise please. Thanks

Reply
3 Replies
Sofy
 Sofy
Admin
(@sofy)
Joined: 8 years ago

Support Team
Posts: 5483

@forummemberΒ 

The code is functioning properly. If you're encountering issues, they may be related to how and where you've implemented it. For instance, if you've used another plugin or added it directly to the functions.php file, etc.

The code above doesnot allow to post a replies quickly In your situation, there's a restriction allowing posting a topic/post only after 15 seconds.

Reply
forummember
(@forummember)
Joined: 3 years ago

Estimable Member
Posts: 122

@sofy I put it in Code Snippet and it is working before but upon checking again it's not working anymore and the people is spamming my forum.

Reply
Sofy
 Sofy
Admin
(@sofy)
Joined: 8 years ago

Support Team
Posts: 5483

@forummemberΒ 

It's possible that the duration extends beyond 15 seconds.

Please check out this FAQ; it might be helpful for you: https://wpforo.com/community/faq/how-to-stop-spam/

Reply