![]() |
Sorry, but you can only perform one search every 30 seconds - Printable Version +- Python Forum (https://python-forum.io) +-- Forum: Forum & Off Topic (https://python-forum.io/forum-23.html) +--- Forum: Board (https://python-forum.io/forum-26.html) +--- Thread: Sorry, but you can only perform one search every 30 seconds (/thread-1056.html) |
Sorry, but you can only perform one search every 30 seconds - Skaperen - Nov-30-2016 for real searches, ok, but this should be shorter for links implemented as a search such as My Discussions and Today's Posts. even better would be to allow doing any 3 before the time limits kick in. what if everything on the board was implemented as a search? RE: Sorry, but you can only perform one search every 30 seconds - nilamo - Nov-30-2016 I wonder if the search limits could be removed once you have >5 posts... RE: Sorry, but you can only perform one search every 30 seconds - stranac - Nov-30-2016 I can't see an option in configuration for either of those possibilities, but there is probably a plugin that does something like that (or one can be made). I do think 30 seconds is ridiculously high, but I wouldn't want to decide on changing it on my own... RE: Sorry, but you can only perform one search every 30 seconds - metulburr - Nov-30-2016 there was a setting for that somewhere. It was called search flood time. Ill take a look where. I think the idea for that was to limit bot posting before being caught, prevent DDos attacks, and save server bandwidth. EDIT: found it. Switched to 10 seconds BYW, 30 sec was the default If i cant find something in configuration or what category its in. There is a link in the top right "Show all settings" and then i just use my browser search to search for keywords. RE: Sorry, but you can only perform one search every 30 seconds - stranac - Nov-30-2016 (Nov-30-2016, 06:42 AM)metulburr Wrote: If i cant find something in configuration or what category its in. There is a link in the top right "Show all settings" and then i just use my browser search to search for keywords.That sounds like it will be useful, thanks. RE: Sorry, but you can only perform one search every 30 seconds - Skaperen - Nov-30-2016 maybe there is a way to make things like Today's Posts and the others differently. people might click on one, find nothing of interest an and click on another, to be disappointed that so much is implemented as searches. RE: Sorry, but you can only perform one search every 30 seconds - metulburr - Nov-30-2016 you are the only one that has ever said anything in 2 months. all the user links are just specific searches. There isnt really an easy way to say allow this search defined but not this one. Well, not unless i get greatly immersed into PHP and MyBB structure. Quote:I wonder if the search limits could be removed once you have >5 posts...this would be more ideal. However each plugin handles the search criteria. Each one is differently coded. And i have been trying to understand the unanswered posts plugin for awhile to try to modify it to only list X data. The more simple option is to just decrease the block more.... I could decrease it to 1-3 seconds, but i would I would like to hear of other admins/mods opinions first. EDIT: Actually i see a plugin that i could try for this specific case. Let me try that. RE: Sorry, but you can only perform one search every 30 seconds - metulburr - Dec-01-2016 im heading out again, dont have time to do it now and test it/ etc.....but this is the core edit needed to allow usergroups 3,4, and 6 off the restriction of flood time. I just have to search out the real usergrou ID's and test it later when i have time. dragonexpert Wrote:You can edit this line: https://github.com/mybb/mybb/blob/feature/search.php#L1601. RE: Sorry, but you can only perform one search every 30 seconds - Skaperen - Dec-01-2016 i originally encountered this issue on another forum, a long while ago. it's not that important if it took me 2 months to say anything ![]() too bad we don't have forum software this well done in python so you wouldn't have to get your fingers stained with php. . if i had developed forum software like this, i would have made an options dictionary so that unique options can be added to function calls, so that the feature to check for search flooding can have its context changed when a search is done internally for another purpose like this, so it comes out as "you can't check for today's post more often than once every 18 seconds ..." but i think a lot more software maturity would have happened earlier if the development had originally started in python ![]() but here we are, today. it's not an important thing. if it ever happens to be easy, at least i have communicated the concept. |