• Welcome to Simple Machines Community Forum. Please login or sign up.

Spoiler Tag

Started by Anguz, November 13, 2004, 06:56:09 PM

Previous topic - Next topic

Anguz

Link to Mod

Requires FasterParsecode to be installed first.
http://mods.simplemachines.org/index.php?mod=39

This mod adds a new bbcode tag that'll hide what you wrap with it. It works with text and images. Clicking on the spoiler link, reveals the block. You can optionally add a text to the link too, ie: [spoiler=My Title]Spoiler goes here[/spoiler].

This tag can also be used for content that not everyone may want to see, like a nasty picture, for example. I thought of naming it [hide], but since many already have a spoiler tag, I decided I'd leave it at that for backwards compatibility.

Copyright 2004 by Cristian Lavaque. http://anguz.net
Cristián Lávaque http://cristianlavaque.com

codenaught

Very nice! Just what I wanted. Great way of presenting it too!

Thank you.  :)
Dev Consultant
Former SMF Doc Coordinator

Anguz

Quote from: akabugeyes on November 13, 2004, 07:14:20 PM
Very nice! Just what I wanted. Great way of presenting it too!

Thank you. :)

:)

Here's a couple of small screenshots: before/after clicking on the link.
Cristián Lávaque http://cristianlavaque.com

ANARCH¥

this look a look tag addon, but in fact, its not the hide tag....
how i can insert hide tag for my forum ?

Anguz

What does the hide tag you know do?
Cristián Lávaque http://cristianlavaque.com

ANARCH¥

November 14, 2004, 04:53:24 PM #5 Last Edit: November 15, 2004, 08:11:52 PM by ANARCH¥
well...first my english is bad..ok ? lol
the hide tag is: i post a link but if you can see the text posted, you have to answer for see the link inside the post. hmm, dont know if its clear. sry for that.
spoiler is very cool indeed. but i thought it was the hide code tag.

Gobalopper

This might be more what you are looking for. I did something similar for YaBB SE and your request sounds like that mod...

http://www.simplemachines.org/community/index.php?topic=19920

ANARCH¥

i want to use the spoiler code, but how can i create a button in the edit message for see it ?

Mad

I think adding a button to the post form would be a great idea myself. Not all of my member will remember how to use it and I would like to encourage them to use it when revealing stuff about the game.
>:( -Mad- >:(

Anguz

Quote from: Mad on December 03, 2004, 07:16:30 PM
I think adding a button to the post form would be a great idea myself. Not all of my member will remember how to use it and I would like to encourage them to use it when revealing stuff about the game.

True. I'll probably add buttons for my tags in future versions. Thanks for the suggestion. :)
Cristián Lávaque http://cristianlavaque.com

omgwtf

Does this work with 1.0?  :)

Kindred

Since Faster=Parse code has not been updated for v1.0, I'd say not...

Anguz,  are you going to update The FasterParse Code, Table form CSV and any of the tag mods for v1.0?
Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.<br /><br />"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Anguz

Quote from: omgwtf on December 30, 2004, 01:45:16 PM
Does this work with 1.0? :)

Not tested, so I haven't released it for 1.0 yet.

Quote from: kindred on December 30, 2004, 01:54:54 PM
Anguz, are you going to update The FasterParse Code, Table form CSV and any of the tag mods for v1.0?

Of course, those and more. :)
Cristián Lávaque http://cristianlavaque.com

GeeKay

Quote from: Anguz on December 30, 2004, 06:02:38 PMOf course, those and more. :)
... hope you find some spare time for that soon, can't wait for it  ;)

syn

very good mod, but "we" have waiting for a  button for us users (sorry for my english), directly tags is ok for me and my moderators, but for my members... an icon wil be the best

Anguz

January 08, 2005, 07:59:07 PM #15 Last Edit: January 08, 2005, 08:03:24 PM by Anguz
I will add buttons for my tag mods.
Cristián Lávaque http://cristianlavaque.com

Nyx

doesnt works on smf 1.0.1

Kindred

January 20, 2005, 08:44:47 AM #17 Last Edit: January 20, 2005, 09:52:08 AM by kindred
Nyx...

it requires the "faster parse code" mod to be installed first.
Since Anguz has not yet updated the faster parse code mod... this one will not install correctly yet, either.
Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.<br /><br />"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Nyx

January 20, 2005, 09:50:12 AM #18 Last Edit: January 20, 2005, 09:53:02 AM by Nyx
oh, thanx

*EDIT*

Install Actions for archive FasterParsecode104.tar.gz:
The package you are trying to download or install is either corrupt or not compatible with this version of SMF.

same spoiler tag  :(

Mad

Like Kindred said, it hasn't been updated for this version of SMF yet ;)
>:( -Mad- >:(

Advertisement: