![]() |
scratch here and frame bbcodes / plus strike, anchor and goanchor
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"> 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"> 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"> 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 this 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. |
funny hack.. good one !
|
Very cool..hehe..:)
|
nice one! hehe thanks.
|
Simple and nice, well done!
|
*bump* new ones
glad you liked it :) |
Will we be seeing anymore bbcodes from you???
If you release more then i could design the buttons for you so people can have them in there WSIWYG editor. |
these are cool, but they do not fit the definiton of a hack or even a mini-mod. This should probably be moved to "General Modification Discussion"
|
Quote:
yoyo, I didn't know where to post this, a moderator can move it anywhere. |
A bbcodes discussion forum could be useful. I thought there wasnt many topics on bbcodes, but I found a couple in the "general modification discussions" one. Gonna suggest they create one in the suggestions forum.
|
All times are GMT. The time now is 08:39 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|