• Welcome to Simple Machines Community Forum. Please login or sign up.
December 05, 2021, 11:01:49 PM

News:

SMF 2.0.18 has been released! Please update. Read more.


Profile Picture Not Showing Up On Mobile!

Started by _.EvilExecutor._, May 30, 2020, 12:39:34 AM

Previous topic - Next topic

_.EvilExecutor._

Hey,

I have SMF installed in my site (forum.lazergaming.net) and I'm facing a problem right now.

Everything is configured all right(from what I know) but profile picture doesnt show up in some mobile devices. I didn't show up in Samsung A20 and some other devices.

I tried clearing cache, changing the theme and stuff. I will add an attachment to show how it looks like. Any help is welcomed!

Note: The profile Pic doesnt show up in the default SMF theme also

m4z

I believe that is by design.

Re: default theme, are you also referring to mobile, or desktop?
"Faith is what you have in things that don't exist."
--Homer Simpson

Es gibt hier im Forum ein deutsches Support-Board!
<werbung>Meine Freundin hat ihr erstes Buch veröffentlicht!</werbung>

_.EvilExecutor._

I'm speaking about mobile version(No problem in desktop version.). Switching between themes wont work. So I assume it has nothing to do with the theme.

Any ideas about what I can do?

m4z

You'd have to manually edit the theme. AFAIK, the developers decided to not show avatars on mobile, so it's not there, not even as a user option.
"Faith is what you have in things that don't exist."
--Homer Simpson

Es gibt hier im Forum ein deutsches Support-Board!
<werbung>Meine Freundin hat ihr erstes Buch veröffentlicht!</werbung>

_.EvilExecutor._

May 30, 2020, 02:11:52 AM #4 Last Edit: May 30, 2020, 02:26:03 AM by _.EvilExecutor._
Yeah Maybe. Still confused why it's showing up in some mobile devices...(oh and i noted in this community profile pics show up in mobile devices without issues)

Anyways how can I edit files and make the profile pics appear in any device?

_.EvilExecutor._

GOOD NEWS: I fixed it. I was using http when I uploaded the profile pic,  so re-uploading it with https fixed. So i doesnt have anything to do with theme or SMF

And Thanks For The Help Offered!

m4z

Hmm, interesting. I guess what I said above must be wrong then.
"Faith is what you have in things that don't exist."
--Homer Simpson

Es gibt hier im Forum ein deutsches Support-Board!
<werbung>Meine Freundin hat ihr erstes Buch veröffentlicht!</werbung>

Illori

then you should enable the image proxy, that would fix this issue and avatars linked to http would show up correctly.

_.EvilExecutor._

June 04, 2020, 07:46:08 AM #8 Last Edit: June 04, 2020, 08:00:32 AM by _.EvilExecutor._
BUMP!

I thought the problem was fixed after re-uploading because at that time it worked. But I was wrong. The problem doesn't apply only for mobile. Time to time profile pictures wont show up doesn't matter what device it is.

I tried clearing cache many occasions but it didn't work. But clearing the browsers cache was a temporary fix I found. It fix the issue but it causes again.

I'm using SMF 2.0.17 with Sunrise theme. Below mods are used,

TinyPortal   
Optimus   
@mention members   
Activity in Profile   
Profile Views   
Team Page   

EDIT: Maybe these things are useless but just in case I changed forum fro http to https & the forum is at forum.lazergaming.net though its installed at lazergaming.net/forum.

Any help welcomed.

Thanks
_.EE._

Illori

Quote from: Illori on May 30, 2020, 05:46:13 AM
then you should enable the image proxy, that would fix this issue and avatars linked to http would show up correctly.

Have you done this?

_.EvilExecutor._


Kindred

please include the URL of a page demonstrating the problem??
Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.<br /><br />"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

_.EvilExecutor._

since it doesn't happen all the time and doesn't happen to every user I doubt I can provide something like that but it looks like..

and same with desktop too..

_.EvilExecutor._

It just happend again when I'm using desktop...


Horme Gaming

does it happen when you use the SMF default theme (the one that is used here) ?

_.EvilExecutor._

Quote from: _.EvilExecutor._ on May 30, 2020, 12:39:34 AM
I tried clearing cache, changing the theme and stuff. I will add an attachment to show how it looks like. Any help is welcomed!

Note: The profile Pic doesnt show up in the default SMF theme also

Yeah same with it too :(

Arantor

Whichever portal you are using needs an update to use the image proxy.
No good deed goes unpunished
All helpful urges should be circumvented

Kindred

you have some problem with your general configuration....  because when I go to your site, it shows me http, not https -- and this prevents many images form appearing.

I can't debug further, because your site requires a login to see anything
Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.<br /><br />"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

_.EvilExecutor._

Yeah I' aware of that. I mean once you are logged in you will redirect to https.

I made a test account

user: test
pass : test

m4z

If you just "changed to HTTPS" in the Admin Control Panel, I think you need to run repair_settings afterwards, to change the URLs of your themes, avatars, attachments, etc., to HTTPS, too.

What Kindred refers to is that many browsers nowadays won't show some HTTP ("mixed") content when your site is HTTPS. Images would fall under "passive mixed content", and I don't know if (or which) current browsers block them by default.
"Faith is what you have in things that don't exist."
--Homer Simpson

Es gibt hier im Forum ein deutsches Support-Board!
<werbung>Meine Freundin hat ihr erstes Buch veröffentlicht!</werbung>

Kindred

right....   so, something is bad in your configuration.

Could be as Arantor suggests and be related to the portal settings...  but your avatar fails to show in https and shows in http

does not show, asks for a login every time, even when I am logged in
https://forum.lazergaming.net/index.php?action=dlattach;attach=14;type=avatar

displays the avatar...
http://forum.lazergaming.net/index.php?action=dlattach;attach=14;type=avatar
Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.<br /><br />"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

_.EvilExecutor._

well for me both the links you provided works...

And I also ran repair tool and changed all link to https.

IDK where I did wrong :(

Kindred

your avatar -- is it one of the internal avatars that anyone can choose from, or is it an external avatar from somewhere else?

If it's from somewhere else, and was chosen specifically by/for you --- Did you put it in by URL or did you upload it?
Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.<br /><br />"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

_.EvilExecutor._

I directly uploaded it from my pc to the forum.

_.EvilExecutor._

Quote from: Kindred on June 04, 2020, 11:37:59 AM
because when I go to your site, it shows me http, not https -- and this prevents many images form appearing.

I was able to fix this by overwriting the .htaccess file using this code
RewriteEngine On
RewriteCond %{HTTPS} !=on
RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]


Yet I've got no clue why the profile pictures wont appear sometimes when they are uploaded to the forum.

Advertisement: