scratch here and frame bbcodes / plus strike, anchor and goanchor
This modification is in the archives.
This is a pretty simple html for a bbcode to make text and background the same color, so that a user must highlight it to see.
Add a new bbcode from the admin cp: Title: Scratch here Tag: scratch Replacement: Code:
<fieldset class="fieldset"> <legend>Scratch here</legend> <table cellpadding="0" cellspacing="3" border="0"> <tr> <td> <div style="text-color: #000000;background-color: #000000">{param}</div> <td> <tr> </table> </fieldset> Description: Hidden text that must be selected to see. Use {option}: no Save it, and add another: Title: Scratch here Tag: scratch Replacement: Code:
<fieldset class="fieldset"> <legend>{option}</legend> <table cellpadding="0" cellspacing="3" border="0"> <tr> <td> <div style="text-color: #000000;background-color: #000000">{param}</div> <td> <tr> </table> </fieldset> Description: Hidden text that must be selected to see, with optional title. Use {option}: yes Now you have [scratch] and [scratch=frame title] to use anywhere in the post. The [frame] tag uses the same "fieldset" vB uses in alot of places, without the title. Its just some cool formatting members can use instead of quote. Title: Frame Tag: frame Replacement: Code:
<fieldset class="fieldset"> <table cellpadding="0" cellspacing="3" border="0"> <tr> <td> <div>{param}</div> <td> <tr> </table> </fieldset> Description: Wraps text into a quote-like frame. Use {option}: no They are pretty simple, hope you enjoy. =================================================== Came along a few other ideas, to not create another thread Ill put them with these. Strike is a line through the text. Got the idea from http://www.vbulletin.com/forum/index.php?t=142826 thread in vbulletin.com. Title: Strike Tag: strike Replacement: Code:
<div style="text-decoration: line-through">{param}</div> Description: Strikes the text. Use {option}: no Anchor is for leaving an href anchor somewhere in the post, that you can go using the [goanchor]anchor[/goanchor] code. Title: Anchor Tag: anchor Replacement: Code:
<a name="{param}"></a>< Description: Sets an anchor in the text. Use {option}: no You can choose the marker for the anchor: Title: Anchor Tag: anchor Replacement: Code:
<a name="{param}"></a>{option} Description: Sets an anchor in the text, using optional marker. Use {option}: yes The [goanchor] code: Title: Go to anchor Tag: goanchor Replacement: Code:
<a href="#{option}">{param}</a> Description: Moves the page to an anchor. Use {option}: yes They may seem a little weird, but are useful in some cases. Download No files for download. |
Similar Mods
BB Code Enhancements Anchor links | vBulletin 3.6 Add-ons |