Icon instead of text

Get help developing custom BBCodes or request one.
Post Reply
User avatar
Jesper Møller
Registered User
Posts: 239
Joined: Wed Jul 05, 2006 1:00 pm
Location: Copenhagen Denmark
Name: Jesper G.O. Møller
Contact:

Icon instead of text

Post by Jesper Møller » Mon Feb 11, 2019 2:34 am

When making a costume bbcode you give it a text in the acp that shows when write a topic / post ..(Like the C and S here)
Is it possible to ad an image instead ??

Perhaps instead of text i can write html to an Icon i would like to use ?
"Education is learning what you didn't even know you didn't know!"

"True knowledge exists in knowing that you know nothing."

User avatar
Lumpy Burgertushie
Registered User
Posts: 66719
Joined: Mon May 02, 2005 3:11 am
Contact:

Re: Icon instead of text

Post by Lumpy Burgertushie » Mon Feb 11, 2019 3:42 am

If I understand you correctly the answer is yes.

bbcode: [yourbbcodename[[/yourbbcodename]

html: <img src="https://www.phpbb.com/community/images/smilies/icon_e_smile.gif">

you name the bbcode whatever you wish.
you put the actual url to whatever icon/image you wish.


luck,
robert
I'm baaaaaccckkkk. still doing work on donation basis. PM your needs.

Premium phpBB 3.2 Styles by PlanetStyles.net

If a tree falls in the forest and nobody is there, does it make a sound?

User avatar
Jesper Møller
Registered User
Posts: 239
Joined: Wed Jul 05, 2006 1:00 pm
Location: Copenhagen Denmark
Name: Jesper G.O. Møller
Contact:

Re: Icon instead of text

Post by Jesper Møller » Mon Feb 11, 2019 12:41 pm

Thanks lumpy but i men those icons
here
Icon.png
that i want to make instead oft the text/letters
"Education is learning what you didn't even know you didn't know!"

"True knowledge exists in knowing that you know nothing."

User avatar
david63
Registered User
Posts: 16525
Joined: Thu Dec 19, 2002 8:08 am
Location: Lancashire, UK
Name: David Wood
Contact:

Re: Icon instead of text

Post by david63 » Mon Feb 11, 2019 1:01 pm

Take a look at the Advanced BBCode Box extension to see how it is done
David
Remember: You only know what you know and - you don't know what you don't know!
My CDB Contributions | How to install an extension
I will not be accepting translations for any of my extensions in Github - please post any translations in the appropriate topic.
No support requests via PM or email as they will be ignored

User avatar
Jesper Møller
Registered User
Posts: 239
Joined: Wed Jul 05, 2006 1:00 pm
Location: Copenhagen Denmark
Name: Jesper G.O. Møller
Contact:

Re: Icon instead of text

Post by Jesper Møller » Mon Feb 11, 2019 1:33 pm

Thanks David
"Education is learning what you didn't even know you didn't know!"

"True knowledge exists in knowing that you know nothing."

Post Reply

Return to “Custom BBCode Development and Requests”