The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#3
|
|||
|
|||
![]()
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> |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|