Spoiler BBCode

This is a simple Spoiler BB Code that supports Nesting
Version: 1.6
Autor: Sephiroth
Deutsche Übersetzung: noch nicht übersetzt
Hochgeladen: 28.06.2007
Letzte Aktualisierung: 06.08.2010
Support: https://www.mybb.de/forum/thread-19621.html (5 Beiträge)
Kompatibilität: MyBB 1.6.x
Bisherige Downloads: 661
I needed a simple way of having spoilers that supported hiding both text, and graphics.. However, I could never seem to find anything that fit that..

So I began digging through, and a site of mine, (Which currently runs IPB) has a pretty neat custom BBCode that I added, so I basically ported it to MyBB as a plugin. All you need to do is upload spoiler.php to your inc/plugins directory and activate it. Then the new BBCode will be available to you.

There are two versions for this. A simple

[spoiler]This is a spoiler[/spoiler]

will create something like in the attached images.

However,

[spoiler=CHEESE!]This is a spoiler[/spoiler]

Will make the word "Spoiler" in the header change to what you have written there. :)

Very useful. ;)

Update, since MyBB 1.4 changed quotes to <blockquote>, We need to add a few new CSS selectors to your theme's global.css file.

.spoiler_header {
    background: #FFF;
    border: 1px solid #CCC;
    padding: 4px;
    margin: 4px 0 0 0;
    color: #000;
}

.spoiler_body {
    background: FFF;
    padding: 4px;
    border: 1px solid #CCC;
    border-top: 0;
    color: #000;
    margin: 0 0 4px 0;
}


Quelle: Spoiler BBCode bei MyBB.com

Ähnliche Erweiterungen

[dogpile] BBCode von Dennis Tsang für MyBB 1.0x / 1.1x
This plugin allows the use of [dogpile]searchtext[/dogpile], which produces a link to the corresponding Dogpile web search.MyBB Version: 1.0 PR2 ...

667 Downloads
My Spoiler
My Spoiler 1.0 von c0kr3x für MyBB 1.4.x
Hide object inside the spoiler tag.

617 Downloads
Spoiler MyCode 1.1 von Deluxe Gamer für MyBB 1.4.x
Du kannst Text in einem [spoiler] Tag verstecken.

410 Downloads
Full Spoiler
Full Spoiler 1.0 von Mr.JunioR für MyBB 1.6.x
Useful code for spoiler in mybb (for images, text, video...)

670 Downloads
Spoiler Tag 1.0 von Michael für MyBB 1.0x / 1.1x
Dieses Plugin fügt einen Spoiler Tag ([spoiler][/spoiler]) ins Forum ein. Text zwischen diesen Tags wird erst sichtbar, wenn man ihn markiert.

230 Downloads