Site in read-only mode
This site is now read-only following the release of MyBB 1.8 and the new mods site.
If you are looking for MyBB 1.8 mods please click here to visit the new mods site.
You can continue to download submissions for MyBB 1.6 and earlier here, however new submissions will only be accepted via the new mods site.
Spoiler MyCode
This adds a black box, and the text is also black, so it's just a black box. But, when you roll your mouse over the black box, the text turns white, thus revealing the spoiler.
This adds a black box, and the text is also black, so it's just a black
box. But, when you roll your mouse over the black box, the text turns
white, thus revealing the spoiler.
Here's the MyCode:
MyCode Title: Spoilers
MyCode Description: Makes a black box with text that is also black, so it's
a black box. When you roll your mouse over the box, the text turns white so
you can read it.
Regular Expression:
\[spoiler\](.*?)\[/spoiler\]
Replacement:
<span
style='color:#000000; background:#000000'
onmouseover="style.color='#ffffff'"
onmouseout="style.color='#000000'"><b>$1</b></span>
Activate MyCode? Yes
You're done!