GD Booster
This topic contains 7 replies, has 2 voices, and was last updated by Paolo 10 years, 8 months ago.
We have moved to a support ticketing system and our forums are now closed.
Open Support Ticket-
AuthorPosts
-
February 27, 2015 at 2:42 am #32223
Hi guys,
I’ve just replaced W3 Cache with GD booster. However, when it is enabled, the format of my website seems to go all over the place. With things appearing where they shouldn’t. It may be an issue with my theme template again, but I wonder if you could take a look please?I will send my login details on a new message.
Many thanks.
February 27, 2015 at 2:57 am #32225This reply has been marked as private.February 27, 2015 at 4:47 pm #32298Hi Lucy,
please check now, it should be fixed.
The script “Raphaël 2.1.0 – JavaScript Vector Library”, didn’t like to be concatenated with other scripts, so we excluded it from GD Booster concatenation.
Let us know,
Thx
February 28, 2015 at 2:47 am #32356Hi Paolo,
It is mostly working, but the map is now not loading on the directory page. Thanks.
February 28, 2015 at 2:56 am #32358In fact it’s not working. There is a strange box appearing on the left hand side of the homepage, and one of the widgets in the left hand column has been dislodged. I have attached a screen shot.
February 28, 2015 at 4:38 pm #32387Hi again,
we didn’t notice yesterday, but there is a js error in the theme even with GD Booster not active.
It wont work if you have errors, actually it will only make it worse.
A check needs to be added in the theme script to check if the thing it is trying to get exists or not, otherwise if any plugin adds a sidebar with a different class than what used by the theme, the script will return an error.
this is the culprit.
bl = $(".widget-bar")If wdget-bar does not exist it breaks
It is part of this code :
var $bl = $(".widget-bar"), $th = $(".container-widget"), blW = $bl.outerWidth(), blSW = $bl[0].scrollWidth, wDiff = (blSW/blW)-1, // widths difference ratio mPadd = 60, // Mousemove Padding damp = 20, // Mousemove response softness mX = 0, // Real mouse position mX2 = 0, // Modified mouse position posX = 0, mmAA = blW-(mPadd*2), // The mousemove available area mmAAr = (blW/mmAA); // get available mousemove fidderence ratioSimply adding this check on top of it would stop it in case the element doesn’t exist and would not return an error:
if($( ".widget-bar" ).length){}else{return;}Usually it would just break the rest of that single script but with GD Booster it will break every script that comes after becasue it’s all in the same file.
Thanks
March 1, 2015 at 11:38 am #32449Hi Paolo,
Thank you, that is really helpful. Only problem being that I have no idea where to find that code?!
I have looked right through the editor section of my wordpress, and just cannot find the right place to put the check? Is it possible for you to tell me exactly which section it’s in. Or if it is less time consuming, just pop it in for me?
Really grateful for all of your help!
March 2, 2015 at 4:17 pm #32550Hi Lucy,
the idea was to pass this info to the theme developer, because if you make the change directly on your website, after the next time you update your theme, the problem will popup again.
in any case the file is: wp-content/themes/fullby-premium/js/fullby-script.js
Thx
-
AuthorPosts
We have moved to a support ticketing system and our forums are now closed.
Open Support Ticket