Page 1 of 1

CPF Icons

Posted: Mon Mar 12, 2018 7:11 pm
by Tarantino
We can create CPF (Custom Profile Fields), but we can't select an icon for them.
And since phpBB uses font awesome library, it would be great if we could select on the CPF Creation the icon that will appear for that CPF before the CPF Title.

Re: CPF Icons

Posted: Tue Mar 13, 2018 2:39 am
by Sniper_E
3Di has put together an extention to allow bbcodes in profile. viewtopic.php?f=456&t=2451411
Then you could put smilies or images in your profile using bbcodes.

If you are determined to put fontawesome icons in your profile you could then create a bbcode for that.

Code: Select all

BBCode usage:     [fa]{SIMPLETEXT}[/fa]
HTML replacement: <i class="icon fa-{SIMPLETEXT} fa-fw" aria-hidden="true"></i>
Help line:        Fontawsome image: [fa]image_name[/fa]

Re: CPF Icons

Posted: Tue Mar 13, 2018 8:17 am
by AmigoJack
The boards supports Unicode, just use symbols:

Code: Select all

πŸ’£πŸ’¨πŸŽπŸ¦πŸ§πŸ•

Re: CPF Icons

Posted: Tue Mar 13, 2018 8:32 am
by david63
As I understand it, FontAwsome will probably be dropped in phpBB 3.3

Re: CPF Icons

Posted: Tue Mar 13, 2018 2:19 pm
by Lumpy Burgertushie
david63 wrote: ↑
Tue Mar 13, 2018 8:32 am
As I understand it, FontAwsome will probably be dropped in phpBB 3.3
to be replaced with what? something that is easier to work with I hope.


robert

Re: CPF Icons

Posted: Tue Mar 13, 2018 3:32 pm
by Mick
Lumpy Burgertushie wrote: ↑
Tue Mar 13, 2018 2:19 pm
something that is easier to work with I hope
I’m with you Robert, FA was a backward step IMHO. I much preferred our own graphics but, we mustn’t jump the gun, it could be a frying pan and fire situation.

Re: CPF Icons

Posted: Fri Mar 16, 2018 6:25 am
by KYPREO
The fact that in 2018 ICQ, Yahoo Messenger and AOL messenger (which as of 2017 no longer exists) are standard profile fields but there is no field or icon for Instagram (with c. 800 million users) is a very strange anomaly. I have added a custom profile field for Instagram but would need to dig into code to put in an icon.

Re: CPF Icons

Posted: Fri Mar 16, 2018 7:15 am
by Crizzo
Mick wrote: ↑
Tue Mar 13, 2018 3:32 pm
Lumpy Burgertushie wrote: ↑
Tue Mar 13, 2018 2:19 pm
something that is easier to work with I hope
I’m with you Robert, FA was a backward step IMHO. I much preferred our own graphics but, we mustn’t jump the gun, it could be a frying pan and fire situation.
Mhm, I like the FA thing. Just put a css class into a i element and that's it. This is easier for me than create one new icon.

Re: CPF Icons

Posted: Fri Mar 16, 2018 11:04 am
by RMcGirr83
david63 wrote: ↑
Tue Mar 13, 2018 8:32 am
As I understand it, FontAwsome will probably be dropped in phpBB 3.3
:roll: Well that will bork a few of my extensions. Put it in, take it out, piss people off....it's the phpBB way.

Re: CPF Icons

Posted: Sat Mar 17, 2018 10:51 am
by Scanialady
RMcGirr83 wrote: ↑
Fri Mar 16, 2018 11:04 am
david63 wrote: ↑
Tue Mar 13, 2018 8:32 am
As I understand it, FontAwsome will probably be dropped in phpBB 3.3
:roll: Well that will bork a few of my extensions. Put it in, take it out, piss people off....it's the phpBB way.
I agree. For what should it be changed now that it finally works in a simple way? I like FA - and I would like FA on CPF too

Re: CPF Icons

Posted: Sat Mar 17, 2018 1:38 pm
by GanstaZ
I haven't seen any info about removing FA. Based on the info, the new template system will use svg, font or png & that is all.

Re: CPF Icons

Posted: Sat Mar 17, 2018 7:14 pm
by Ibedejo
Should they "only" switch to FA 5 instead of a more radical cut they could possibly have all of this in a single "package" without annoying ext developers more than duely nescessary.

Re: CPF Icons

Posted: Mon Mar 19, 2018 7:51 pm
by Christian 2.0
The context around replacing FontAwesome with SVG appears to be here: http://area51.phpbb.com/phpBB/viewtopic ... 51#p295151

FWIW I'm in strong support of keeping FA.

Re: CPF Icons

Posted: Mon Mar 11, 2019 7:17 pm
by Hanakin
we are not dropping support for anything, but rather expanign it to allow for w/e type of icon you want be it SVG, PNG, Font. furthermore not limiting you to use one library over the other ie google material icons useage as well as custom ones.

https://tracker.phpbb.com/browse/PHPBB3-15538
https://github.com/phpbb/phpbb/pull/5545