PM Name Suggestions

avatar - PM Name Suggestions

avatar

by costanzo.moffa » Wed Aug 31, 2016 10:06 am

hi
installed this ext but appears in this mode

Immagine.png
Immagine.png (9.45 KiB) Viewed 200 times
costanzo.moffa
Registered User
Posts: 28
Joined: Thu Dec 06, 2012 12:11 pm
Name: costanzo
Contact:

Re: avatar

by costanzo.moffa » Wed Aug 31, 2016 10:07 am

hi i installed this ext but appears in this mode
costanzo.moffa
Registered User
Posts: 28
Joined: Thu Dec 06, 2012 12:11 pm
Name: costanzo
Contact:

Re: avatar

by MarkusWME » Thu Sep 01, 2016 9:17 pm

Does the user on your image has an avatar image? If not, does the "no_avatar.gif" of the style exist?
User avatar
MarkusWME
Registered User
Posts: 49
Joined: Thu Mar 17, 2016 1:04 am
Contact:

Re: avatar

by koraldon » Thu Sep 01, 2016 9:34 pm

In my forum I get the no_avatar.gif, but not the avatar from the User if it exists. Also, can you make the avatar size the same as in the notification window?
Thanks
koraldon
Registered User
Posts: 509
Joined: Sat Jun 30, 2007 12:42 pm
Contact:

Re: avatar

by MarkusWME » Thu Sep 01, 2016 10:09 pm

This is strange, because in all browsers I tested I got the correct avatar image for users which have an avatar. Did you check the link that is used for displaying the avatar? Could the image be displayed in another tab of the browser when using this link?
And because of the size of the avatar image: I think the maximum size of the image in the notification window is 50x50 pixels. Isn't that a bit too big for this list? But if not it is absolutely no problem to change it ;)
User avatar
MarkusWME
Registered User
Posts: 49
Joined: Thu Mar 17, 2016 1:04 am
Contact:

Re: avatar

by costanzo.moffa » Fri Sep 02, 2016 5:22 am

yes no_avatar.gif exist
costanzo.moffa
Registered User
Posts: 28
Joined: Thu Dec 06, 2012 12:11 pm
Name: costanzo
Contact:

Re: avatar

by koraldon » Fri Sep 02, 2016 3:31 pm

I will need to check, but maybe perhaps since my board is in directory (domain.com/forums), it has a relative URL.issue?
koraldon
Registered User
Posts: 509
Joined: Sat Jun 30, 2007 12:42 pm
Contact:

Re: avatar

by MarkusWME » Sun Sep 04, 2016 11:34 pm

A new version of the extension is now available on GitHub. One avatar issue has been fixed. Also I added the possibility to manually change the size of the avatar image by editing the "PCGF_PM_NAME_SOGGESTION_IMAGE_SIZE" value in /pcgf/pmnamesuggestions/event/listener.php. I will release a new version later on where the image size and the amount of suggested usernames can be adjusted in the ACP.

Hope it works for you :D
User avatar
MarkusWME
Registered User
Posts: 49
Joined: Thu Mar 17, 2016 1:04 am
Contact:

Re: avatar

by costanzo.moffa » Mon Sep 05, 2016 9:57 am

i installed a new version wnd this is the result
appears no-avatar but doesn't appears avatar of the users and they have it


Immagine.png
costanzo.moffa
Registered User
Posts: 28
Joined: Thu Dec 06, 2012 12:11 pm
Name: costanzo
Contact:

Re: avatar

by MarkusWME » Mon Sep 05, 2016 12:21 pm

Hi!

I have tried to identify the problem. For me it seems like phpBB knows that the user has an avatar but it's not possible to load the avatar image for any reason. Because the text that appears instead ist the standard phpBB message when the avatar image couldn't be loaded. Therefore some questions: What kind of avatar is selected for the user? An external link or an uploaded image? Maybe there are some issues. But in the end it should work because I am using phpBB functions to get the users avatar. Maybe you could check the links of the images which could not be loaded (for example opening them in new tabs).
User avatar
MarkusWME
Registered User
Posts: 49
Joined: Thu Mar 17, 2016 1:04 am
Contact:

Re: avatar

by costanzo.moffa » Mon Sep 05, 2016 12:40 pm

gravatar
costanzo.moffa
Registered User
Posts: 28
Joined: Thu Dec 06, 2012 12:11 pm
Name: costanzo
Contact:

Re: avatar

by MarkusWME » Mon Sep 05, 2016 1:48 pm

OK. Now i tested it with Gravatar. Without any problem. Maybe you have activated an adblocker which blocks the Gravatar images? Have you tried to copy the link address and open it in another tab or another browser?
User avatar
MarkusWME
Registered User
Posts: 49
Joined: Thu Mar 17, 2016 1:04 am
Contact:

Re: avatar

by costanzo.moffa » Mon Sep 05, 2016 1:51 pm

no nothing
but i use an ext for facebook register and it use a gravatar images
costanzo.moffa
Registered User
Posts: 28
Joined: Thu Dec 06, 2012 12:11 pm
Name: costanzo
Contact:

Re: avatar

by MarkusWME » Mon Sep 05, 2016 5:17 pm

To test what's wrong I have visited your forum. For me it looked like on the image:

Name Suggestions.png
Name Suggestions.png (5.92 KiB) Viewed 118 times


The only avatar it wasn't able to load was the avatar of the user "costanzo". I looked at that problem and I think to get this to work you have to check your forum address in the board settings. It could be possible that the root path of phpBB isn't set correct.
User avatar
MarkusWME
Registered User
Posts: 49
Joined: Thu Mar 17, 2016 1:04 am
Contact:

Re: avatar

by costanzo.moffa » Tue Sep 06, 2016 5:18 am

hi
i change all avatar because with facebook registration doesn't appears it
in the board settings the address is correct
costanzo.moffa
Registered User
Posts: 28
Joined: Thu Dec 06, 2012 12:11 pm
Name: costanzo
Contact: