how would i do this:
[t]test[/t] would outputĀ
![[Image: gyOSjFL.png]](https://camo.mybb.com/c5e9e4cdfcae0bb9a87e1146786f4ef269d23174/687474703a2f2f692e696d6775722e636f6d2f67794f536a464c2e706e67)
cus i dont think php is allowed in mycodes
You could make it through an extra php file as image source.
MyCode:
\[t\](.*?)\[/t\]
Replacement:
<img src="MY_TEXT_TO_IMAGE.php?value={$1}" class="mycode_img" />
i have managed to do this through html and js but i have encountered a problem. it shows in test mode but not real posts.
I have resolved this issue thank you.