![]() |
[BBCODE] border
1 Attachment(s)
First post; not sure about the format:
I searched for a decent BBcode in which gave me a border around the text.. just a simple border; nothing fancy.. nothing that is pure trash and confusing the user, just something to make the post purty.. well after a while and some help in the right direction from Lynne Title: Border BB Code Tag Name: Border Replacement: <div style="border: 2px ridge #F4E673; padding: 5px;">{option}<hr>{param}</div> Example: [border= title or nothing if you want] body goes here; doesnt affect the layout [/border] Description: This gives the user a golden border around the text which also allows for a header above the section Use Option: Yes Disable if tag not used: Yes Rest of them: no Demo: Here Extra info: if i get any requests to make a button image for it; ill do it- but i dont have it readily available on this computer. Your Support I dont care how you do it; just dont say its your when you know you got it from here =) |
Can you add a screenshot? The site(demo) is loading really slow
thx :) |
*tagged.
Good effort, decent BB Code! |
screenshot added; sorry about the forums loading a tad slow; still refining them
|
Thank you! Played with it a little works good.
|
Good Job! I'll look at using this :)
Tagged |
ty =)
|
Thanks installed.
|
Well, it allmost works.
If I put no title (e.g.[border]bla,bla[/border]), it does not work. There must be at least = sign (e.g.[border=]bla,bla[/border]) Anyway, thanks for it, installed |
Quote:
|
Glad y'all are enjoying it; and yes there has to be at least a = sign, i usually just add a space after it just to be sure.
|
I did it like this:
Code:
<div style="border: 2px ridge #CC0000; padding: 5px;">{param}</div> then all you need is: Code:
[border]text or whatever[/border] |
Installed, although I changed the style in the tag to a class and put the CSS bit in the stylesheet.
|
1 Attachment(s)
nice installed,,
PS "use option" should be No.. then you dont have to add = to [border] thats only if you want to add special features maybe let the user control border color. then you would use this code Code:
<div style="border: 2px ridge #{option}; padding: 5px;">{param}</div> Code:
[border=ff0000] this makes a red box[/border] Attachment 107727 |
All times are GMT. The time now is 11:11 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:
|