• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

XF 1.3 Custom Spoiler button text

#1
Right now the code:
Code:
[SPOILER="Click to Show"]Text[/SPOILER]
gives

Text



How do I remove the text "Spoiler:" and just make the button show "Click to Show"
also, editing the hover over text "Click to reveal or hide spoiler"

Please could someone guide me through creating a New Custom BB Code to do this?

Thanks!

p/s sorry if this has been asked before, I can't seem to find a solution for this.
 

sforum

Active member
#3
Right now the code:
Code:
[SPOILER="Click to Show"]Text[/SPOILER]
gives

Text



How do I remove the text "Spoiler:" and just make the button show "Click to Show"
also, editing the hover over text "Click to reveal or hide spoiler"

Please could someone guide me through creating a New Custom BB Code to do this?

Thanks!

p/s sorry if this has been asked before, I can't seem to find a solution for this.
I had never thought of doing this until you mentioned it, but now that you do it seems like a good idea - not all users will know what a "Spoiler" is!

I found it by looking in the following:

ACP > Appearance > Search Phrases

Then search for "spoiler" and there will be one simply called spoiler. You can edit this to show whatever text you like. :)

Edit: This is on xenforo 1.3.5