A "Spoiler" can be a add-on if required but never in core.
A BBCode is useful.
The text is hidden until you click the button to show it.
Indeed, and on search, etc.And to ask for the pony - be great if the text in the spoiler tag was hidden in any notification emails that are generated
Why should a straightforward, 1-line replacement BBCode be an add-on?A "Spoiler" can be a add-on if required but never in core.
Why? Why shouldn't XenForo ship with 20-30 BBCodes if they result in no increase in overhead or decrease in performance? XenForo is about stepping back and looking at how people use forums. BBCodes are a great contributor to usability and they have great bang-for-the-buck.Doctor said:Not every forum needs a spoiler.
An add-on would be better rather than in core.
This event is scheduled for 2:00am GMT on September 14, 2010.
Your time zone was detected as Eastern Daylight Time.
If this time zone information is not correct, you may change it here.
Why? Why shouldn't XenForo ship with 20-30 BBCodes if they result in no increase in overhead or decrease in performance?
<div class="spoiler"><div class="quotetitle"><input type="button" value="{TEXT1}" style="font-size:11px;margin:0px;padding:0px;" onclick="if (this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display != '') { this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = ''; this.innerText = ''; this.value = 'Hide'; } else { this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = 'none'; this.innerText = ''; this.value = '{TEXT1}'; }" /></div><div class="quotecontent"><div style="display: none;">{TEXT2}</div></div></div>
Brogan's example, with dozens of extra buttons in the toolbar is not what I had in mind, and I can see how it would make for a cluttered toolbar.Even if they don't decrease performance, I wouldn't want my forum having 30 BBCodes installed when only say 10 were actually used. It just clutters the place up.
We use essential cookies to make this site work, and optional cookies to enhance your experience.