Kimberly
Forum Replies Created
-
Forum: Plugins
In reply to: [Responsive Lightbox & Gallery] won't work with my thumbnail gallerySure..
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.
Forum: Plugins
In reply to: [Responsive Lightbox & Gallery] youtube video automaticSadly, 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.
Forum: Plugins
In reply to: [Responsive Lightbox & Gallery] won't work with my thumbnail galleryJust 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
KimberlyPS – i dont have the plugin installed so i am only going by code observations.
Forum: Plugins
In reply to: [Responsive Lightbox & Gallery] won't work with my thumbnail galleryi 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?
Forum: Plugins
In reply to: [W3 Total Cache] URL in /readme.txt flagged as Malware URLForum: Plugins
In reply to: [W3 Total Cache] w3 shows mobile version on desktophard 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.
Forum: Plugins
In reply to: [W3 Total Cache] Doesn't show new imagessounds like a browser cache thing. you can set media files to never cache in w3tc or via your htaccess file
Forum: Plugins
In reply to: [W3 Total Cache] [Plugin W3 Total Cache] Minify Not workingI 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.
Forum: Plugins
In reply to: [W3 Total Cache] Safe to delete contents of wp-content/cache folder?yes.
Forum: Plugins
In reply to: [W3 Total Cache] I Can't Find the Plug In!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 fileForum: Themes and Templates
In reply to: [Sparkling] Site is often "down"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.
Forum: Themes and Templates
In reply to: [Sparkling] Site is often "down"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).
test link?
Forum: Plugins
In reply to: [Responsive Lightbox & Gallery] ToRUs effect not workingNot 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).
Forum: Plugins
In reply to: [WordPress File Monitor] Email message line length too longan 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).