Search Time Limitation
Mod Link (http://custom.simplemachines.org/mods/index.php?mod=1899)
Version: 1.0 Date 2009-06-17
Compatibility: SMF 1.1.9
This is an already built-in feature on SMF 2.x branch,you can set Time required between searches from same user to prevent search spam !
This can be set via AdminCP -> Search -> Time required between searches from same user
You may get support or submit questions and comments in the modification's support thread at the SMF site.
-Duncan85
Good idea
Greek utf8
<file name="$languagedir/Modifications.greek-utf8.php" error="skip">
<operation>
<search position="end" />
<add><![CDATA[
//Search Time Limitation
$txt['search_floodcontrol_time'] = 'Ο χρόνος που απαιτείται ανάμεσα στα ψαξίματα απο τον ίδιο χρήστη';
$txt['search_floodcontrol_time_disable'] = '(0 γιά απεριόριστα , σε δευτερόλεπτα)';
]]></add>
</operation>
</file>
<file name="$languagedir/Errors.greek-utf8.php" error="skip">
<operation>
<search position="end" />
<add><![CDATA[
$txt['searchWaitTime_broken'] = 'Μας συγχωρείτε! H τελευταία σας αναζήτηση ήταν πριν %d δευτερόλεπτα. Ο διαχειριστής έχει ορίσει ότι έχετε τη δυνατότητα να κάνετε μόνο μία αναζήτηση κάθε 20 δευτερόλεπτα.';
]]></add>
</operation>
</file>
This is one of the reasons why I upgraded to 2.0 now I can have a new forum using 1.1.9 again thanks duncan!
Hmm, nice mod, thanks Duncan.
Powerful and Simple Mod thanks ;)
Very nice!
Thanks mate :)
Am I correct in assuming that this restriction does not apply to Admins?
Yes, you are correct :)
Very nice Mod Thank You.
Turkish translate.
./Themes/default/languages/Modifications.turkish.php
//Search Time Limitation
$txt['search_floodcontrol_time'] = 'Aynı Kullanıcının Yapıcağı Site İçi Arama Yağacağı Süre Aralığı';
$txt['search_floodcontrol_time_disable'] = '(0 Sınırsız Arama saniye için örnek 0,05)';
./Themes/default/languages/Errors.turkish.php
$txt['searchWaitTime_broken'] = 'Son Aramanız %d Saniye Önceydi. Lütfen daha sonra tekrar deneyin.';
Quote from: Tiribulus on June 18, 2009, 11:18:51 PM
Am I correct in assuming that this restriction does not apply to Admins?
Admins would not spam their own forums right ? :P
Quote from: Duncan85 on June 19, 2009, 02:39:58 AM
Quote from: Tiribulus on June 18, 2009, 11:18:51 PM
Am I correct in assuming that this restriction does not apply to Admins?
Admins would not spam their own forums right ? :P
No, it just threw me off because I tested it with my admin account and it wasn't working so I tried it with a regular account and well, you get it.
hey can i use it in 1.1.8
VERY nice mod 8)
Would there happen to be an easy way to not limit charter members too?
I see where it doesn't effect moderators....
// Moderators are free...
if (!allowedTo('moderate_board'))
$timeLimit = isset($timeOverrides[$error_type]) ? $timeOverrides[$error_type] : $modSettings['spamWaitTime'];
else
$timeLimit = 2;
Could you help me do the same for members in membergroup 9?
I would like to limit search to all but Charter members. (and mods and admins) :P
Thanks in advance, and thanks for a GREAT mod.
digit
Quote from: Duncan85 on July 11, 2009, 03:25:08 PM
Quote from: Rohan_ on July 11, 2009, 03:23:59 PM
hey can i use it in 1.1.8
Yes you can
thanx for reply but i am on 1.1.10 now :D and using it and its working great :)
Thank YOU!