MyBB Community Forums

Full Version: Custom MyCode
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
This Mycode I know worked on MyBB 1.4 but I cant manage to get it to work on 1.6 I dont see why?

This is the code:

Regular Expression:
\[mod\](.*?)\[/mod\] 

Replacement:
<style> .code{font-family: Verdana; color: #465584; background-color: #FAFCFE; border: 1px dotted #000; padding: 2px; width:98%; margin: 0px auto 0px auto; /*overflow: auto; height: 200px;*/} </style> <table width="90%" cellspacing="1" cellpadding="3" border="0" align="center"> <tr> <td><span class="smallfont"><strong><font color="#FF0000">Moderator Notice:</font></strong></span></td> </tr> <tr> <td class="code"><centre><img align="left" src="http://img257.imageshack.us/img257/3720/alertt1bn3.gif"></centre><font color="#FF0000">$1</font></td> <tr> </table>  

Any idea's why?
Just tested it with the built-in MyCode Tester and on a test board;
And it seems to work on MyBB 1.4.6 and probably on 1.6 too =/
I meant 1.4.6 sorry, Ive tested it and so have two other people and they cant seem to do it?

I've verified everything and cant see whats wrong?
i don't see anything wrong cause it works ?
[attachment=13856]
All I see when test on sandbox and on thread is

Actual Result:

[mod]hi[/mod]
Did you enable it ?
Okay redone and Now has worked in the sandbox that was on a demo of MyBB on the opencms site Im now going to try on mine.
Hmm when i do it on my own forum it doesnt work? I replicated exactly what i did on the demo on this site and you can do it yet me and 3 other people cant.. we are all on different hosts.