MyBB Community Forums

Full Version: DipNOT MyCode
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Create a new Custom MyCode inside Admin CP.

Regular Expression:
\[dipnot\](.*?)\[/dipnot\]
Replacement:
<fieldset style="margin: 2px auto; padding: 2px; width: 90%;"><legend><font color="#CC3300">DipNOT</font></legend>$1</fieldset></div>
Code:
[dipnot]TextHere[/dipnot]

EXTRA
Add Button:
Upload to images/codebuttons , this image: [Image: dipnot.gif]

Then, open jcripts/editor.js, Find:
this.insertStandardButton(elements, "php", "images/codebuttons/php.gif", "php", "", this.options.lang.title_php);
Add to On:
this.insertStandardButton(elements, "dipnot", "images/codebuttons/dipnot.gif", "dipnot", "", this.options.lang.title_dipnot);
Okey all...

[Image: 159yy2.jpg]
thanks aorgun
What exactly is "DipNOT"???
Hmmm Smile
You know to note MyCode Wink
and wot is it for/do???
I think its a Turkish website
DipNOT i think is just a box which you can put text it like it shows in the first post
It is text in a titled field set.....
I understand now...

If you want to make the "DipNot" text customisable make these changes:

Regular Expression:
\[dipnot=(.*?)\](.*?)\[/dipnot\]
Replacement:
<fieldset style="margin: 2px auto; padding: 2px; width: 90%;"><legend><font color="#CC3300">$1</font></legend>$2</fieldset></div>
Code:
[dipnot=TitleHere]TextHere[/dipnot]
arashpour Wrote:I think its a Turkish website
lol

Jag100 Wrote:DipNOT i think is just a box which you can put text it like it shows in the first post
Maybe, man. But its better to your idea Wink
Pages: 1 2