Forum Replies Created

Viewing 15 replies - 361 through 375 (of 403 total)
  • Kimberly

    (@amiga500)

    Sure..

    Add the following to your theme’s style.css file:

    .ngg-gallery-thumbnail img
    {
    background-color: dimgray !important;
    border: 1px solid dimgray !important;
    }
    #fancybox-overlay
    {
    background-color: dimgray !important;
    }

    Change dimgray to whatever you like.

    Kimberly

    (@amiga500)

    Sadly, i believe Youtube dropped support for that when embedded on sites. I could be wrong but from all indications and hunting around that seems to be the case. I’m sure one could auto start it via a jquery action though.

    Kimberly

    (@amiga500)

    Just re-checked your gallery and noticed the links <a> in the source are spread out across multi-lines. What i mean is for every gallery image’s <a> it actually takes up 8 lines just for its open tag. I’ll bet good money this plugin’s regex modifier expects single lined anchors. I will check for ya…

    Update
    Yup…i think i’m right. I think that is your problem. I could be wrong but the plugin author didn’t realize that the <a> tag may spread across multiple lines and so in your case on your gallery page it wont trigger. Curious, lets try a test. Locate, and open this file:

    responsive-lightbox\includes\class-frontend.php

    We are going to make a few simple changes. So before you do make a backup of this file. Once u are done these changes you want to put it on your website server.

    So, we are going to make two changes, the first on line 82 and the 2nd on line 179. The new change is identical for line 82 and line 179.

    Old Line:

    preg_match_all( ‘/<a(.*?)href=(?:\’|”)([^<]*?).(bmp|gif|jpeg|jpg|png)(?:\’|”)(.*?)>/i’, $content, $links );

    New Line:

    preg_match_all( ‘/<a(.*?)href=(?:\’|”)([^<]*?).(bmp|gif|jpeg|jpg|png)(?:\’|”)(.*?)>/is’, $content, $links );

    All i did was add the letter “s” (its a regex modifier which allows for the dot metacharacter to match new lines).

    Let me know if this resolves your problem. If not then u can put it back to the original file and we can keep trying to figure it out.

    Cheers
    Kimberly

    PS – i dont have the plugin installed so i am only going by code observations.

    Kimberly

    (@amiga500)

    i dont see this plugin’s requisite files being included on your gallery page (only on ur blog page). Did u set this plugin up correctly to respond to galleries?

    Kimberly

    (@amiga500)

    Kimberly

    (@amiga500)

    hard to say without test urls but if its not consistent (meaning some times it shows the mobile version and some times it does not) i wonder if there might a global session variable that is being triggered when a mobile person is visiting and so when someone on the desktop visits around the same time the plugin mistakenly pushes the mobile version.

    If its a consistent mobile under desktop browser conditions then it would indicate w3’s user agent filters needs revising which is understandable due to a field that is always changing.

    Kimberly

    (@amiga500)

    sounds like a browser cache thing. you can set media files to never cache in w3tc or via your htaccess file

    Kimberly

    (@amiga500)

    I see the html is definitely minified but yea your css and js files are not. Try setting to manual mode and using the wizard to populate each file and also include all remaining files it did not include. You have lots of js files.

    Kimberly

    (@amiga500)

    yes.

    Kimberly

    (@amiga500)

    Left-side column. Look for: Performance
    If you don’t see it there look for an error_log file in your root or in /wp-admin and let us know whats in the file

    Kimberly

    (@amiga500)

    Hi again! I’d also recommend you use a page cache plugin and minify tool such as Super Cache or W3 Total Cache. That should help speed things up and reduce a number of those requests and ultimatley should help stop those timeouts.

    If you like you can try that first before reducing the # of posts on your front page.

    Just be aware that when u set up those cache/minify tools you may expeirence some temporary hiccups (e.g. some js files may be placed in the wrong order when combined) — all fixable though.

    Kimberly

    (@amiga500)

    Are all of these plugins used on your other sites cuz the only issue i see from your url is that it is a very slow server and risks timeouts. Btw, just now i did a refresh and found a lot of 504 timeout errors. Does your server use Varnish cache server?

    Also you have way too many resources loading on that front page (325 requests).

    Kimberly

    (@amiga500)

    test link?

    Kimberly

    (@amiga500)

    Not sure if it was your intention but i notice you are double including a torus js file, the last of which is causing a js error. that is why you are having problems. You might not want to include the maskitto-light torus stuff when this plugin is already attempting to do the same (conflicts ensue).

    Kimberly

    (@amiga500)

    an easier solution would be to simply Add CRLF to the wp_mail calls since emails have a max line of 998 bytes. I implemented this years back for this plugin and it still works like a charm.

    You’d have to set up a filter: add_filter(‘wp_mail’,…) and inside the filter you’d simply add the CRLF to the message key’s value via searching for the </tr> and replacing it with a </tr>\r\n

    Very easy solution.

    As bonus i also fixed an issue with wordpress (not related to this plugin) for DKIM signatures (also using a little known/used filter).

Viewing 15 replies - 361 through 375 (of 403 total)