I tried it again, but it definitely doesn't work. I do have some hacks, but none of them include any modifications at all to the functions_newpost.php file. I tried putting your code ABOVE the "// update the thread if there are any conditions to update line", and even just to give it a shot, below that line. Same result both ways. Are you sure you cut and paste it here correctly? I'm not a php guru (by far) so if you had a little typo in there I might not notice it.
(and yes, I replaced "X" with the number I want to be the limit)
|