[3.2][RC] Symbols

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)
v12mike
Registered User
Posts: 584
Joined: Thu Jul 09, 2015 5:03 pm

[3.2][RC] Symbols

Post by v12mike »

Symbols Extension for phpBB - ©2018 - v12mike

Image

Version: 1.0.1-rc1

Download:Click!

Installation:
Un-zip and upload the extension files into /ext/v12mike/symbols and enable it in the ACP. This extension has no ACP interface of its own.

To update from previous versions Disable extension / delete files / upload new files / re-enable extension (Don't delete data)

Code repository:
Here

Features:
Allows easy inclusion of symbols in posts and PMs.

Requirements:
  • phpBB v3.2.2 or later
Styles compatibility:
  • prosilver and related styles
Languages supported:
  • English (Default)
  • Other translations are welcome
License:
Last edited by v12mike on Sat Sep 08, 2018 12:12 pm, edited 9 times in total.
v12mike
Registered User
Posts: 584
Joined: Thu Jul 09, 2015 5:03 pm

Re: [3.2][DEV] Symbols

Post by v12mike »

Spare post for support info.
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: [3.2][DEV] Symbols

Post by 3Di »

I like it, why don't you use the DB instead of the file system?
🆓 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
v12mike
Registered User
Posts: 584
Joined: Thu Jul 09, 2015 5:03 pm

Re: [3.2][DEV] Symbols

Post by v12mike »

3Di wrote: Mon Aug 06, 2018 8:50 pm I like it, why don't you use the DB instead of the file system?
I might still put that data in the database, but it still needs to be populated from somewhere, and as it is all pretty much static, the database doesn't add much value. I will add some server-side caching.
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: [3.2][DEV] Symbols

Post by 3Di »

v12mike wrote: Mon Aug 06, 2018 8:56 pm but it still needs to be populated from somewhere
Yes, migration(s).
v12mike wrote: Mon Aug 06, 2018 8:56 pm as it is all pretty much static
In fact, the only bit which needs a thought it is the "description" since it is in English, should be "translatable".

Could be done if you want, and leave the translation(s) to the admin in ACP with a devoted module's mode. :)
🆓 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
v12mike
Registered User
Posts: 584
Joined: Thu Jul 09, 2015 5:03 pm

Re: [3.2][DEV] Symbols

Post by v12mike »

I enabled the extension on a live forum last night, and the reaction seems to be positive, so it is worth persevering.

After some reflection, I decided that the html symbols lists should be converted into static assets and included in the main page, so that they can be cached by the user's browser, but that does not seem to be compatible with having translations for the descriptions. I suppose that I could save a set of data (assets) per language, and switch languages outside the normal phpBB language system.

I will test a few ideas but more suggestions are welcome.
v12mike
Registered User
Posts: 584
Joined: Thu Jul 09, 2015 5:03 pm

Re: [3.2][DEV] Symbols

Post by v12mike »

I have updated the extension so that it also works with the PM editor, and made a few cosmetic changes.
User avatar
</Solidjeuh>
Registered User
Posts: 1788
Joined: Tue Mar 29, 2016 3:45 am
Location: Aalst (Belgium)
Name: Andy Dm
Contact:

Re: [3.2][DEV] Symbols

Post by </Solidjeuh> »

Great ext! But isn't there a better way to display it?
It looks a bit ugly in PM .. :oops: To small :D

Image
v12mike
Registered User
Posts: 584
Joined: Thu Jul 09, 2015 5:03 pm

Re: [3.2][DEV] Symbols

Post by v12mike »

Froddelaar wrote: Tue Aug 07, 2018 1:23 pm Great ext! But isn't there a better way to display it?
It looks a bit ugly in PM .. :oops: To small :D

Image
I agree that it is not ideal (although the problem is only with screen widths between 700 and 1200 pixels wide), I can't see an elegant solution at the moment...

If a little was shaved off the width of the main posting area, it would improve things.
User avatar
</Solidjeuh>
Registered User
Posts: 1788
Joined: Tue Mar 29, 2016 3:45 am
Location: Aalst (Belgium)
Name: Andy Dm
Contact:

Re: [3.2][DEV] Symbols

Post by </Solidjeuh> »

v12mike wrote: Tue Aug 07, 2018 1:28 pm
Froddelaar wrote: Tue Aug 07, 2018 1:23 pm Great ext! But isn't there a better way to display it?
It looks a bit ugly in PM .. :oops: To small :D

Image
I agree that it is not ideal (although the problem is only with screen widths between 700 and 1200 pixels wide), I can't see an elegant solution at the moment...

If a little was shaved off the width of the main posting area, it would improve things.
I changed it a bit .. looks pretty good now

Code: Select all

/* Main message box */
.message-box {
	width: 76%;
}

Code: Select all

/* Emoticons panel */
.smiley-box {
	width: 22%;
	float: right;
}
v12mike
Registered User
Posts: 584
Joined: Thu Jul 09, 2015 5:03 pm

Re: [3.2][DEV] Symbols

Post by v12mike »

Froddelaar wrote: Tue Aug 07, 2018 4:04 pm
v12mike wrote: Tue Aug 07, 2018 1:28 pm If a little was shaved off the width of the main posting area, it would improve things.
I changed it a bit .. looks pretty good now
Thanks for trying that. It needed a bit more tweaking to work nicely on small screens, but I have now pushed a change which does something similar.
v12mike
Registered User
Posts: 584
Joined: Thu Jul 09, 2015 5:03 pm

Re: [3.2][DEV] Symbols

Post by v12mike »

I have made some changes 'under the skin' to improve the extension.
  • There is now a language system in place, translations are welcome.
  • The symbols tab panels are now 'lazy loaded' so that they do not consume processing time or bandwidth until required.
I think that it now is fairly solid, but would appreciate a few more user reports.
User avatar
david63
Registered User
Posts: 20646
Joined: Thu Dec 19, 2002 8:08 am

Re: [3.2][DEV] Symbols

Post by david63 »

Can I just make a couple of observations -

1. You should not be using globals in either controllers or listeners - these should be injected.

2. Language files should only be loaded when needed - currently you are loading the language on every page.
David
Remember: You only know what you know and - you don't know what you don't know!

I now no longer support any of my extensions but they will start to become available here
v12mike
Registered User
Posts: 584
Joined: Thu Jul 09, 2015 5:03 pm

Re: [3.2][DEV] Symbols

Post by v12mike »

david63 wrote: Sat Aug 11, 2018 8:58 pm Can I just make a couple of observations -

1. You should not be using globals in either controllers or listeners - these should be injected.

2. Language files should only be loaded when needed - currently you are loading the language on every page.
Fair comments. I have now fixed those issues.
User avatar
</Solidjeuh>
Registered User
Posts: 1788
Joined: Tue Mar 29, 2016 3:45 am
Location: Aalst (Belgium)
Name: Andy Dm
Contact:

Re: [3.2][BETA] Symbols

Post by </Solidjeuh> »

I installed the new version, now the "responsive" breaks in PM

Image
Post Reply

Return to “Extensions in Development”