Jump to content

Can the [spoiler] tag be better?


Guest Anna_Hawkins

Recommended Posts

Well in my forum I have this spoiler MOD

================================================================================


==


Mod "Spoiler TAG" V 1.0.4 for Invision Power Board 2.1.x


================================================================================


==



Originally programmed by: primetime


Converted to IPB 2.0 by DarkWave


Converted to IPB 2.1 by Artakus


Big correction to IPB 2.1 by Thenab


Class_bbcode_core correction by Cybero

This acts like a quote tag except the content within won't be shown until you click "Click to show Spoiler - click again to hide..." and the content expand.

Sample (I changed the above message to "Hidden..."
spoilersam.gif

It is convenient and can be used to hide everything: big pictures, big signatures and etc.
So it has a lot of uses more tan just hide text that you want to have them shown instantly.

What happened with spoiler tag included in 2.2? Just hightlight text with black color.

CONTENT


Not collapse so it has no use to shorten long content. And, sorry, it looks ugly.

I can use this instead. (highlight to see )
Spoiler: "CONTENT"



If I use color:

CONTENT


No use with color.


If I put picture:

av-17455.png


Can't hide it.



It is no use at all. Furthermore if I use Spoiler tag by primetime is will cause conflict.

Sorry but I just disappoint with this code.



Some requests:
- Spoiler tag can collapse and expand
- Spoiler tag can nests
like the Quote tag


- Spoiler tag can be inserted with everythings member can normaly post: all tags, links, emoticons, pictures, swf pages (if allowed), etc.

Thank you.
Link to comment
Share on other sites

The spoiler tag was a simple custom bbcode - you are free to remove it, alter it, or replace it at will. :) It's a very common implementation at that, and we did not want to modify source files for a spoiler tag (which many people won't want on their site when final is released).

Link to comment
Share on other sites

A hide feature like ocportal has would be cool
Its just a little thing that hides the content of what over is in it by using bbcode.

[hide]what you want hidden[/hide]


Its a very nice feature. It works a lot like the collapse/close button on the right of the forums and stats.

Link to comment
Share on other sites

The spoiler tag was a simple custom bbcode - you are free to remove it, alter it, or replace it at will. :) It's a very common implementation at that, and we did not want to modify source files for a spoiler tag (which many people won't want on their site when final is released).



yes we know it can be easily removed, the thing we're trying to say is that the shipped spoiler tag doesn't match the class of the class of the code/quote representations.
Link to comment
Share on other sites

The spoiler tag was a simple custom bbcode - you are free to remove it, alter it, or replace it at will. :) It's a very common implementation at that, and we did not want to modify source files for a spoiler tag (which many people won't want on their site when final is released).


It could've been done a little bit better. Barely anyone goes to the "Help" page so why not just make it very simple?
Link to comment
Share on other sites

The spoiler tag was a simple custom bbcode - you are free to remove it, alter it, or replace it at will. :) It's a very common implementation at that, and we did not want to modify source files for a spoiler tag (which many people won't want on their site when final is released).



So how do we have it collaspe and have it say SPOILER and have a little drop down arrow like before? Is there a way we can do that? Or whats the coding we need to edit because I like that a lot better then the ugly black crap. :thumbsup:
Link to comment
Share on other sites

So how do we have it collaspe and have it say SPOILER and have a little drop down arrow like before? Is there a way we can do that? Or whats the coding we need to edit because I like that a lot better then the ugly black crap. :thumbsup:


Spoiler Replacement Here

Try it out, it's on the page. :P

So what you want to do is go into your custom BBCode in your ACP, and replace it with the code you download from that link. :D

I prefer without options, but some people like the option, so I put up both. :D
Link to comment
Share on other sites

  • 1 year later...

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...