[3.3][RC] BBCode Icons

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!
Scam Warning
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)
User avatar
danieltj
Infrastructure Team Member
Infrastructure Team Member
Posts: 520
Joined: Thu May 03, 2018 9:32 pm
Location: United Kingdom
Name: Daniel James

[3.3][RC] BBCode Icons

Post by danieltj »

Extension Name: BBCode Icons
Author: danieltj

Extension Description: Add a Font Awesome icon to your custom BBCode buttons.

Features:
  • Specify a Font Awesome icon to be displayed on your custom BBCode buttons.
Extension Version: 1.0.0 (RC)

Screenshots:
phpbb-acp-bbcodes-form-icon.png
phpbb-posting-text-editor-bbcodes.png
Requirements:
  • phpBB >= 3.3.x and < 4.0.0
  • php 7.x or later
Download: GitHub

Note:
  • This extension allows you to use the feature included in this pull request here on your 3.3 forum now. The BBCode font icon might land in a future phpBB version (4.0 at the earliest) but you can make use of this feature now by using this extension. Please report all bugs you find through GitHub.
  • This extension no longer requires active development and is considered feature complete. Future updates will only be made to ensure compatibility with future 3.3 versions of phpBB. Hopefully, this feature will become part of the phpBB core code in version 4.0.0 making this extension obsolete.
You do not have the required permissions to view the files attached to this post.
Last edited by danieltj on Thu Jul 18, 2024 1:26 pm, edited 17 times in total.
💷 Purchase the Awesome Payments extension today!
Monetise your forum with one off payments and subscriptions.

Need a premium extension created? Send me a PM.
User avatar
danieltj
Infrastructure Team Member
Infrastructure Team Member
Posts: 520
Joined: Thu May 03, 2018 9:32 pm
Location: United Kingdom
Name: Daniel James

Re: [3.3][BETA] BBCode Icons

Post by danieltj »

Changelog: (only the highlights, not an exhaustive list)
  • 40e80ad Removed duplicate BBCode buttons from the post editor page.
  • 41ae7ae Updated version number in order to release beta 1 of the extension.
  • f277914 Added a preview of the icon to the ACP form.
  • 2479fde Remove custom_tags via php and require less than phpBB v4 to use the extension.
  • f20aa7f Fix bug where custom_tags were not correctly added to JavaScript array.
Last edited by danieltj on Thu Jul 18, 2024 12:07 pm, edited 5 times in total.
💷 Purchase the Awesome Payments extension today!
Monetise your forum with one off payments and subscriptions.

Need a premium extension created? Send me a PM.
User avatar
bonelifer
Community Team Member
Community Team Member
Posts: 3626
Joined: Wed Oct 27, 2004 11:35 pm
Name: William

Re: [3.3][BETA] BBCode Icons

Post by bonelifer »

"Awesome". :mrgreen:
William Jacoby - Community Team
Knowledge Base | phpBB Board Rules | Search Customisation Database
Please don't contact me via PM or email for phpBB support .

phpBB Modders is looking for developers! If you have phpBB experience and want to join us, click here!
User avatar
Mannix_
Registered User
Posts: 2004
Joined: Sun Oct 25, 2015 2:56 pm
Name: Matt

Re: [3.3][BETA] BBCode Icons

Post by Mannix_ »

This is very cool addition. I will start recommending this extension for one of my styles once the extension gets approved to the CDB :D
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!
User avatar
danieltj
Infrastructure Team Member
Infrastructure Team Member
Posts: 520
Joined: Thu May 03, 2018 9:32 pm
Location: United Kingdom
Name: Daniel James

Re: [3.3][BETA] BBCode Icons

Post by danieltj »

Mannix_ wrote: Sat Jun 15, 2024 10:34 am This is very cool addition. I will start recommending this extension for one of my styles once the extension gets approved to the CDB :D
Thanks ❤️

I'm working on a more elegant solution to hiding the default custom BBCodes but for now the extension is fully working and no longer has duplicate custom BBCodes displayed on the posting page.
💷 Purchase the Awesome Payments extension today!
Monetise your forum with one off payments and subscriptions.

Need a premium extension created? Send me a PM.
User avatar
danieltj
Infrastructure Team Member
Infrastructure Team Member
Posts: 520
Joined: Thu May 03, 2018 9:32 pm
Location: United Kingdom
Name: Daniel James

Re: [3.3][BETA] BBCode Icons

Post by danieltj »

I've released the latest (and hopefully final) version of BBCode Icons... v0.3.0.

As the extension is pretty small and has one very specific goal, this extension is now considered feature complete so hopefully at some point it'll land in a future version of phpBB. You can track the progress of that in this pull request here: https://github.com/phpbb/phpbb/pull/6657

Also the tracker ticket for this feature can be found here: https://tracker.phpbb.com/browse/PHPBB-17326

Thanks 🙂
💷 Purchase the Awesome Payments extension today!
Monetise your forum with one off payments and subscriptions.

Need a premium extension created? Send me a PM.
User avatar
danieltj
Infrastructure Team Member
Infrastructure Team Member
Posts: 520
Joined: Thu May 03, 2018 9:32 pm
Location: United Kingdom
Name: Daniel James

Re: [3.3][RC] BBCode Icons

Post by danieltj »

I've decided to submit the extension to the customisation database and as such have released a new version: 1.0.0. The latest version fixes a critical bug in which the custom BBCode tags were not properly set causing all custom BBCodes to insert undefined into the text editor when clicking on a custom BBCode button. This has now been fixed and the extension works as intended.
💷 Purchase the Awesome Payments extension today!
Monetise your forum with one off payments and subscriptions.

Need a premium extension created? Send me a PM.
leschek
Registered User
Posts: 856
Joined: Tue Jul 18, 2006 12:49 pm

Re: [3.3][RC] BBCode Icons

Post by leschek »

This looks very nice.
I tested the version 1.0.0 a bit and it seems it doesn't like the Advanced BBCode Box. When I enable BBCode Icons extension, BBCodes from editor disappear. They appear when I disable Advanced BBCode Box (with red text) or BBCode Icons.
You wrote that it is feature complete, but it would be really nice if admins can see preview of icons on the table with BBCodes.
And last thing, it would be nice (and easier to install) if it's packed in danieltj/bbcodeicons folders.
User avatar
danieltj
Infrastructure Team Member
Infrastructure Team Member
Posts: 520
Joined: Thu May 03, 2018 9:32 pm
Location: United Kingdom
Name: Daniel James

Re: [3.3][RC] BBCode Icons

Post by danieltj »

leschek wrote: Fri Jul 19, 2024 9:26 am This looks very nice.
Thanks for your feedback.

I tested the version 1.0.0 a bit and it seems it doesn't like the Advanced BBCode Box. When I enable BBCode Icons extension, BBCodes from editor disappear. They appear when I disable Advanced BBCode Box (with red text) or BBCode Icons.
This extension will never be compatible with the Advanced BBCode Box because I had to remove the default template block which displays the custom BBCodes in order to insert an icon. The template file for prosilver doesn't have any events that I can use in order to edit the contents of the button to display the icon. I could have written some messy JavaScript to alter the text but I wanted to save a headache... :P

You wrote that it is feature complete, but it would be really nice if admins can see preview of icons on the table with BBCodes.
That's not possible because there aren't any template events in that file to allow me to display additional HTML.

And last thing, it would be nice (and easier to install) if it's packed in danieltj/bbcodeicons folders.
Do you mean when you download it from GitHub? That's sort of a limitation of using GitHub releases as it uses the repository name and then appends the version number to the end of it. I could change the repository name to bbcodeicons which I am very tempted to do but it still wouldn't allow me to ensure that the extension is bundled with my vendor name first and then the extension contents inside it unfortunately. If you download it from GitHub, you'll have to change the folder names. That is described in the installation instructions in the README.md file.

Downloading it from the customisation database (when / if it gets approved) would address this though as it's bundled correctly to immediately start using.
💷 Purchase the Awesome Payments extension today!
Monetise your forum with one off payments and subscriptions.

Need a premium extension created? Send me a PM.
leschek
Registered User
Posts: 856
Joined: Tue Jul 18, 2006 12:49 pm

Re: [3.3][RC] BBCode Icons

Post by leschek »

Thanks for your answers.
danieltj wrote: Fri Jul 19, 2024 11:06 am Do you mean when you download it from GitHub? That's sort of a limitation of using GitHub releases as it uses the repository name and then appends the version number to the end of it. I could change the repository name to bbcodeicons which I am very tempted to do but it still wouldn't allow me to ensure that the extension is bundled with my vendor name first and then the extension contents inside it unfortunately. If you download it from GitHub, you'll have to change the folder names. That is described in the installation instructions in the README.md file.

Downloading it from the customisation database (when / if it gets approved) would address this though as it's bundled correctly to immediately start using.
I don't use GitHub myself, so I didn't know it. It's great if it will be in the folders, when it will be approved.
User avatar
bonelifer
Community Team Member
Community Team Member
Posts: 3626
Joined: Wed Oct 27, 2004 11:35 pm
Name: William

Re: [3.3][RC] BBCode Icons

Post by bonelifer »

danieltj wrote: Fri Jul 19, 2024 11:06 am
And last thing, it would be nice (and easier to install) if it's packed in danieltj/bbcodeicons folders.
Do you mean when you download it from GitHub? That's sort of a limitation of using GitHub releases as it uses the repository name and then appends the version number to the end of it. I could change the repository name to bbcodeicons which I am very tempted to do but it still wouldn't allow me to ensure that the extension is bundled with my vendor name first and then the extension contents inside it unfortunately. If you download it from GitHub, you'll have to change the folder names. That is described in the installation instructions in the README.md file.

Downloading it from the customisation database (when / if it gets approved) would address this though as it's bundled correctly to immediately start using.
For GitHub the phpBB Skeleton Extension has your answer: https://github.com/phpbb-extensions/php ... /build.xml
William Jacoby - Community Team
Knowledge Base | phpBB Board Rules | Search Customisation Database
Please don't contact me via PM or email for phpBB support .

phpBB Modders is looking for developers! If you have phpBB experience and want to join us, click here!
User avatar
thecaretaker1
Registered User
Posts: 135
Joined: Tue Dec 30, 2014 8:38 pm

Re: [3.3][RC] BBCode Icons

Post by thecaretaker1 »

This is a great extension. Works really well on my live board. Well done! ;)
User avatar
danieltj
Infrastructure Team Member
Infrastructure Team Member
Posts: 520
Joined: Thu May 03, 2018 9:32 pm
Location: United Kingdom
Name: Daniel James

Re: [3.3][RC] BBCode Icons

Post by danieltj »

Thank you. I'm happy that you like it 🙂
💷 Purchase the Awesome Payments extension today!
Monetise your forum with one off payments and subscriptions.

Need a premium extension created? Send me a PM.

Return to “Extensions in Development”