2008-07-30, 07:44 PM
I started to type this today:
In the middle of that I decided to test the double whitespace issue with a post. Guess what I found. Min Message Length setting is broken in both 1.2.14 and 1.4 Beta 4. I have blank installs of both and neither works. Oddly though it seems to work here on Mybboard.
Here is my beta board:
http://beta.mybbcentral.com
If you want my phpinfo settings PM me. (PHP Version 5.2.5)
Not sure what is going on but it's odd.
OK...also checked a second host...same issue. I tried at mybbfans though and it works (same host as mybboard?).
IDIOT ME - Turns out as admin you don't have the min length. As a user account it works though.
So back to original bug then. You can override the limit with whitespace as shown here:
http://community.mybboard.net/thread-34420.html
lol at my bug report. I could have edited it but heck..it's funny imho.
EDIT: This will work if added to the my_strlen
Oh...and I also see that you can use ALT 0160 trick:
http://www.worldstart.com/tips/tips.php/1506
I made a test thread here with empty text.
Quote:Well..I know this isn't really a bug report and it's not really a suggestion either. Just something I noticed today where a bug was reported in one of my plugins (min title length). Seems you can use a double whitespace to override count of my_strlen which doesn't take into account those characters. IMHO that's a bit of a bug (yes minor) as mybb does remove double white space from most of it's posts and such.
In the middle of that I decided to test the double whitespace issue with a post. Guess what I found. Min Message Length setting is broken in both 1.2.14 and 1.4 Beta 4. I have blank installs of both and neither works. Oddly though it seems to work here on Mybboard.
Here is my beta board:
http://beta.mybbcentral.com
If you want my phpinfo settings PM me. (PHP Version 5.2.5)
Not sure what is going on but it's odd.
OK...also checked a second host...same issue. I tried at mybbfans though and it works (same host as mybboard?).
IDIOT ME - Turns out as admin you don't have the min length. As a user account it works though.
So back to original bug then. You can override the limit with whitespace as shown here:
http://community.mybboard.net/thread-34420.html
lol at my bug report. I could have edited it but heck..it's funny imho.
EDIT: This will work if added to the my_strlen
$str = preg_replace('/\s\s+/', ' ', $str);
Oh...and I also see that you can use ALT 0160 trick:
http://www.worldstart.com/tips/tips.php/1506
I made a test thread here with empty text.