tourmeister
Active member
So I really like the spoiler BBcode tag, as do my users. The problem is, I am finding useful for other things that aren't really spoiler related. It is great just for keeping things from loading until users want to see the hidden content. For instance, I use it with embedded Google maps like this,
[spoiler="Click here to see the map"][GMAP]!1m42!1m8!1m3!1d438983.5813412688!2d-97.7278369!3d30.7307894!3m2!1i1024!2i768!4f13.1!4m31!3e0!4m5!1s0x8644d6ba3d7bbd5d%3A0x9d86338f7c3da107!2sCelebration+Church%2C+601+Westinghouse+Rd%2C+Georgetown%2C+TX+78626!3m2!1d30.5850057!2d-97.6862048!4m3!3m2!1d30.639070699999998!2d-97.58088889999999!4m3!3m2!1d30.6751899!2d-97.4731218!4m3!3m2!1d30.7425452!2d-97.4768905!4m3!3m2!1d30.7968661!2d-97.4334683!4m3!3m2!1d30.964863299999998!2d-97.0941217!4m3!3m2!1d31.0449739!2d-97.16507759999999!5e0!3m2!1sen!2sus!4v1547090798759[/GMAP][/spoiler]
(The GMAP is a custom BBCode for embedding Google maps. I found the info on how to do that here on the site)
This way users can load the page to read the message without necessarily loading the map every single time they come back to the thread.
I would basically like to have a second BBcode tag that works exactly like the spoiler tag, but without the word "spoiler" on it. I still want to be able to add my own text to it.
Is there a way to copy the spoiler tag and then edit it via custom BBcode editing?
[spoiler="Click here to see the map"][GMAP]!1m42!1m8!1m3!1d438983.5813412688!2d-97.7278369!3d30.7307894!3m2!1i1024!2i768!4f13.1!4m31!3e0!4m5!1s0x8644d6ba3d7bbd5d%3A0x9d86338f7c3da107!2sCelebration+Church%2C+601+Westinghouse+Rd%2C+Georgetown%2C+TX+78626!3m2!1d30.5850057!2d-97.6862048!4m3!3m2!1d30.639070699999998!2d-97.58088889999999!4m3!3m2!1d30.6751899!2d-97.4731218!4m3!3m2!1d30.7425452!2d-97.4768905!4m3!3m2!1d30.7968661!2d-97.4334683!4m3!3m2!1d30.964863299999998!2d-97.0941217!4m3!3m2!1d31.0449739!2d-97.16507759999999!5e0!3m2!1sen!2sus!4v1547090798759[/GMAP][/spoiler]
(The GMAP is a custom BBCode for embedding Google maps. I found the info on how to do that here on the site)
This way users can load the page to read the message without necessarily loading the map every single time they come back to the thread.
I would basically like to have a second BBcode tag that works exactly like the spoiler tag, but without the word "spoiler" on it. I still want to be able to add my own text to it.
Is there a way to copy the spoiler tag and then edit it via custom BBcode editing?