2014-12-18, 04:37 AM
Here is my code so far:
Here is what I need to do:
1. Make the MyBB Error Message Template to appear, with my own writing.
But I don't want to echo this, or it will just echo text at the top of the page. How would I make the MyBB Error Message Template to appear, where it usually appears? The light orange/yellow one.
2. Block the user from clicking the Post Button (obviously), and to show them this error.
How would I do this?
if(isset($post['message'])) {
if ($post['message'] == 'test') {
echo 'Error Message Template with my own custom writing';
}
}
Here is what I need to do:
1. Make the MyBB Error Message Template to appear, with my own writing.
But I don't want to echo this, or it will just echo text at the top of the page. How would I make the MyBB Error Message Template to appear, where it usually appears? The light orange/yellow one.
2. Block the user from clicking the Post Button (obviously), and to show them this error.
How would I do this?