Notifications
Clear all

[Solved] Odd page load behaviour

20 Posts
3 Users
2 Reactions
1,048 Views
radiostv
Posts: 99
Customer
Topic starter
(@radiostv)
Member
Joined: 7 years ago

Not sure if this bug is related to a fix I was supplied by gVectors yesterday or something else.

https://gvectors.com/forum/wpforo-advanced-attachments/odd-thumbnail-behaviour/#post-21424

The Problem

This problem only impacts mobile phone browser viewing my forum. When going back a page, you get a flash of a user's avatar full-frame!!

Tested this on a couple of phones one using Opera and another using Chrome both exhibit the same problem. When going back a page, for a fraction of a second, a flash of a posts users avatar and then page loads perfectly fine, blink and you'd miss it. However it was not there before the update or the CSS code I was supplied yesterday.

It does not do it on desktop browsers nor when I size the desktop browser to emulate a mobile phone size and thus get the responsive layout. Which suggests its specific to mobile versions of the browsers.

Really odd, hoping you guys as ever know the cause and how to fix. Might it be related to the CSS I was supplied yesterday.

You can see the weird problem for yourself if you view a thread on my form and the go back a page. It happens consistently.

https://www.radios-tv.co.uk/community/

Many thanks for your help.

p.s. 

If this is in the wrong section, sorry. I posted it here as I felt it might be related to the attachments fault and solution, I was given yesterday

19 Replies
Astghik
Posts: 6149
Admin
(@astgh)
Illustrious Member
Joined: 7 years ago

Hi @radiostv

Could you please provide a screenshot of the issue? 

2 Replies
radiostv
Customer
(@radiostv)
Joined: 7 years ago

Member
Posts: 99

@astghik

It happens way to quick to capture, which is why I left the link to my site. Just choose a thread then use the back button on your browser, if you're on a mobile you will see what happens for yourself.

As mentioned above only visible on mobile phones. I tested on desktop, iPad and iPhone they all work OK. Members who have Android phones get the huge momentary flash of a large avatar. 

 

 

 

 Tom
Admin
(@tomson)
Joined: 10 years ago

Famed Member
Posts: 4209

@radiostv,

Please update to just released wpForo 1.7.2 version, delete all caches and test it again.

radiostv
Posts: 99
Customer
Topic starter
(@radiostv)
Member
Joined: 7 years ago

Applied the update and now its broken the CSS fix you gave me yesterday for the large out of focus thumbnails, when viewed via a tablet or phone.

I have cleared all caches

see here. 

https://www.radios-tv.co.uk/community/black-white-tvs/1963-ever-ready-experimental-all-transistor-tv-set/paged/2/#post-100293

radiostv
Posts: 99
Customer
Topic starter
(@radiostv)
Member
Joined: 7 years ago

Here is a picture as evidence to show my other thumbnail problem is now back after the 7.1.2 update

examp1
14 Replies
radiostv
Customer
(@radiostv)
Joined: 7 years ago

Member
Posts: 99

The edit time on this forum is way too short

More evidence

iPad in landscape mode, shows thumbnail displayed correctly

ipad1

iPad in portrait mode, shows thumbnail displayed correctly and out of focus

ipad2
Astghik
Admin
(@astgh)
Joined: 7 years ago

Illustrious Member
Posts: 6149

@radiostv,

have you removed the code forum the "Custom CSS Code" textarea? 

 

radiostv
Customer
(@radiostv)
Joined: 7 years ago

Member
Posts: 99

@astghik

Yes I removed the css you provided (see below) cleared forum cache and CTRL & F5 twice on front end. Tested on desktop with browser scaled to mobile phone size, tested on and iPad and mobile phone (incognito mode) all show the thumbnail incorrectly as shown above.

CSS removed

@media screen and (max-width: 800px){
#wpforo-wrap figure[data-attachids] {
width: auto;
}
}

 

Astghik
Admin
(@astgh)
Joined: 7 years ago

Illustrious Member
Posts: 6149

@radiostv,

Please add the code back. The update should solve the issue related to the following issue:

This problem only impacts mobile phone browser viewing my forum. When going back a page, you get a flash of a user's avatar full-frame!!

 

radiostv
Customer
(@radiostv)
Joined: 7 years ago

Member
Posts: 99

@astghik

Anticipated you saying that and and it still fails as described.

 

Astghik
Admin
(@astgh)
Joined: 7 years ago

Illustrious Member
Posts: 6149

@radiostv,

Don't follow you well. Let's step by step understand the issue.

1. Is the following issue solved after you updated the plugin?

This problem only impacts mobile phone browser viewing my forum. When going back a page, you get a flash of a user's avatar full-frame!!

2. The update doesn't include the CSS code below. You should not remove it. Just keep it in the "Custom CSS code" textarea.

@media screen and (max-width: 800px){
#wpforo-wrap figure[data-attachids] {
width: auto;
}
}

 

radiostv
Customer
(@radiostv)
Joined: 7 years ago

Member
Posts: 99

@astghik

To clarify

1. The forum attachments were working fine after you supplied the CSS.
2. Yesterday I reported the flashing avatar
3. Yesterday evening you said apply the 1.7.2 release 
4. I applied 1.7.2 and did not remove the CSS
5. The flashing avatar problem remained, BUT now I had the attachment thumbnail problem back
6. I tried removing the CSS to see if it was causing the problem, it made no difference
7. I put the CSS code back

So I'm right back where I started 2-days ago.

Hope that helps explain

 

Astghik
Admin
(@astgh)
Joined: 7 years ago

Illustrious Member
Posts: 6149

Thank you for clarification @radiostv,

Please see the screenshot below:

cache

This is a cache issue for sure. The CSS code shown on the screenshot haven't been overwritten by the code provided in the topic. 

Please find a way to reset all modification/cache files and check again.

 

radiostv
Customer
(@radiostv)
Joined: 7 years ago

Member
Posts: 99

@astghik

Hi, I cleared fast velocity cache, then removed the plugin entirely. Cleared forum cache and ctrl f5 twice. Still got the problem. I really don;t know what else to do.

 

Astghik
Admin
(@astgh)
Joined: 7 years ago

Illustrious Member
Posts: 6149

@radiostv,

Please send the admin login details to info[at]gvectors.com email address. We'll try to help you to solve the issue. 

radiostv
Customer
(@radiostv)
Joined: 7 years ago

Member
Posts: 99

@astghik

details sent as requested, thanks, Much appreciated.

 

p.s. I've put everything back as it was before. 

 

Astghik
Admin
(@astgh)
Joined: 7 years ago

Illustrious Member
Posts: 6149

@radiostv,

Please delete the browser cache and check again. The issue should be solved. 

radiostv
Customer
(@radiostv)
Joined: 7 years ago

Member
Posts: 99

@astghik

Brilliant its OK.

Can I ask what you did so I can learn from what I was missing

 

Astghik
Admin
(@astgh)
Joined: 7 years ago

Illustrious Member
Posts: 6149

@radiostv,

We've just added an !important statement in the code, then deleted the caches and it started to work fine. 

Share:
Scroll to top