20.10.2010, 17:38
(Dieser Beitrag wurde zuletzt bearbeitet: 26.08.2014, 09:53 von MyBB.de Bot.)
Eine neue Erweiterung wurde veröffentlicht: Spoiler MyCode (No Preload)
Zitat:A simple but useful spoiler MyCode for MyBB.
Everything inside the spoiler tags arent shown before a button is clicked and is hidden after the button is clicked again.
Better yet is that everything inside the spoiler tags arent loaded before the button is clicked, and thus it will be perfect for showing off big images.
The spoiler tags style classes are "shead" and "sbody" so you can give them a style that matches your boards style by adding modifying your "global.css" file ("Admin CP>Templates & Style>Themes[theme you want to edit]>global.css").
Examples:
[spoiler]This isnt shown.[/spoiler]
It also allows users to customize the title of the spoiler:
[spoiler=Custom Title]This isnt shown.[/spoiler]
Some users prefer to write quotation marks around the title and that is fully supported as well:
[spoiler="Custom Title"]This isnt shown.[/spoiler]
Installation is simple due to the MyBB plugin system.
All you have to do is copy the file "spoiler.php" to the folder "inc\plugins" located in you MyBB directory.
Then go to your Administration Control Panel ("Admin CP>Configuration>Plugins>Spoiler MyCode") and activate it.