Convert code to work on bbcode

Get help developing custom BBCodes or request one.
Post Reply
User avatar
Mixlight - eStriKe
Registered User
Posts: 61
Joined: Fri Aug 10, 2018 8:47 am

Convert code to work on bbcode

Post by Mixlight - eStriKe »

can someone tell me how can i convert this :

Code: Select all

<button class="downfade" style="/* float: right; */margin-bottom: 1px;/* height: 26px; */background-color: #1a1818;border: 1px solid #af6002;box-shadow: 0px 0px 13px 0px #af6002;border-radius: 10px;" alt="" title=""></button>
In order to work as a bbcode ?

Thank you .
Last edited by HiFiKabin on Mon Jun 21, 2021 5:39 pm, edited 1 time in total.
Reason: Moved to Custom BBCode
User avatar
Sniper_E
Registered User
Posts: 1134
Joined: Wed May 09, 2007 12:18 am
Location: Shreveport, Louisiana
Name: Ed Humphrey
Contact:

Re: Convert code to work on bbcode

Post by Sniper_E »

BBCode usage

Code: Select all

[button={URL}]{TEXT}[/button]
HTML replacement

Code: Select all

<style> .downfade { /* float: right; */margin-bottom: 1px;/* height: 26px; */background-color: #1a1818;border: 1px solid #af6002;box-shadow: 0px 0px 13px 0px #af6002;border-radius: 10px; } </style>
<a class="downfade" href="{URL}" target="_blank" title="{URL}">{TEXT}</a>
Help line

Code: Select all

Button: [button=url]text[/button]
You can drop your .downfade class and use .button class for HTML replacement

Code: Select all

<a class="button" href="{URL}" target="_blank" title="{URL}">{TEXT}</a>
Image . -.. / .... ..- -- .--. .... .-. . -.--
No is NEVER an Option and NEVER is the only Option when it comes to Giving Up!

:!: Sniper_E Styles | phpbbmodders :!:
Post Reply

Return to “Custom BBCode Development and Requests”