dopetalk does not endorse any advertised product nor does it accept any liability for it's use or misuse

This website has run out of funding so feel free to contribute if you can afford it (see footer)

Author Topic: Expanding & Collapsing Spoiler Tag  (Read 800 times)

Offline Chip (OP)

  • Server Admin
  • Hero Member
  • *****
  • Administrator
  • *****
  • Join Date: Dec 2014
  • Location: Australia
  • Posts: 6493
  • Reputation Power: 0
  • Chip has hidden their reputation power
  • Gender: Male
  • Last Login:Today at 05:43:23 AM
  • Deeply Confused Learner
  • Profession: IT Engineer
Expanding & Collapsing Spoiler Tag
« on: August 02, 2017, 08:56:39 PM »

This modification adds a BBCode to the forum that allows the post author to hide a spoiler in the post, which is clickable to display it to the user.

This BBCode takes the forms:

Code: [Select]
[nobbc][spoiler {params}]{content}[/spoiler][/nobbc]
[nobbc][spoiler=Some Text]{content goes here}[/spoiler][/nobbc]

The {params} section may be any of the following parameters:
o text - Replaces default "Spoiler" text in the header.
o quote - Text that follows the "Spoiler" text in the header.  Must be in quotes.
o show - Replaces default "Show" text in the header.
o hide - Replaces default "Hide" text in the header.
o guests - Flag to show spoiler to guests or not.  May be n, no, false, y, yes, or true.

Note that the form (#3) with the equal sign does not parse other block-level bbcode tags inside the spoiler.  Empty form or form with parameters does not have this restriction.

Admin Settings

This BBCode may be disabled by going into the Admin => Forum => Posts and Topics => Bulletin Board Code and unchecking the bbcodes you don't want to use.  You may also be uninstall this mod in order to disable it.
I do not condone or support any illegal activities. All information is for theoretical discussion and wonder.
All activities discussed are considered fictional and hypothetical. Information of all discussion has been derived from online research and in the spirit of personal Freedom.

Offline Anti-hero

  • Next Level Idiot
  • Sr. Member
  • ****
  • SA_Chat+
  • **
  • Join Date: May 2015
  • Location:
  • Posts: 886
  • Reputation Power: 30
  • Anti-hero is working their way up.Anti-hero is working their way up.Anti-hero is working their way up.
  • Last Login:February 10, 2019, 04:20:41 AM
  • Can't get high or you will die or you'll die
    • Head don't give a shit
Re: Expanding & Collapsing Spoiler Tag
« Reply #1 on: August 04, 2017, 12:51:29 AM »
Thought you were talking about the economy
Carry on
Scared to death
No reason why
Do one another
To get me by
Think about the things I said
Read the page it's cold and dead


dopetalk does not endorse any advertised product nor does it accept any liability for it's use or misuse


In no event will d&u or any person involved in creating, producing, or distributing site information be liable for any direct, indirect, incidental, punitive, special or consequential damages arising out of the use of or inability to use d&u. You agree to indemnify and hold harmless d&u, its domain founders, sponsors, maintainers, server administrators, volunteers and contributors from and against all liability, claims, damages, costs and expenses, including legal fees, that arise directly or indirectly from the use of any part of the d&u site.


Founded December 2014
SimplePortal 2.3.6 © 2008-2014, SimplePortal