Seems there are a few bugs.
I made edit in the CMTV_Math_js template in post #51
Upgraded to the latest version, it overwrote the template instead of letting me merge the changes. Is it the expected behavior?
The advanced option for these BBcode are greyed out
Oh, it is not a bug but a plugin-design error. I didn't think about merging templates when upgrading. I will think of how to secure math configuration from plugin updates. I am sorry for any losses it caused.
Hello @CMTV I deeply appreciate this resource, you inspire me to create similar ones for other sciences like chemistry and physics. I don't know if it's my forum or a resource problem, but in the new XenForo editor the icon doesn't appear. Note that I am using version 2.2.0. However, the BBCodes do work perfectly because I tested them manually. I would dare to say that it is a template error, but I did not want to touch anything so as not to cause chaos. Can you please help me?
Hi there, I run a general use forum and I noticed that sometimes the math code is applied to posts where the user didn't intend it to. Am I missing a setting somewhere or is there a way to only enable this add-on to apply the code to a post if a user specifically clicks the toolbar button to do so? In other words, a way to only have the code apply when a user opts into it? Thanks in advance.
In addition to the custom delimiters, is it possible to have custom bbcodes that hook into this add on? For example, I have tons of old posts using TEX bbcodes. Not sure how to convert those to math or imath. For that matter I have a lot of people who were using MATH all caps and it's also not triggering this add on. Thanks!
Thank you very much for that wonderful addon.
Today i finally understood why i have some strange text in my xenforo.
It is because your addon recognize code and transforms it in places where it should not be.
For example in the admin area or in a new page, where i just print_r() an array while developing an addon.
You may want to reduce the hungry addon to work only in
post message
resource message
AMS
WIKI
maybe more
maybe some comments
The developer is no longer active so you gotta find a way to fix it yourself.
It injects a template modifcation. Here is the line it injects into the editor template.
<xf:js src="CMTV/Math/insert-math-button.js" min="1" addon="CMTV/Math" />