PHPBB3 without JavaScript - fontawesome

Need some custom code changes to the phpBB core simple enough that you feel doesn't require an extension? Then post your request here so that community members can provide some assistance.

NOTE: NO OFFICIAL SUPPORT IS PROVIDED IN THIS SUB-FORUM
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

NOTE: NO OFFICIAL SUPPORT IS PROVIDED IN THIS SUB-FORUM
weapons102
Registered User
Posts: 19
Joined: Sat Jan 18, 2025 9:58 am

Re: PHPBB3 without JavaScript - fontawesome

Post by weapons102 »

I don't understand what the security problem is with fontaweome.

https://github.com/freedomofpress/secur ... ssues/5546

Does this mean it is not possible to solve this problem and use fontawesome?
User avatar
Mannix_
Registered User
Posts: 2060
Joined: Sun Oct 25, 2015 2:56 pm
Name: Matt

Re: PHPBB3 without JavaScript - fontawesome

Post by Mannix_ »

Me neither. So your only solution would be to replace the font icons with images
Did I helped You? Consider a donation.
New version of phpBB has been released? My styles aren't validated for it yet? Check my page for the latest downloads!
weapons102
Registered User
Posts: 19
Joined: Sat Jan 18, 2025 9:58 am

Re: PHPBB3 without JavaScript - fontawesome

Post by weapons102 »

Do you know if all themes in PHPBB3 use fontawesome?

Is this built in or can a theme designer use a different set?
User avatar
Mannix_
Registered User
Posts: 2060
Joined: Sun Oct 25, 2015 2:56 pm
Name: Matt

Re: PHPBB3 without JavaScript - fontawesome

Post by Mannix_ »

I can't be 100% sure that all use them. But i never saw one that doesn't. You can replace them to whatever you want. You can either use the existing setup and use images in css e.g.
change

Code: Select all

.fa-bell::before {
  content: "\f0f3";
}
to

Code: Select all

.fa-bell::before {
  content: url("path_to_image");
}
or go through all html files that have icons and use img tag or svg tag to change them
Did I helped You? Consider a donation.
New version of phpBB has been released? My styles aren't validated for it yet? Check my page for the latest downloads!

Return to “phpBB Custom Coding”