Page 2 of 2

Re: Avatars not showing up

Posted: Sun Nov 26, 2017 4:32 pm
by 71Corvette
I reloaded my avatar, cleared the forum and my web browser cache, but it didn't change the end result.

Also, I did check that all of the original avatars are still saved in the "\images\avatars\upload" folder you noted in the quote below. Since the image is still saved in the folder you linked I wonder why the image doesn't show up.
axew3 wrote: Sun Nov 26, 2017 3:12 pm yes i see ... into your widget for an user that have not set an avatar in phpBB, the correct mystery shown.
while the phpBB avatar, if it is set, not show because:
the plugin search for custom user's uploaded avatars into (the resulting url of the image on widget is):

Code: Select all

http://www.forum.corvette-restoration.com/images/avatars/upload/fa32204b6318e94f394bfa900d906505_2.jpg

Re: Avatars not showing up

Posted: Sun Nov 26, 2017 6:50 pm
by 71Corvette
71Corvette wrote: Sun Nov 26, 2017 4:23 pm
axew3 wrote: Sun Nov 26, 2017 4:19 pm
Into ACP, under Avatar Setting
what you've as resulting value for the Avatar storage path setting?
The paths is: images/avatars/gallery
axew3 wrote: Sun Nov 26, 2017 4:19 pm If you try to update an avatar for an user, what happen? his avatar is stored where?
Let me give that a shot. I'll update my avatar and see what happens.
Sorry, the path I provided above is for the gallery avatars (which is set to "off"). The Avatar Storage Path is "images/avatars/upload"

Unless you think there's a really easy workaround I'll probably try doing a clean install of phpBB and restoring my database. I'll have to deal with the fact that images hosted on photobucket in some other way...

Re: Avatars not showing up

Posted: Tue Nov 28, 2017 1:52 am
by 71Corvette
Well, I have good news - I've been able to figure out what the issue is. It's with my .htaccess file.

On a hunch I renamed .htaccess and reloaded my webpage the avatars loaded fine.

In my .htaccess file I've tried two sets of text:

<Files *>
Order Deny,Allow
Deny from all
Allow from corvette-restoration.com
</Files>

and

<Files *>
Order Deny,Allow
Deny from all
Allow from env=internal
</Files>

In the interm I've temporarily removed .htaccess from this folder until I have time to troubleshoot this later.

The only thing I'm seeing now is that the avatars aren't centered vertically within each post like on your site. Instead, the avatars are located above the top line of each post (see screenshot below).

Image

Do you have any idea what's causing this? I'd like the avatar to be centered vertically within each post similar to on your site.

At first I thought this was occurring because the sidebar was too narrow. However, I tried inserting the widget into a wider area of my page and it does the same thing.

Any thoughts?

Re: Avatars not showing up

Posted: Tue Nov 28, 2017 6:03 pm
by axew3
i think the problem is that the image is big:
try this: on wp_w3all config page, where Last Forums Topics Widget avatar's dimension, set the dimension of the avatar to a lower value (try 30, or 40: in this example the value is 60 )
and check:
is in this case the avatar vertical aligned? If yes, than the problem is that the element on widget isn't enough big to contain the text and the image with this dimension, on same row/element. Set the avatar dimension to the max you see not cause this behavior.

If you need to leave the dimension as is of avatars, than you may edit the file views/phpbb_last_topics.php changing the % assigned dimensions to td elements.

Re: Avatars not showing up

Posted: Fri Dec 01, 2017 5:52 am
by kaspir
For your phpbb/images/avatars/upload/.htaccess
I use this and works fine:

Code: Select all

SetEnvIf Referer yourdomain.com internal

Order deny,allow
Deny from all
Allow from env=internal

As for your alignment, I peeked at your CSS, try and remove this "float:left;" or uncheck it upon inspection and see what I see. I checked a mobile view as well, and seems to be fine with this change as well as full screen. Hope that helps.
Image

Re: Avatars not showing up

Posted: Tue Dec 05, 2017 3:13 am
by 71Corvette
Both these fixes worked like a charm. Thanks to you both for the help, and for a great plugin!

Tim