Time code format and words not accepted (General)

by transac, Tuesday, April 22, 2008, 18:13 (4974 days ago)

Hi all,

Does any body know how to change the 24 hour format in lang file to 12 hour format ? I changed from %H:%M to %h:%M but it turns to month and minute.

Second question is in the Spam Protection/Not Accepted Words, some words will be blocked if you add another character after that. For example, I set the word LON not accepted in Mlf then if i post the words LONG or LON they will not be accepted, but the word LO is ok. Is this the bug or any body know the way to solve that problem ?

I am using Mlf 2.0.26 beta.

Thank you for any answer.

Avatar

Time code format and words not accepted

by xoan, Wednesday, April 23, 2008, 00:16 (4974 days ago) @ transac

Hi all,

Does any body know how to change the 24 hour format in lang file to 12 hour format ? I changed from %H:%M to %h:%M but it turns to month and minute.

Try with %I:%M %p or simply %r (check http://php.net/strftime or `date' manpage)

Second question is in the Spam Protection/Not Accepted Words, some words will be blocked if you add another character after that. For example, I set the word LON not accepted in Mlf then if i post the words LONG or LON they will not be accepted, but the word LO is ok. Is this the bug or any body know the way to solve that problem ?

I don't use spam protection, but if it works as you say, seems that it's a bug.

Time code format and words not accepted

by transac, Wednesday, April 23, 2008, 03:25 (4974 days ago) @ xoan

Try with %I:%M %p or simply %r (check http://php.net/strftime or `date' manpage)

Thanks xoan for showing me this replacement code. It works. (I checked http://php.net before asked question but didn't see the link you show. Stupid me):lol2:

I don't use spam protection, but if it works as you say, seems that it's a bug.

I hope someone can fix this bug.

Time code format and words not accepted

by Ehab @, Wednesday, April 23, 2008, 00:54 (4974 days ago) @ transac

Is it a good forum software

Time code format and words not accepted

by transac, Wednesday, April 23, 2008, 03:27 (4973 days ago) @ Ehab

Yes, I love this Mlf very much. Thanks to developer(s)

RSS Feed of thread

powered by my little forum