• Welcome to Simple Machines Community Forum. Please login or sign up.
December 06, 2021, 01:52:53 PM

News:

Join the Facebook Fan Page.


wait time between searches

Started by A.M.A, October 28, 2004, 02:28:07 PM

Previous topic - Next topic

A.M.A

This tip will help you to force wait times between each search. It uses the spam protection already in use for posts ..
Admin -> Edit Features and Options -> Seconds required between posts from the same IP

in Search.php look for:
function PlushSearch2()
{
global $modSettings, $sourcedir;
global $scripturl, $txt, $db_prefix, $user_info, $context, $messages_request, $attachments, $boards_can;
add after:
// Use the spam protection for messages as a wait time between searches.
spamProtection('spam');
Really sorry .. real life is demanding my full attention .. will be back soon hopefully :)

ivytony

no, it's not working for me at all.

A.M.A

If you are using it as an Administrator it wont work. Also you have to set some time in (Seconds required between posts from the same IP).
Really sorry .. real life is demanding my full attention .. will be back soon hopefully :)

madfiddler

How does this display an error to the user? Surely it will say something like "you cannot post blah blah blah" which may confuse the user when they are trying to search, not post ?

Advertisement: