[3.2][3.3][DEV] Font Awesome BBCode

A place for Extension Authors to post and receive feedback on Extensions still in development. No Extensions within this forum should be used within a live environment!
Get Involved
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

IMPORTANT: Extensions Development rules

IMPORTANT FOR NEEDED EVENTS!!!
If you need an event for your extension please read this for the steps to follow to request the event(s)
Post Reply
User avatar
Sniper_E
Registered User
Posts: 1142
Joined: Wed May 09, 2007 12:18 am
Location: Shreveport, Louisiana
Name: Ed Humphrey
Contact:

[3.2][3.3][DEV] Font Awesome BBCode

Post by Sniper_E »

Extension Name: Font Awesome BBCode
Author: Sniper_E

Version: 1.0.8 - Font Awesome 4.7 - 718 awesome icons with popup selections
Extension Description: Adds Font Awesome BBCode to posting

Extension Download: fontawesome_1.0.8.zip (for phpBB 3.3.9)

Added new BBCode from mrgoldy viewtopic.php?p=15311596#p15311596 Let's try this.
[fa size=2x,3x,4x,5x color=blue,green,red,orange,bluegray,gray,lightgray,black,white,rainbow float=left,right rotate=90,180,270 flip=vertical,horizontal icon=wobble,fade,rotate,spin,blink,bounce,shake]icon_name[/fa]
Added extra icon effects like fa-spin: fa-wobble, fa-fade, fa-rotate, fa-blink, fa-bounce, fa-shake and float=left,right

Install:
  1. Download the latest release.
  2. Unzip contents from download, Copy files to server ext/sniper/fontawesome/ directory.
  3. Navigate in the ACP to Customise -> Enable Font 5 Awesome BBCode extension.
Update:
  1. Download the latest release.
  2. Disable Font Awesome 5 BBCode extension, Delete data, Delete old version files from the server.
  3. Unzip contents from download, Copy new version files to the server.
  4. Navigate in the ACP to Customise -> Enable Font Awesome 5 BBCode extension.
Uninstall:
  1. Navigate in the ACP to Customise -> Disable Font Awesome 5 BBCode extension.
  2. To permanently uninstall, Delete Data, Delete the /ext/sniper/fontawesome folder.
Enjoy! :D
Last edited by Sniper_E on Sat Mar 23, 2024 9:35 am, edited 41 times in total.
Image . -.. / .... ..- -- .--. .... .-. . -.--
No is NEVER an Option and NEVER is the only Option when it comes to Giving Up!

:!: Sniper_E Styles | phpbbmodders :!:
Holger
Registered User
Posts: 1883
Joined: Tue Mar 12, 2002 3:54 pm
Location: Hannover

Re: [DEV] Font Awesome BBCode

Post by Holger »

Nice!
For this you need to know the fontawesome-"code" for the Icon you want to use?
How about a popup with the available icons to click on?
User avatar
warmweer
Jr. Extension Validator
Posts: 11242
Joined: Fri Jul 04, 2003 6:34 am
Location: Van Allen Bel ... gium
Contact:

Re: [DEV] Font Awesome BBCode

Post by warmweer »

Holger wrote: Fri Aug 09, 2019 7:00 am Nice!
For this you need to know the fontawesome-"code" for the Icon you want to use?
How about a popup with the available icons to click on?
With over 1000 icons available in the free set, that's going to be quite a write-up.
Spelling is freeware, which means you can use it for free.
On the other hand, it is not open source, which means you cannot change it or publish it in a modified form.


Time flies like an arrow, but fruit flies like a banana.
Holger
Registered User
Posts: 1883
Joined: Tue Mar 12, 2002 3:54 pm
Location: Hannover

Re: [DEV] Font Awesome BBCode

Post by Holger »

Ah, you are right! Sorry!
Maybe include a link to an overview?
User avatar
Sniper_E
Registered User
Posts: 1142
Joined: Wed May 09, 2007 12:18 am
Location: Shreveport, Louisiana
Name: Ed Humphrey
Contact:

Re: [DEV] Font Awesome BBCode

Post by Sniper_E »

No you are right Holger. I don't know all of the name either so you need a popup or a dropdown with selections.

I searched for a list of names and found version 4.7.0 list online. It had 585 names listed so I added those.
Then created an array to list all the names which are coded to show as an icon link. There may be over 1,000 in version 5.

Click the fa-bbcode button and all of the awesome icon links show in a scroll box.
Image
Just about finished with the switches and it will be fully functional. I'll post a download soon.
Image . -.. / .... ..- -- .--. .... .-. . -.--
No is NEVER an Option and NEVER is the only Option when it comes to Giving Up!

:!: Sniper_E Styles | phpbbmodders :!:
User avatar
warmweer
Jr. Extension Validator
Posts: 11242
Joined: Fri Jul 04, 2003 6:34 am
Location: Van Allen Bel ... gium
Contact:

Re: [DEV] Font Awesome BBCode

Post by warmweer »

https://fontawesome.com/
1531 free icons

BTW I'm not against this extension, in fact I would welcome it (and use it).
Spelling is freeware, which means you can use it for free.
On the other hand, it is not open source, which means you cannot change it or publish it in a modified form.


Time flies like an arrow, but fruit flies like a banana.
User avatar
Sniper_E
Registered User
Posts: 1142
Joined: Wed May 09, 2007 12:18 am
Location: Shreveport, Louisiana
Name: Ed Humphrey
Contact:

Re: [DEV] Font Awesome BBCode

Post by Sniper_E »

This is the list I grabbed. http://astronautweb.co/snippet/font-awesome/

Will all of those 1531 free icons work in phpBB? Is Font-Awesome 4.7.0 even what phpBB uses?
We can work on building the list if they are all compatible with phpBB's setup.

Let's start with 585 icons for now. Fist post updated. Ready for testing...

Also... in your forum/assets/css/font-awesome.min.css

Code: Select all

/*!
 *  Font Awesome 4.7.0 by @davegandy - http://fontawesome.io - @fontawesome
 *  License - http://fontawesome.io/license (Font: SIL OFL 1.1, CSS: MIT License)
 */
We are limited to the icons listed in there.
phpBB would have to upgrade to an updated css file for awesome. Or we could. :thinking:
Image . -.. / .... ..- -- .--. .... .-. . -.--
No is NEVER an Option and NEVER is the only Option when it comes to Giving Up!

:!: Sniper_E Styles | phpbbmodders :!:
Holger
Registered User
Posts: 1883
Joined: Tue Mar 12, 2002 3:54 pm
Location: Hannover

Re: [DEV] Font Awesome BBCode

Post by Holger »

Very nice! Thank you!
User avatar
potku
Registered User
Posts: 980
Joined: Wed Dec 22, 2004 10:26 pm
Location: Tampere, Finland
Contact:

Re: [DEV] Font Awesome BBCode

Post by potku »

We are testing this out and will report here if needed. Thanks, sniper! :)

https://www.potku.net/forum/viewtopic.p ... 26#p937026
Potku.net

"Before I speak, I have something important to say."

- Groucho Marx
User avatar
dingus33
Registered User
Posts: 136
Joined: Fri Sep 29, 2017 11:11 am

Re: [DEV] Font Awesome BBCode

Post by dingus33 »

cool extension!

double check what i say here, because i could be wrong. this is just from memory, and they're just my impressions, but..

phpBB uses the final 4.x release of FA because the license changed in FA5.
FA4 had MIT license. in v5, the license is more restrictive and less FLOSS-aligned. phpBB may never move to FA5 for that reason.

also, although FA5 is a superset of FA4, many of the icon names have changed.

now that i think about it, you know what could be a nice extension? something that provides FA5 in phpBB. i'm not sure the cleanest way to do it. either via the shims or some other way. read here for more info https://fontawesome.com/how-to-use/on-t ... -version-4
User avatar
Sniper_E
Registered User
Posts: 1142
Joined: Wed May 09, 2007 12:18 am
Location: Shreveport, Louisiana
Name: Ed Humphrey
Contact:

Re: [DEV] Font Awesome BBCode

Post by Sniper_E »

Thanks dingus33, I read up on your link and a few links it lead to. That might be possible to setup.
I'll toy around with that idea and see if I can whip up something that will pull all of those FA5 icons in.

But with the different ways to write the FA5 icons in... It will be a task. Now warmweer point is valid.
warmweer wrote: Fri Aug 09, 2019 7:15 am With over 1000 icons available in the free set, that's going to be quite a write-up.
This may take a minute... if it's even possible with the new restrictions.
Image . -.. / .... ..- -- .--. .... .-. . -.--
No is NEVER an Option and NEVER is the only Option when it comes to Giving Up!

:!: Sniper_E Styles | phpbbmodders :!:
User avatar
ac_roma
Registered User
Posts: 321
Joined: Thu Mar 08, 2007 2:48 pm
Location: egypt,alexandria
Contact:

Re: [DEV] Font Awesome BBCode

Post by ac_roma »

nice and cool for awesome websites ;)

thanks
User avatar
dingus33
Registered User
Posts: 136
Joined: Fri Sep 29, 2017 11:11 am

Re: [DEV] Font Awesome BBCode

Post by dingus33 »

Sniper_E wrote: Tue Aug 20, 2019 3:54 pm Thanks dingus33, I read up on your link and a few links it lead to. That might be possible to setup.
I'll toy around with that idea and see if I can whip up something that will pull all of those FA5 icons in.
yea, if you made an extension to get FA5 in phpBB (without breaking things!), i would definitely use it.

i also made the request here: viewtopic.php?f=496&t=2519481
User avatar
3Di
I've Been Banned!
Posts: 17538
Joined: Mon Apr 04, 2005 11:09 pm
Location: I'm with Ukraine 🇺🇦
Name: Marco
Contact:

Re: [DEV] Font Awesome BBCode

Post by 3Di »

Did you know of forkawesome or Fortawesome?

But even better Iconify by Arty. :geek:
🆓 Free support for our extensions also provided here: phpBB Studio
🚀 Looking for a specific feature or alternative option? We will rock you!
Please PM me only to request paid works. Thx. Buy me a coffee -> Image
My development's activity º PhpStorm's proud user º Extensions, Scripts, MOD porting, Update/Upgrades
User avatar
dingus33
Registered User
Posts: 136
Joined: Fri Sep 29, 2017 11:11 am

Re: [DEV] Font Awesome BBCode

Post by dingus33 »

i've never seen any of those before. but unless those other projects provide FA4 compatibility shims or something, i see much more value in an extension that just brings FA5 support so existing icons in phpBB don't break.
Last edited by dingus33 on Mon Aug 26, 2019 7:44 am, edited 1 time in total.
Post Reply

Return to “Extensions in Development”