custom bbcode how to show icon image on default theme

Get help developing custom BBCodes or request one.
Post Reply
User avatar
raykai
Registered User
Posts: 90
Joined: Tue Apr 09, 2013 5:32 am

custom bbcode how to show icon image on default theme

Post by raykai »

Hi,
I added some custom bbcode. but now it's only showing the name on the editor buttons eg: align=

how can I add an image instead of the text in the main theme editor?
missing image.JPG
User avatar
Mick
Support Team Member
Support Team Member
Posts: 26456
Joined: Fri Aug 29, 2008 9:49 am

Re: custom bbcode how to show icon image on default theme

Post by Mick »

Can you post the code for your align= BBCode please?
  • "The more connected we get the more alone we become" - Kyle Broflovski©
  • "The good news is hell is just the product of a morbid human imagination.
    The bad news is, whatever humans can imagine, they can usually create.
    " - Harmony Cobel
User avatar
raykai
Registered User
Posts: 90
Joined: Tue Apr 09, 2013 5:32 am

Re: custom bbcode how to show icon image on default theme

Post by raykai »

Mick wrote: Tue Sep 05, 2017 8:33 am Can you post the code for your align= BBCode please?
BBCode usage:

Code: Select all

[align={IDENTIFIER}]{TEXT}[/align]
HTML replacement:

Code: Select all

<div align="{IDENTIFIER}">{TEXT}</div>

my youtube one is :

BBCode usage:

Code: Select all

[youtube]{SIMPLETEXT}[/youtube]
HTML replacement:

Code: Select all

<iframe width="560" height="315" src="//www.youtube.com/embed/{SIMPLETEXT}?html5=1" frameborder="0" allowfullscreen></iframe>
User avatar
raykai
Registered User
Posts: 90
Joined: Tue Apr 09, 2013 5:32 am

Re: custom bbcode how to show icon image on default theme

Post by raykai »

bump
User avatar
Mick
Support Team Member
Support Team Member
Posts: 26456
Joined: Fri Aug 29, 2008 9:49 am

Re: custom bbcode how to show icon image on default theme

Post by Mick »

i suggest you make an extension request.
  • "The more connected we get the more alone we become" - Kyle Broflovski©
  • "The good news is hell is just the product of a morbid human imagination.
    The bad news is, whatever humans can imagine, they can usually create.
    " - Harmony Cobel
Post Reply

Return to “Custom BBCode Development and Requests”