Thanks! But how do I let it know not to post the original message then my message (with replacements) but only post the replacement message?
Here is my main section of the code for the product:
Code:
<plugins>
<plugin active="1" executionorder="5">
<title>Math</title>
<hookname>newpost_process</hookname>
<phpcode><![CDATA[if (THIS_SCRIPT == "index" and $vbulletin->options['math_onoff']) {
$find = array("infinty", "pi");
$replace = array("∞", "π");
$post['message'] = str_replace($find, $replace, $post['message'];
}]]></phpcode>
</plugin>
</plugins>