2011-11-13, 10:35 PM
This seems to be a pretty simple problem, so I hope it has a simple solution. Basically, the IP search doesn't seem to work if you use any asterisks. It returns results only if you type in a full address (e.g. "123.45.67.8" works, but not "123.* "). This may be a problem because I've just banned a large number of IP ranges in hopes of cutting down on Russian spambot accounts, and I want to search through those ranges to make sure I haven't accidentally banned any legitimate members in doing so.
Here's an example. When I search for a full IP address (I blacked out some of the numbers and part of the member's username for privacy), I get a result like this:
![[Image: ipsearch1.png]](https://camo.mybb.com/5777e8caed212008d14e38617cc3b66b5d0793aa/687474703a2f2f696d6731312e696d616765736861636b2e75732f696d6731312f333035322f6970736561726368312e706e67)
That's good, but let's say I just want to search for any members whose IP's match just the first two numbers, 66.190.* -- in this case, it doesn't find any results, even though, because the asterisk should function as a wildcard, it should return at least the one member it found before. Instead, it returns no results:
![[Image: ipsearch2.png]](https://camo.mybb.com/a2a078aea53a8b8e612d43c1580d116abce2daa2/687474703a2f2f696d6731382e696d616765736861636b2e75732f696d6731382f373837312f6970736561726368322e706e67)
As far as I'm aware, this has been a problem ever since we began using the board, so I don't think it's a bad plugin causing it. I'm also not sure if this problem is specific to our board or if it's a MyBB glitch in general. I've searched and the only relevant result I found was this thread, which is identical to the problem we're having, but that applies to an old version of MyBB.
I should point out that this problem occurs regardless of the number of asterisks used. For example, 66.90.*.*, 66.90.*, and 66.90 all return the same "Sorry, there were no results found with the criteria you selected." message.
Any help is appreciated.
Board URL, if needed: http://board404.c6h12o6.co.uk/index.php
Here's an example. When I search for a full IP address (I blacked out some of the numbers and part of the member's username for privacy), I get a result like this:
That's good, but let's say I just want to search for any members whose IP's match just the first two numbers, 66.190.* -- in this case, it doesn't find any results, even though, because the asterisk should function as a wildcard, it should return at least the one member it found before. Instead, it returns no results:
As far as I'm aware, this has been a problem ever since we began using the board, so I don't think it's a bad plugin causing it. I'm also not sure if this problem is specific to our board or if it's a MyBB glitch in general. I've searched and the only relevant result I found was this thread, which is identical to the problem we're having, but that applies to an old version of MyBB.
I should point out that this problem occurs regardless of the number of asterisks used. For example, 66.90.*.*, 66.90.*, and 66.90 all return the same "Sorry, there were no results found with the criteria you selected." message.
Any help is appreciated.

Board URL, if needed: http://board404.c6h12o6.co.uk/index.php