Page 4 of 6
Re: Avatars via phpBB group Avatar
Posted: Tue May 09, 2017 9:20 am
by Lepalose
My mistake in the last post, that condition is covered correctly in the 'else' part of the IF statement
Re: Avatars via phpBB group Avatar
Posted: Tue May 09, 2017 9:21 am
by axew3
testing ... and patching ...
p.s ah ok ... i've just see the reply ... looking by the way
Re: Avatars via phpBB group Avatar
Posted: Tue May 09, 2017 9:25 am
by Lepalose
Ok, so this part of the code is fine. If I purposefully change this code to give a bad result, ONLY the personally uploaded avatars break - the users with Group Avatar still have a blank.
That means somewhere else there is a check for user avatars that is failing to identify the group avatar condition.
Re: Avatars via phpBB group Avatar
Posted: Tue May 09, 2017 9:33 am
by Lepalose
Okay, well, I did another test...
with one of my Test Users I made a post on the phpBB forum, then logged out.
Now ... it works!
Re: Avatars via phpBB group Avatar
Posted: Tue May 09, 2017 9:35 am
by axew3
no, i see that if for groups i set an uploaded avatar, the image name returned is wrong, or processed wrong in some way
Re: Avatars via phpBB group Avatar
Posted: Tue May 09, 2017 9:40 am
by axew3
because you have reason:
avatar.driver.upload is NOT on code! adding ...
p.s within today