# Is there a way to make spoiler tags its own button on posts like quotes are?

**URL:** <https://boards.straightdope.com/t/is-there-a-way-to-make-spoiler-tags-its-own-button-on-posts-like-quotes-are/626415>\
**Category:** About This Message Board\
**Created:** [June 27, 2012, 1:52am UTC](https://boards.straightdope.com/t/is-there-a-way-to-make-spoiler-tags-its-own-button-on-posts-like-quotes-are/626415 "2012-06-27T01:52:47Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sir\_T-Cups](https://avatars.discourse-cdn.com/v4/letter/s/ed655f/32.png) [@Sir\_T-Cups](https://boards.straightdope.com/u/Sir_T-Cups)\
**Post date:** [June 27, 2012, 1:52am UTC](https://boards.straightdope.com/t/is-there-a-way-to-make-spoiler-tags-its-own-button-on-posts-like-quotes-are/626415/1 "2012-06-27T01:52:47Z")

</div>

I, for the life of me, can never ever remember how the manual tags work. Beginning parentheses end parentheses, there’s a slash somewhere in there…

Basically what I’m curious about is that spoiler tags are probably the most important thing that need a manual write in…is there an easier way to make them spoilered that I don’t know about? Or is there a way for us to put in a spoler button like there is for a link or for quotes?

Thanks a bundle!

Cups

---

<div class="post-metadata">

**Author:** ![TubaDiva](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/tubadiva/32/507_2.png) [@TubaDiva](https://boards.straightdope.com/u/TubaDiva)\
**Post date:** [June 27, 2012, 2:25am UTC](https://boards.straightdope.com/t/is-there-a-way-to-make-spoiler-tags-its-own-button-on-posts-like-quotes-are/626415/2 "2012-06-27T02:25:55Z")

</div>

Probably not, sorry.

(Now watch some hotshot come in and tell us how.)

Where did I put that notepad?

---

<div class="post-metadata">

**Author:** ![Giraffe](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/giraffe/32/129_2.png) [@Giraffe](https://boards.straightdope.com/u/Giraffe)\
**Post date:** [June 27, 2012, 3:05am UTC](https://boards.straightdope.com/t/is-there-a-way-to-make-spoiler-tags-its-own-button-on-posts-like-quotes-are/626415/3 "2012-06-27T03:05:05Z")

</div>

\<hotshot\>

1. Go to the AdminCP / Custom BB Codes / BB Code Manager

2. Next to the spoiler tag, click the Edit button.

3. In the Button Image section, add a link to [this image](http://www.giraffeboards.com/images/editor/spoiler.gif). It’s a free image I got from the vBulletin site. (Please copy it to the SDMB server, rather than hotlinking it to mine.) Hit save.

Voila!

---

<div class="post-metadata">

**Author:** ![Sir\_T-Cups](https://avatars.discourse-cdn.com/v4/letter/s/ed655f/32.png) [@Sir\_T-Cups](https://boards.straightdope.com/u/Sir_T-Cups)\
**Post date:** [June 27, 2012, 4:16pm UTC](https://boards.straightdope.com/t/is-there-a-way-to-make-spoiler-tags-its-own-button-on-posts-like-quotes-are/626415/4 "2012-06-27T16:16:29Z")

</div>

Thanks for the info!

But I gotta be honest…I haven’t the faintest idea what you just said…

What’s an admin CP? I see my user CP but not my admin one?

Also…everything else

---

<div class="post-metadata">

**Author:** ![Giraffe](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/giraffe/32/129_2.png) [@Giraffe](https://boards.straightdope.com/u/Giraffe)\
**Post date:** [June 27, 2012, 4:33pm UTC](https://boards.straightdope.com/t/is-there-a-way-to-make-spoiler-tags-its-own-button-on-posts-like-quotes-are/626415/5 "2012-06-27T16:33:10Z")

</div>

Those were instructions for the staff here if they wanted to add such a button. There’s nothing a regular poster can do to change what buttons appear.

---

<div class="post-metadata">

**Author:** ![Sir\_T-Cups](https://avatars.discourse-cdn.com/v4/letter/s/ed655f/32.png) [@Sir\_T-Cups](https://boards.straightdope.com/u/Sir_T-Cups)\
**Post date:** [June 27, 2012, 6:31pm UTC](https://boards.straightdope.com/t/is-there-a-way-to-make-spoiler-tags-its-own-button-on-posts-like-quotes-are/626415/6 "2012-06-27T18:31:46Z")

</div>

Ohhhh ok.

Cool! Thanks for the info!

It’d be cool if they did it…

---

<div class="post-metadata">

**Author:** ![Munch](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/munch/32/5281_2.png) [@Munch](https://boards.straightdope.com/u/Munch)\
**Post date:** [June 27, 2012, 6:48pm UTC](https://boards.straightdope.com/t/is-there-a-way-to-make-spoiler-tags-its-own-button-on-posts-like-quotes-are/626415/7 "2012-06-27T18:48:20Z")

</div>

If you still get confused, you could just use the quote button, then replace the word “QUOTE” with “SPOILER” in each tag.

---

<div class="post-metadata">

**Author:** ![MrDibble](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/mrdibble/32/114_2.png) [@MrDibble](https://boards.straightdope.com/u/MrDibble)\
**Post date:** [June 28, 2012, 10:34am UTC](https://boards.straightdope.com/t/is-there-a-way-to-make-spoiler-tags-its-own-button-on-posts-like-quotes-are/626415/8 "2012-06-28T10:34:25Z")

</div>

Can I just chime in and say “Yes, _please_ do this!” I mean, there those nearly useless “Code” and “PHP” buttons in the toolbar, but nothing for the spoiler tag, which must get used at least a couple orders of magnitude more often.

---

<div class="post-metadata">

**Author:** ![cochrane](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/cochrane/32/10441_2.png) [@cochrane](https://boards.straightdope.com/u/cochrane)\
**Post date:** [June 28, 2012, 10:51am UTC](https://boards.straightdope.com/t/is-there-a-way-to-make-spoiler-tags-its-own-button-on-posts-like-quotes-are/626415/9 "2012-06-28T10:51:13Z")

</div>

Yeah, this would be great. I know how to do spoiler tags, but a button for spoilers would eliminate all that typing and simplify things.

---

<div class="post-metadata">

**Author:** ![Joey\_P](https://avatars.discourse-cdn.com/v4/letter/j/919ad9/32.png) [@Joey\_P](https://boards.straightdope.com/u/Joey_P)\
**Post date:** [June 28, 2012, 3:03pm UTC](https://boards.straightdope.com/t/is-there-a-way-to-make-spoiler-tags-its-own-button-on-posts-like-quotes-are/626415/10 "2012-06-28T15:03:20Z")

</div>

What does the PHP tag even do? I tried it. Made everything blue and green.  
I’m going to guess it something to do with coding in PHP (that’s a thing, right) and since it’s right next to the Code tag button (which, for us at least, does nothing but preserve formatting), that would make sense. On a board that discusses programming, it would be nice to be able to preserve your indents.

---

<div class="post-metadata">

**Author:** ![Inner\_Stickler](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/inner_stickler/32/318_2.png) [@Inner\_Stickler](https://boards.straightdope.com/u/Inner_Stickler)\
**Post date:** [June 28, 2012, 3:09pm UTC](https://boards.straightdope.com/t/is-there-a-way-to-make-spoiler-tags-its-own-button-on-posts-like-quotes-are/626415/11 "2012-06-28T15:09:52Z")

</div>

> [@Joey\_P](#):
>
> What does the PHP tag even do? I tried it. Made everything blue and green.

The blue and green (and red) are syntax highlighting for php code.

---

<div class="post-metadata">

**Author:** ![Sir\_T-Cups](https://avatars.discourse-cdn.com/v4/letter/s/ed655f/32.png) [@Sir\_T-Cups](https://boards.straightdope.com/u/Sir_T-Cups)\
**Post date:** [June 28, 2012, 3:28pm UTC](https://boards.straightdope.com/t/is-there-a-way-to-make-spoiler-tags-its-own-button-on-posts-like-quotes-are/626415/12 "2012-06-28T15:28:31Z")

</div>

I hit the PHP button and my desk started melting, I saw the most beautiful colors in the world, and I started eating my own flesh.  
Wait nevermind that was the PCP button…

---

<div class="post-metadata">

**Author:** ![AHunter3](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/ahunter3/32/368_2.png) [@AHunter3](https://boards.straightdope.com/u/AHunter3)\
**Post date:** [June 28, 2012, 3:47pm UTC](https://boards.straightdope.com/t/is-there-a-way-to-make-spoiler-tags-its-own-button-on-posts-like-quotes-are/626415/13 "2012-06-28T15:47:48Z")

</div>

You mean people actually click buttons to insert their codestrings instead of just typing them or using a macro program to do it with a hotkey?

😕

---

<div class="post-metadata">

**Author:** ![Inner\_Stickler](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/inner_stickler/32/318_2.png) [@Inner\_Stickler](https://boards.straightdope.com/u/Inner_Stickler)\
**Post date:** [June 28, 2012, 3:51pm UTC](https://boards.straightdope.com/t/is-there-a-way-to-make-spoiler-tags-its-own-button-on-posts-like-quotes-are/626415/14 "2012-06-28T15:51:21Z")

</div>

Yeah, the only tag I use with any regularity that I wouldn’t think to just code by hand is probably the [noparse][del][/del][/noparse] tags because everyone calls it strikethrough but the actual code looks like delete. Otherwise, they basically all make sense to me.

---

<div class="post-metadata">

**Author:** ![Drunky\_Smurf](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/drunky_smurf/32/449_2.png) [@Drunky\_Smurf](https://boards.straightdope.com/u/Drunky_Smurf)\
**Post date:** [June 28, 2012, 3:56pm UTC](https://boards.straightdope.com/t/is-there-a-way-to-make-spoiler-tags-its-own-button-on-posts-like-quotes-are/626415/15 "2012-06-28T15:56:44Z")

</div>

> [@](#):
>
> The blue and green (and red) are syntax highlighting for php code.

Holy crap. I went looking for the PHP code thingy and found there is a quote button that wraps quote tags around highlighted text.

Also now looking at the word “high” I deem it stupid. The g and h do not belong in that word.

---

<div class="post-metadata">

**Author:** ![Giraffe](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/giraffe/32/129_2.png) [@Giraffe](https://boards.straightdope.com/u/Giraffe)\
**Post date:** [June 28, 2012, 4:00pm UTC](https://boards.straightdope.com/t/is-there-a-way-to-make-spoiler-tags-its-own-button-on-posts-like-quotes-are/626415/16 "2012-06-28T16:00:39Z")

</div>

> [@Inner\_Stickler](#):
>
> Yeah, the only tag I use with any regularity that I wouldn’t think to just code by hand is probably the [noparse][del][/del][/noparse] tags because everyone calls it strikethrough but the actual code looks like delete. Otherwise, they basically all make sense to me.

Here’s a [button image](http://www.giraffeboards.com/images/editor/strike.gif) for that one as well. And I agree that both of these buttons would be much more useful than the php tag button, which is completely useless on most boards.

---

<div class="post-metadata">

**Author:** ![Inner\_Stickler](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/inner_stickler/32/318_2.png) [@Inner\_Stickler](https://boards.straightdope.com/u/Inner_Stickler)\
**Post date:** [June 28, 2012, 4:08pm UTC](https://boards.straightdope.com/t/is-there-a-way-to-make-spoiler-tags-its-own-button-on-posts-like-quotes-are/626415/17 "2012-06-28T16:08:07Z")

</div>

Even the image has an S! What lamebrain decided to make the code del instead of s and can I put a snake in his bed?

---

<div class="post-metadata">

**Author:** ![Giraffe](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/giraffe/32/129_2.png) [@Giraffe](https://boards.straightdope.com/u/Giraffe)\
**Post date:** [June 28, 2012, 4:21pm UTC](https://boards.straightdope.com/t/is-there-a-way-to-make-spoiler-tags-its-own-button-on-posts-like-quotes-are/626415/18 "2012-06-28T16:21:14Z")

</div>

> [@Inner\_Stickler](#):
>
> Even the image has an S! What lamebrain decided to make the code del instead of s and can I put a snake in his bed?

It’s the admins that choose the replacement code so…one of them and I guess so, if you have a snake and know where they live. But it’s pretty trivial to add a second custom code so that [noparse]Giraffe is awesome[/noparse] –\> [del]Giraffe is awesome[/del] so maybe you should instead put chocolate in their bed?

---

<div class="post-metadata">

**Author:** ![Inner\_Stickler](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/inner_stickler/32/318_2.png) [@Inner\_Stickler](https://boards.straightdope.com/u/Inner_Stickler)\
**Post date:** [June 28, 2012, 4:30pm UTC](https://boards.straightdope.com/t/is-there-a-way-to-make-spoiler-tags-its-own-button-on-posts-like-quotes-are/626415/19 "2012-06-28T16:30:12Z")

</div>

Hmmph. I assumed that based on the board’s history of not modding anything ever that when they turned on the strikethrough tag, they used whatever default vBulletin has. The one time I give them the benefit of the doubt.

---

<div class="post-metadata">

**Author:** ![srzss05](https://avatars.discourse-cdn.com/v4/letter/s/898d66/32.png) [@srzss05](https://boards.straightdope.com/u/srzss05)\
**Post date:** [June 28, 2012, 5:27pm UTC](https://boards.straightdope.com/t/is-there-a-way-to-make-spoiler-tags-its-own-button-on-posts-like-quotes-are/626415/20 "2012-06-28T17:27:42Z")

</div>

> [@Inner\_Stickler](#):
>
> Hmmph. I assumed that based on the board’s history of not modding anything ever that when they turned on the strikethrough tag, they used whatever default vBulletin has. The one time I give them the benefit of the doubt.

Since almost every other board uses “s” rather than “del”, that seems a strange assumption. The code in HTML is “s” as well.

[Next page](https://boards.straightdope.com/t/is-there-a-way-to-make-spoiler-tags-its-own-button-on-posts-like-quotes-are/626415.md?page=2)
