Advertisement:

Author Topic: Spoilers  (Read 2210 times)

Offline Luigi master

  • Newbie
  • *
  • Posts: 8
Spoilers
« on: November 14, 2015, 08:19:45 PM »
A spoiler mod.
Syntax:
[spoiler]Hi![/spoiler]
Just a normal spoiler that says "Show content" when closed and "Hide content" When opened
[spoiler label=(input)]Hi![/spoiler] What you type in after label= is the spoiler name.
Just a normal spoiler that says "(input)" when closed and "(input)" When opened
[spoiler label=(input) openlabel=(input2)]Hi![/spoiler] What you type in after openlabel= is the spoiler name when opened.
Just a normal spoiler that says "(input)" when closed and "(input2)" When opened
So to do like an arrow thing:
[spoiler label=Chatlogs v openlabel=Chatlogs ^]No chatlogs for you![/spoiler]
Please do this!
Make it:
Free
2.0.11
Any user, even guests can use this

Offline Steve

  • Freak
  • Support Specialist
  • SMF Hero
  • *
  • Posts: 4,394
  • Gender: Male
  • I have not yet begun to procrastinate.
Re: Spoilers
« Reply #1 on: November 14, 2015, 08:33:07 PM »
Did you search the mod site at all? There are numerous spoiler mods.

http://custom.simplemachines.org/mods/index.php?action=search;basic_search=spoiler
Online Manual

Please do not PM me for support.

Offline Luigi master

  • Newbie
  • *
  • Posts: 8
Re: Spoilers
« Reply #2 on: November 15, 2015, 07:22:00 PM »
Did you search the mod site at all? There are numerous spoiler mods.

http://custom.simplemachines.org/mods/index.php?action=search;basic_search=spoiler
Yes I did, but I need one with the 2 labels.

Offline br360

  • Support Specialist
  • SMF Hero
  • *
  • Posts: 2,233
    • GenXcommunity
Re: Spoilers
« Reply #3 on: November 15, 2015, 07:38:52 PM »
The two labels meaning show and hide? Wouldn't this mod do exactly what you are looking for? http://custom.simplemachines.org/mods/index.php?mod=3981

Offline dougiefresh

  • SMF Hero
  • ******
  • Posts: 2,729
  • Mod King
    • XPtsp.com Community
Re: Spoilers
« Reply #4 on: November 16, 2015, 05:33:18 PM »
I can add that functionality to my spoiler mod (http://custom.simplemachines.org/mods/index.php?mod=3981)

Offline dougiefresh

  • SMF Hero
  • ******
  • Posts: 2,729
  • Mod King
    • XPtsp.com Community
Re: Spoilers
« Reply #5 on: November 18, 2015, 06:38:59 PM »
@Luigi master: Version 2.1 of the Expandable Spoiler BBCode (mentioned in last two posts) has two new parameters: hide and show.  If they are not specified, the default text is used.

Hope this helps you!

Offline Luigi master

  • Newbie
  • *
  • Posts: 8
Re: Spoilers
« Reply #6 on: November 27, 2015, 06:35:52 PM »
@Luigi master: Version 2.1 of the Expandable Spoiler BBCode (mentioned in last two posts) has two new parameters: hide and show.  If they are not specified, the default text is used.

Hope this helps you!
Thanks! Its funny how your mod is the one I was using before...

Offline dougiefresh

  • SMF Hero
  • ******
  • Posts: 2,729
  • Mod King
    • XPtsp.com Community
Re: Spoilers
« Reply #7 on: November 29, 2015, 02:40:46 PM »
LOL!  That's cool!  Anytime you want to request a feature in my mods, just put the request in the support thread for that mod.....