November 27, 2021, 12:28:58 AM

News:

SMF 2.1 RC4 has been released! Try it out and help us test! :) Read more.


Additional Info
Type
Package ID
azatoth:spoiler
First Created
September 19, 2005, 04:41:46 PM
Last Updated
June 18, 2011, 11:06:15 PM

Spoiler Tag v0.7.2a

Spoiler tag, adds a bbc-tag to mark a text as a spoiler.
Compatible With 1.1.14, 2.0
Latest version v0.7.2a
Downloads 68,707
Reviews 0
Rating 0/5
Subscribers 128
License (View License)
Spoiler Tag is a tag for including spoilers in threads.

Note: Permission settings were removed in version 0.7 and above due to lack of use, confusion about enabling, and maintainability concerns.

Version Support List

  • Version 0.1.7 only supports SMF 1.1 Beta 3
  • Version 0.2.3 only supports SMF 1.1 RC1
  • Version 0.2.4 only supports SMF 1.1 RC2
  • Version 0.2.4 and 0.2.5 only support SMF 1.1 RC2
  • Version 0.2.6 and 0.2.6.1 only support SMF 1.1 RC3
  • Version 0.3.0 only supports SMF 1.1
  • Version 0.3.1 only supports SMF 1.1.1
  • Version 0.3.2 only supports SMF 1.1.2
  • Version 0.3.3 and 0.3.3a supports SMF 1.1.2 and newer
  • Version 0.6 supports SMF 1.1.2 and newer and SMF 2.0
  • Version 0.7 supports the SMF 1.1 series and SMF 2.0 RC2
  • Version 0.7.1 supports the SMF 1.1 series and SMF 2.0 RC2
  • Version 0.7.2 supports the SMF 1.1 series and SMF 2.0 RC3
  • Version 0.7.2a supports the SMF 1.1 series and SMF 2.0

Note: Version 0.5 only supports SMF 2.0 beta. Version 0.6 supports 1.1 and 2.0.


Description
There are three different types of spoilers to use, which can be define per theme. If a theme have not defined a type the default one will be used.

The types are:
Default a fieldset which reveal the text when the mouse is hovering over.


The second type is a link that reveal the text when clicked upon, and hide it again when clicked again.


The third is simlar to the second one, but the link is replaced by a button.


The type is set in Current Theme in Admin Panel:


Usage

Spoilers are wrapped by a tag called "spoiler":
[spoiler]spoiled text :)[/spoiler]


You can also set a custom title for the spoiler in the tag using the following style:
[spoiler=Custom Title]spoiled text :)[/spoiler]

It will appear as so:
Manual installation info
You have to register or login to be able to leave a review
There are currently no reviews on this customization
Advertisement: