The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Parsing LaTeX, where to put the code
Hello,
I am trying to add Latex to my math forum. I need to call the code below so that when people post with [tex] [/tex] it will render mathmatical equations. include_once('/full_path_here_to/latexrender/latex.php'); $latextext=latex_content($latextext); I just don't know in what php file or where to place the code. Any help would be greatly appreciated. Thanks |
#2
|
||||
|
||||
Dont have my vb files handy but under your includes folder should be a file called functions_bbcode. I would probably enter it in there somewhere.
|
#3
|
|||
|
|||
Quote:
I tried putting it under the // end smilies but that didn't work. |
#4
|
|||
|
|||
somebody gave me this tip:
"it's fairly easy just to mod the functions_bbcode.php file using something like the [php] code as a template (you'll need to call a function from preg_replace)." but I don't know where to go from there... |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|