1.5 Last Topics Forum Widgets avatars not work

falcon
User www
User www
Posts: 76
Joined: Tue Apr 05, 2016 6:56 pm

Re: 1.5 Last Topics Forum Widgets avatars not work

Post by falcon »

All settings is as need to be.

Solved dimensions after .css edit. Avatars from gallery are here but no avatars from upload folder. *.htaccess allow from my domain.
User avatar
axew3
w3all User
w3all User
Posts: 2883
Joined: Fri Jan 22, 2016 5:15 pm
Location: Italy
Contact:

Re: 1.5 Last Topics Forum Widgets avatars not work

Post by axew3 »

Because the output of the img for users in WP, that do not have a Gravatar, say that. It is correct, and not a css problem.
Solved dimensions after .css edit
what css property, on your template, you've edit?

By the way, unfortunately since i've just retest all things with avatar galleries, and all work fine, also here online where all settings about avatars are on in phpBB (upload, gallery, gravatar) i can't find any idea at moment from where it can come out.

The user that return no avatar on your last topics, what avatar option have on his profile? Gravatar email address, or Uploaded avatar option? Do you know?
falcon
User www
User www
Posts: 76
Joined: Tue Apr 05, 2016 6:56 pm

Re: 1.5 Last Topics Forum Widgets avatars not work

Post by falcon »

Users that don`t have avatars on forum topics widget have a path to his avatar: forum/download/file.php?avatar=53_1445631187.jpg and that i dont understand.
Avatars from galery as mine are ok and work on forum widget.

About style.css :

Code: Select all

img {
	/*height: auto;*/ -edited
	/*max-width: 100%;*/ -edited
	vertical-align: top; -edited, changed to top
	/*width: auto;*/ -edited
	margin: 10px; - edited, added margin
}
User avatar
axew3
w3all User
w3all User
Posts: 2883
Joined: Fri Jan 22, 2016 5:15 pm
Location: Italy
Contact:

Re: 1.5 Last Topics Forum Widgets avatars not work

Post by axew3 »

53_1445631187.jpg
this result let know that the image has not been processed by a function correctly, but i can't figure out at moment how this can be possible for the specified user and not another, since in any done test and even here online all work as expected. I should see the db, or wait for the idea/bug wake up.
User avatar
axew3
w3all User
w3all User
Posts: 2883
Joined: Fri Jan 22, 2016 5:15 pm
Location: Italy
Contact:

Re: 1.5 Last Topics Forum Widgets avatars not work

Post by axew3 »

can you try to open class.wp.w3all-phpbb.php
and search for this:

Code: Select all

   // add current user
   $current_user = wp_get_current_user();
   $p_unames[] = $current_user->user_login;
replace with this:

Code: Select all

  $current_user = wp_get_current_user();
   if ($current_user->ID > 0){
   $p_unames[] = $current_user->user_login;
  }
do not know if this will may fix the issue above, i just report fixes when added, so for sure this code fix will be on 1.5.1.
falcon
User www
User www
Posts: 76
Joined: Tue Apr 05, 2016 6:56 pm

Re: 1.5 Last Topics Forum Widgets avatars not work

Post by falcon »

Not helped.
Post Reply