Page 1 of 1

fix crazy avatars calls!

Posted: Fri Feb 24, 2017 8:44 pm
by axew3
As reported by elawrenc01
the last topics widget with avatars, cause a crazy multiple queries calls, one for each post on last topics, which get avatar is called to get the image avatar.

Like for other fix about config, it will be resolved on next (very soon) coming 1.6.4.

1.6.4 will increase also some other aspect about queries to definitively reduce to the minimum any data request to the phpBB database.

It was also a request about how could be possible to have phpBB notification links, to point to the iframe, and not to the real phpBB url.
A simple, very short, easy to maintain, tutorial about will be produced soon. The procedure require to add 1 line of code into phpBB .htaccess and a little snippet to be added on specific file of phpBB. Easy, that will work fine, and that let many opportunities about customization.

And that do not interfere with SEO/BOTS.

fix crazy avatars calls!

Posted: Fri Feb 24, 2017 11:42 pm
by axew3
in the while, class.wp.w3all-phpbb.php of WP_w3all 1.6.3 has just been patched about this on repository.
WP_w3all file class.wp.w3all-phpbb.php has just been updated to resolve multiple calls on last topics, if avatars option active.
The query is one single now, independently on how many widgets or topics are displayed on page.
Just download the single file or the plugin zip and replace with the new one patched.

Re: fix crazy avatars calls!

Posted: Sat Feb 25, 2017 11:55 pm
by elawrenc01
Where can we download the patch? Thanks for working on this!

Re: fix crazy avatars calls!

Posted: Sun Feb 26, 2017 3:52 am
by elawrenc01
I downloaded the file from Wordpress...

Everything is loading much faster! Good job! :D :D

Re: fix crazy avatars calls!

Posted: Sun Feb 26, 2017 8:07 pm
by axew3
There is still something else to adjust and will be done while next two releases.
There are still 3 calls to last topic. It need to be 1. And some little more, but secondary, as the others are queries aren't called each time a page load.
While these about last topics and avatars yes, if are active as options.
Thank to your report we've speed up what was need to be done time ago!