[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!
Suggested Hosts
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)
jackennils
Registered User
Posts: 65
Joined: Mon Jun 01, 2009 7:48 pm

Re: [3.2][DEV] phpBB Initial Avatars

Post by jackennils » Sun Oct 15, 2017 10:08 am

I see. Then I'll eat some spaghetti in the meantime. :)

User avatar
eunaumtenhoid
Registered User
Posts: 540
Joined: Wed Jun 03, 2009 12:46 am
Location: ????

Re: [3.2][DEV] phpBB Initial Avatars

Post by eunaumtenhoid » Sun Oct 15, 2017 7:09 pm

nice work dude congratulations
My translations of the extensions for Brazilian Portuguese
https://github.com/phpBBTraducoes

User avatar
3Di
Registered User
Posts: 11812
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 20, 2017 3:37 am

There are progress, got it basically working as per the Lite project.
.
Image
-
Within the next week I will put all together into a first DEV test bed.
Not so much of time this week-end.
Want to compensate me for my interest? Donate
Please PM me only to request paid works. Thx.
Extensions, Scripts, MOD porting, Update/Upgrades

sqnconductive
Registered User
Posts: 12
Joined: Mon Oct 16, 2017 4:02 pm

Re: [3.2][DEV] phpBB Initial Avatars

Post by sqnconductive » Fri Oct 20, 2017 4:26 pm

this kind of avatars is awesome!!

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

Re: [3.2][DEV] phpBB Initial Avatars (Lite)

Post by 3Di » Sat Oct 21, 2017 4:19 am

Announcing the future first public 1.0.1-DEV release. (Lite)
See first 3 posts for and screenshots

That's developmental code, to be used on test boards. Use at your own risk.

Well all of this been said, the extension installs "inactive", means you have to set first the options in ACP prior to let all of your users whithout an avatar get an Initials one by default. The ACP is self-explanatory but feel free to ask. Users got an option in UCP which allow them to do not use/have a default avatar, default is yes for all. If the user will set an own avatar the default goes automatically away, instead if the user doesn't want an avatar at all then can opt to NO in UCP.

The extension will work only if you set the Avatar phpBB's ACP facility to allow "remote avatars".

Remember, every change to the settings in ACP will force the all of the avatars to get refreshed to let your changes make effect immediately, due to the images being served server-side cached for two days.

Have fun. :)

Edit link removed to prevent a known issue
Last edited by 3Di on Sun Oct 22, 2017 8:09 pm, edited 1 time 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
Raul [ThE KuKa]
Jr. Extension Validator
Posts: 3739
Joined: Mon Dec 08, 2003 9:24 pm
Location: Spain
Name: Raul Arroyo
Contact:

Re: [3.2][DEV] phpBB Initial Avatars (Lite)

Post by Raul [ThE KuKa] » Sat Oct 21, 2017 5:42 pm

I like this idea, nice job 3Di ;)
If you like my styles, translations, etc. and want to show some appreciation, then feel free to Donate with Image
phpBB International Support Team (Spanish - Español) :flag_es: Online Since 2003
🎨phpBB Professional Premium Themes🔥
Author Translations (Spanish - Spain) :two_hearts:

:warning: I don't support those without the copyright Spanish translation. :warning:

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

Re: [3.2][DEV] phpBB Initial Avatars (Lite)

Post by 3Di » Sat Oct 21, 2017 7:13 pm

Raul [ThE KuKa] wrote:
Sat Oct 21, 2017 5:42 pm
I like this idea, nice job 3Di ;)
Great! Btw, in the code there is a string replace coded thinking about your nickname, can you confirm if using Raul [ThE KuKa] as per the nickname and setting 3 Initials in ACP will result in RTK?

Without that line of code the result is R[K.
jackennils wrote:
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, ...
Back to this, now the relationship with Initials is planned and some code is under testing.
Create/calculate background and font colors based on the hash of name, based on a snipped I found at gihub. Credits will be given of course. ;)
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 (Lite)

Post by jackennils » Sun Oct 22, 2017 10:48 am

Thanks for the good news and the release of the first version. Will give it a try and report back. :)

Edit:

Gave it a first try...

Big problem right after enabling it in the ACP: All existing avatars are overwritten with PIA-Avatars. Had to restore the DB backup I made right before the activation. This should not happen. Will not do further testing until this is fixed.

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

Re: [3.2][DEV] phpBB Initial Avatars (Lite)

Post by 3Di » Sun Oct 22, 2017 8:03 pm

jackennils wrote:
Sun Oct 22, 2017 10:48 am
Thanks for the good news and the release of the first version. Will give it a try and report back. :)
Anytime. :)
jackennils wrote:
Sun Oct 22, 2017 10:48 am
Edit:

Gave it a first try...

Big problem right after enabling it in the ACP: All existing avatars are overwritten with PIA-Avatars. Had to restore the DB backup I made right before the activation. This should not happen. Will not do further testing until this is fixed.
Thanks for feedback, in fact the extension (being in DEV) shouldn't be used on live boards and I mentioned it here
3Di wrote:
Sat Oct 21, 2017 4:19 am
That's developmental code, to be used on test boards. Use at your own risk.
being the only one who is testing this on a local environment.

You did the right thing though, wisely you made a backup first.
The preliminary step more people who use dev extensions on production should learn from. ;)

I see the issue, I will fix it. Already existing in the code there are the backup indexes created on purpose but not in use yet and the interested query will be enhanced with a more strict check-in. A fixed version will be posted here as soon as I can.

Note: I removed the download link in order to prevent issues to somebody, in case. :geek:
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 (Lite)

Post by jackennils » Sun Oct 22, 2017 8:39 pm

No worries, I'm not blaming you. I knew it can go wrong, that's why I made the backup first. :)
Looking forward to the updated version though.

User avatar
fliper4o
Registered User
Posts: 204
Joined: Wed Mar 23, 2011 8:15 pm
Contact:

Re: [3.2][DEV] phpBB Initial Avatars (Lite)

Post by fliper4o » Tue Oct 24, 2017 6:04 pm

nice ext
just thought it would be nice if different colors are used for the different 1st letter/number/symbol etc
John
Maybe
Peter_64
55noname
@lola
Lolita
$ich
etc : )
Is it user based or admin ?
3Di wrote:
Wed Oct 11, 2017 1:31 am
Image
I mean the background color(maybe).
Instead of 1 main(fixed-editable) color to have random colors for the random names.
Image
but still nice !
~fliper4o

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

Re: [3.2][DEV] phpBB Initial Avatars (Lite)

Post by 3Di » Tue Oct 24, 2017 6:40 pm

fliper4o wrote:
Tue Oct 24, 2017 6:04 pm
just thought it would be nice if different colors are used for the different 1st letter/number/symbol etc
Just some posts above yours I said:
3Di wrote:
Sat Oct 21, 2017 7:13 pm
now the relationship with Initials is planned and some code is under testing.
Create/calculate background and font colors based on the hash of name
fliper4o wrote:
Tue Oct 24, 2017 6:04 pm
Is it user based or admin ?
Being this the A(dmin)CP, it is for Admins.


Would have been in U(ser)CP otherwise... which is already planned.
Image
Thank you.
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
spaceace
Registered User
Posts: 1749
Joined: Wed Jan 30, 2008 8:50 pm
Contact:

Re: [3.2][DEV] phpBB Initial Avatars (Lite)

Post by spaceace » Tue Oct 24, 2017 9:48 pm

just a thought...

what about using css to create the background circle. that would open up the ability to add other things like borders... gradients... etc...

that way it would not depend on external or internal images at all ;)

or does it already and i missed that somewhere :lol:

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

Re: [3.2][DEV] phpBB Initial Avatars (Lite)

Post by 3Di » Tue Oct 24, 2017 9:59 pm

spaceace wrote:
Tue Oct 24, 2017 9:48 pm
just a thought...

what about using css to create the background circle. that would open up the ability to add other things like borders... gradients... etc...

that way it would not depend on external or internal images at all ;)

or does it already and i missed that somewhere :lol:
You are missing nothing, that will be not in the Lite version which uses the Web API.
A different approach completely self contained (vendor folder so to speak) - no HTTP calls.

But hey, I've got just two hands (mine) you know. :geek: :)
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 (Lite)

Post by jackennils » Tue Oct 31, 2017 10:00 pm

Any update mate?

Post Reply

Return to “Extensions in Development”

Who is online

Users browsing this forum: No registered users and 26 guests

cron