Advertisement:

Author Topic: wait time between searches  (Read 18012 times)

Offline A.M.A

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 2,133
  • Gender: Male
  • ..
wait time between searches
« on: October 28, 2004, 02:28:07 PM »
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:
Code: [Select]
function PlushSearch2()
{
global $modSettings, $sourcedir;
global $scripturl, $txt, $db_prefix, $user_info, $context, $messages_request, $attachments, $boards_can;
add after:
Code: [Select]
// 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 :)

Offline ivytony

  • Jr. Member
  • **
  • Posts: 122
Re: wait time between searches
« Reply #1 on: March 17, 2005, 09:49:32 PM »
no, it's not working for me at all.

Offline A.M.A

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 2,133
  • Gender: Male
  • ..
Re: wait time between searches
« Reply #2 on: March 18, 2005, 05:39:25 PM »
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 :)

Offline madfiddler

  • Full Member
  • ***
  • Posts: 667
  • Gender: Male
  • Flit Kills Moths
    • madfiddler
Re: wait time between searches
« Reply #3 on: August 11, 2005, 12:34:44 PM »
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 ?