Actually Nicholas, your question was.... "What are some of the custom BB codes you add to your forum (e.g. spoiler, strike through, etc.)?" ....therefore, you are asking which ones someone has added to their forum. I'm asking which ones are the most useful and most common. Two different questions!
Here are some ones that I've found on vB.org...let's make a list and see which ones we should consider on our sites BB CODES TABLES BB CODE BB Code [table] - vBulletin.org Forum YOUTUBE BB CODE YouTube BB Code with HQ and HD support (W3C-compliant!) - vBulletin.org Forum "YOU" REPLACEMENT [BB Code] You - vBulletin.org Forum SPOILER BB CODE (JQUERY) Spoiler BB Code - jQuery Smooth Scrolling - vBulletin.org Forum OVERLINE CODE [BB Code] Overline - vBulletin.org Forum WOODEN SIGN BB CODE [BB Code] Sign - vBulletin.org Forum ROLLERCOASTER TEXT BB CODE [BB Code] Rollercoaster - vBulletin.org Forum STAFF NOTICE BB CODE Staff Notice BBCODE - vBulletin.org Forum HIDE INFO BB CODE http://www.vbulletin.org/forum/showthread.php?t=105160 "ME" REPLACEMENT CODE http://www.vbulletin.org/forum/showthread.php?t=209007 THINK BUBBLE BB CODE http://www.vbulletin.org/forum/showthread.php?t=207421 .
Youtube Dailymotion Justin.tv Megavideo spoil/expand Admin/Mod notice Shoutbox Ustream.tv AME and some more I think
Here's the replacement: Code: <div style="margin:20px; margin-top:5px"><div class="quotetitle"><input class="button2 btnlite" type="button" value="Show" style="text-align:center;width:100px;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 = 'Show'; }" /></div><div class="quotecontent"><div style="display: none;">{param}</div></div></div>
:lol: Sorry, my bad. AdminCP -> Custom BB Codes -> Add New BB Code Title: Expand BB Code Tag Name: expand Replacement: (Code above) [noparse]Example: [expand]text to expand here[/expand][/noparse] Description: Expand and collapse content within posts. Use Option: No - The rest of the options can be configured as you wish.
Strike-through, superscript, subscript. Are really the only general purpose ones that most sites need. Maybe horizontal rule but it tends to be abused. Others include things like cite, footnote, abbreviation, anchor, target, address, insert could come in handy depending on what you are doing. Anchor and target bbcodes are especially handy because if you create long articles in your forums, you can use them to create a table of contents similar to wikis. Cite and footnote can be used in technical documents. The others should be fairly self-explanatory. You could add individual BBCodes for different video sites but that is a pain to manage and a pain for your user's to get right. Just better to use a tool like AME to parse the URLs as they are found instead of standard BBCodes.
Nick, I must've missed something. I got this error message.... Code: [B]Fatal error[/B]: Cannot redeclare handle_bbcode_video() (previously declared in /home/avarona/domains/waltdisneyboards.com/public_html/includes/class_bbcode.php(2430) : eval()'d code:24) in [B]/home/avarona/domains/waltdisneyboards.com/public_html/includes/class_bbcode.php(2430) : eval()'d code[/B] on line [B]53[/B] Do the folks enjoy this one Peggy? I've used it in chat rooms, but never on the forums out there
That's odd... It's working perfectly fine for me here. I'll have to look in to it. In the meantime, you might find a different spoiler BB code on the org.
It's no rush. I was just kinda testin' it out on the site to see if we wanted to do some sort of trivia thing or something fun with it. So, I'll try it out later with one of the ones on the org.
It feels like I am always repeating myself but once again it really depends on what forum it is but most I atleast the spoiler tag or sometimes hide/show tag but thats the same thing. Don't really have any other exept maybe some fun bbcodes that I create myself.