[3.2][BETA] phpBB Initial Avatars (Lite)

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)
User avatar
3Di
Registered User
Posts: 11810
Joined: Mon Apr 04, 2005 11:09 pm
Location: Milano - Frankfurt
Name: Marco
Contact:

[3.2][BETA] phpBB Initial Avatars (Lite)

Post by 3Di » Wed Oct 11, 2017 1:31 am

Author: Image

Based on the awesome work of: LasseRafn

Extension description: Give your users a unique default avatar like Google Mail, Wordpress etc..

Image

Requirements:
  • phpBB >= 3.2.1
Extension version: 1.0.2-beta
Extension download: 1.0.2-beta
Image

Please keep in mind this is experimental/bleeding edge code, therefore you MUST perform a DB backup prior to use it. Still the advice to do not use extensions in development on production boards applies.

The extension will automatically backup on a separate custom DB table all of the user's avatars in order to prevent any possible issue, emergency tools have been coded in order to rescue those data if necessary.


Extension repository: https://github.com/3D-I/pia/issues (features/issue tracker)

Languages support:

UTF-8 Unicode plus some special chars

Arabic
Armenian
Bengali
Georgian
Hebrew
Mongolian
Chinese
Thai
Tibetan

Want to say thank you or maybe
encourage/support all my works?

Image

Feel free to discuss the future implementations/features now. Before me to start coding, thanks. :)

:geek:
Last edited by 3Di on Thu Nov 09, 2017 5:59 am, edited 12 times in total.
Want to compensate me for my interest? Donate
Please PM me only to request paid works. Thx.
Extensions, Scripts, MOD porting, Update/Upgrades

User avatar
3Di
Registered User
Posts: 11810
Joined: Mon Apr 04, 2005 11:09 pm
Location: Milano - Frankfurt
Name: Marco
Contact:

Re: [3.2][DEV] phpBB Initial Avatars

Post by 3Di » Wed Oct 11, 2017 1:31 am

Image
.
Image
.
Image
.
Image
.
Last edited by 3Di on Sat Oct 21, 2017 4:09 am, edited 2 times in total.
Want to compensate me for my interest? Donate
Please PM me only to request paid works. Thx.
Extensions, Scripts, MOD porting, Update/Upgrades

User avatar
3Di
Registered User
Posts: 11810
Joined: Mon Apr 04, 2005 11:09 pm
Location: Milano - Frankfurt
Name: Marco
Contact:

Re: [3.2][DEV] phpBB Initial Avatars

Post by 3Di » Wed Oct 11, 2017 1:31 am

Image

Image
Last edited by 3Di on Fri Oct 13, 2017 10:08 pm, edited 2 times in total.
Want to compensate me for my interest? Donate
Please PM me only to request paid works. Thx.
Extensions, Scripts, MOD porting, Update/Upgrades

maras2626
Registered User
Posts: 63
Joined: Tue Feb 07, 2017 4:48 pm

Re: [3.2][DEV] phpBB Initial Avatars

Post by maras2626 » Wed Oct 11, 2017 11:51 am

great, I was waiting for it :)

koraldon
Registered User
Posts: 404
Joined: Sat Jun 30, 2007 12:42 pm

Re: [3.2][DEV] phpBB Initial Avatars

Post by koraldon » Wed Oct 11, 2017 5:47 pm

Does it support other languages?

User avatar
3Di
Registered User
Posts: 11810
Joined: Mon Apr 04, 2005 11:09 pm
Location: Milano - Frankfurt
Name: Marco
Contact:

Re: [3.2][DEV] phpBB Initial Avatars

Post by 3Di » Wed Oct 11, 2017 5:53 pm

koraldon wrote:
Wed Oct 11, 2017 5:47 pm
Does it support other languages?
UTF-8 Unicode plus some special chars

Arabic
Armenian
Bengali
Georgian
Hebrew
Mongolian
Chinese
Thai
Tibetan

Wordpress uses it so I think there shouldn't be issues.
Want to compensate me for my interest? Donate
Please PM me only to request paid works. Thx.
Extensions, Scripts, MOD porting, Update/Upgrades

jackennils
Registered User
Posts: 65
Joined: Mon Jun 01, 2009 7:48 pm

Re: [3.2][DEV] phpBB Initial Avatars

Post by jackennils » Wed Oct 11, 2017 10:20 pm

Looks very promising!

Question: Do background colors depend on the initials or is it always the same color? If so, is there any chance of adding some randomness or dependency to the background based on the initials?

Like A is always color 1, B is always color 2, C is always color 3, ...

User avatar
3Di
Registered User
Posts: 11810
Joined: Mon Apr 04, 2005 11:09 pm
Location: Milano - Frankfurt
Name: Marco
Contact:

Re: [3.2][DEV] phpBB Initial Avatars

Post by 3Di » Wed Oct 11, 2017 10:24 pm

Randomness has been already planned, yes.
No relationship with letters though.

I plan to release a Lite version soon, the core will be the natural fallback of the Full one.
Options and colorpickers and what not will be in ACP/UCP.
Want to compensate me for my interest? Donate
Please PM me only to request paid works. Thx.
Extensions, Scripts, MOD porting, Update/Upgrades

jackennils
Registered User
Posts: 65
Joined: Mon Jun 01, 2009 7:48 pm

Re: [3.2][DEV] phpBB Initial Avatars

Post by jackennils » Wed Oct 11, 2017 10:31 pm

Super, thanks.

feruchio
Registered User
Posts: 41
Joined: Fri Sep 08, 2017 7:26 am

Re: [3.2][DEV] phpBB Initial Avatars

Post by feruchio » Thu Oct 12, 2017 1:28 pm

IS it done for installing on on my board?

User avatar
3Di
Registered User
Posts: 11810
Joined: Mon Apr 04, 2005 11:09 pm
Location: Milano - Frankfurt
Name: Marco
Contact:

Re: [3.2][DEV] phpBB Initial Avatars

Post by 3Di » Fri Oct 13, 2017 10:16 pm

jackennils wrote:
Wed Oct 11, 2017 10:31 pm
Super, thanks.
;)
The Lite version of this will make the use of the Web API from the same Author, which just added support for lowercase, as per my request. See this image
Image

I posted some grabs from my environment, I am making the use of this API with another extension of mine, as a proof of concept though, see:
viewtopic.php?p=14844101#p14844101
feruchio wrote:
Thu Oct 12, 2017 1:28 pm
IS it done for installing on on my board?
This is a DEV topic to discuss the future features and what not.
Will be ready when it will be announced in here (for ALL boards).
So please subscribe to the topic if you so wish and you will be kept always up-to-date.

Thx. :)
Want to compensate me for my interest? Donate
Please PM me only to request paid works. Thx.
Extensions, Scripts, MOD porting, Update/Upgrades

jackennils
Registered User
Posts: 65
Joined: Mon Jun 01, 2009 7:48 pm

Re: [3.2][DEV] phpBB Initial Avatars

Post by jackennils » Fri Oct 13, 2017 11:09 pm

Are the images generated and stored locally on each forum's owner's server or served via LasseRafn's service?

User avatar
3Di
Registered User
Posts: 11810
Joined: Mon Apr 04, 2005 11:09 pm
Location: Milano - Frankfurt
Name: Marco
Contact:

Re: [3.2][DEV] phpBB Initial Avatars

Post by 3Di » Fri Oct 13, 2017 11:31 pm

jackennils wrote:
Fri Oct 13, 2017 11:09 pm
Are the images generated and stored locally on each forum's owner's server or served via LasseRafn's service?
We are talking about the Lite version here (Web API usage), the final images are cached by the server (edit: 2 days atm, I opened an issue over there though) and from there served. No usage tracking and no information is stored.

Right since today DigitalOcean it is sponsoring the server adding these regions for now
  • Frankfurt :mrgreen:
  • San Francisco
Resulting on a very fast service (I tried with a small array of 500 users and the image size to the max (256px)).

Ofcourse the Full version will use another approach, more heavy PHP side, and the internally generated Imgs could be stored in the DB/files, I have to investigate the extension validation's Policies first.
Want to compensate me for my interest? Donate
Please PM me only to request paid works. Thx.
Extensions, Scripts, MOD porting, Update/Upgrades

jackennils
Registered User
Posts: 65
Joined: Mon Jun 01, 2009 7:48 pm

Re: [3.2][DEV] phpBB Initial Avatars

Post by jackennils » Sat Oct 14, 2017 11:47 am

Okay, understood. Any ETA for the lite version?

User avatar
3Di
Registered User
Posts: 11810
Joined: Mon Apr 04, 2005 11:09 pm
Location: Milano - Frankfurt
Name: Marco
Contact:

Re: [3.2][DEV] phpBB Initial Avatars

Post by 3Di » Sat Oct 14, 2017 11:25 pm

We are discussing further enahncements to the API atm.
I've already coded the whole extension, though it could be way better if those above will be implemented.

No ETA, isn't like cooking some spaghetti. ;)
Want to compensate me for my interest? Donate
Please PM me only to request paid works. Thx.
Extensions, Scripts, MOD porting, Update/Upgrades

Post Reply

Return to “Extensions in Development”