WP forum iframe loads really slow

Post a reply


This question is a means of preventing automated form submissions by spambots.
Smilies
:D :) ;) :( :o :shock: :? 8-) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :!: :?: :idea: :arrow: :| :mrgreen: :geek: :ugeek:

BBCode is ON
[img] is ON
[url] is ON
Smilies are ON

Topic review
   

If you wish to attach one or more files enter the details below.

Maximum filesize per attachment: 1 MiB.

Expand view Topic review: WP forum iframe loads really slow

Re: WP forum iframe loads really slow

by axew3 » Tue Apr 24, 2018 4:54 pm

p.s and here:
http://rng.clanroyal.dk/forums/ext/dmzx ... version=41
when the Loader display, it is styled (and fired) by just this line in js, that push the inline style:

Code: Select all

l.style.display = 'block';
so the loader display: you should add the style via this js function to the element, not only 'display:block' css OR, change/switch the class within this js code into the element, styling via css.
Hope it is clear what i mean.

This also can be a way to resolve your issue. Or as said above, change css declarations on the prev post linked css file.

Re: WP forum iframe loads really slow

by axew3 » Tue Apr 24, 2018 4:37 pm

... in the while check this also:
into the overall_footer.html code you've add
there is this line:

Code: Select all

document.domain = 'localhost';
but it need to be:

Code: Select all

document.domain = 'clanroyal.dk';
like also result into your page-forum.php output code,
where line:

Code: Select all

document.domain = 'clanroyal.dk';
these two lines need to be the same on both overall_footer.html and page-forum.php code

here the loader in phpBB is styled:
view-source:http://rng.clanroyal.dk/forums/ext/dmzx ... version=41

so check the file:
/forums/ext/dmzx/loadingindicator/styles/prosilver/theme/loading_indicator.css
this is the file that style the html code that output into the phpBB page, which is:
<div id="loading-indicator">
<span>Loading...</span>
</div>

let know if u can get out of this! ;)

[EDITED]

Re: WP forum iframe loads really slow

by mLgz0rn » Tue Apr 24, 2018 4:14 pm

Really got no clue how to look into this, since it's an extension for phpbb.

this one https://www.phpbb.com/customise/db/exte ... _indicator

-

and yeah, the ..loading one, scrolls with the page on the phpbb forum, but not in the iframed forum.
and just found out that it's not a "preload indicator" but a loading indicator

Re: WP forum iframe loads really slow

by axew3 » Tue Apr 24, 2018 4:11 pm

sorry i've re-read now, it is on wp, also the little second one, but the reason is the same, the css i assume

Re: WP forum iframe loads really slow

by axew3 » Tue Apr 24, 2018 4:06 pm

ah ok nice i see ... the first, given by wordpress i assume, with these little animals rounding :) work fine because on css, i assume the preloader is "styled" to scroll when page scroll, while the second little that display in phpBB, and say Loading ... is styled via css (or css output by javascript maybe) in a way that not scroll (or remain centered) when page scroll. Think you need to start checking this. You know how/OR have you take a look into this?

Re: WP forum iframe loads really slow

by mLgz0rn » Tue Apr 24, 2018 3:50 pm

I did find a preloader for phpbb, and it shows up fine.

The problem is, the position of it is static in the iframe but it's not on the main forum page.

For an example you can take a look here

http://rng.clanroyal.dk/forum/
Try clicking a forum, a preloader will show up, but it will not follow when you scroll, and if you click an item far down, you pretty much wont see the preloader at all.

http://rng.clanroyal.dk/forums/
If you click on a forum here, the preloader will show up in the middle of the forum, and follow as you scroll.

Top