tzdk
Forum Replies Created
-
Forum: Plugins
In reply to: [Lightbox Plus Colorbox] 2.5.5 broken – frames are out of alignmentSite is known? Is not known to any blacklist, including WOT http://www.mywot.com/en/scorecard/simplewpthemes.com How about changing that? Not really a good idea to remove link. Has no effect but reporting can have, the more the better.
I have done Google http://www.google.com/safebrowsing/report_badware/
Partly pissing in the pants but very annoying for such sites and it should also be annoying to see them all “Clean” and green. As you can see from the 1 comment on WOT “they” are aware. And WOT is gamed – hence pissing reference. But battle is on…
Forum: Plugins
In reply to: [Lightbox Plus Colorbox] 2.5.5 broken – frames are out of alignment[ Link redacted, that site is not welcomed here ]
Theme seems to be really bad. Obfuscated Javascript, check footer.php
<div id="footer"> <!-- Please do not edit following code, it may cause your site to stop working! --> <div class="alignleft">Copyright © <?php echo date('Y'); ?>. All Rights Reserved. Designed by [ Spammy links redacted ] </div> </div> </div> <?php $code = get_option('swt_custom_analytics_code'); echo stripslashes($code); ?> <?php wp_footer();?> </body> </html>“Viagra” is a hint. Demo is cleaner, download not! And there is more. Actually your site seem clean too so I dont know. May be you should post in other forum section and get someone to check properly. I guess theme site itself could be hacked or something. Or they used to be ok but then bad guy took over.
To fix, probably fix!, remove this from header.php
<script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/js/jquery-1.4.2.min.js"></script>Right after
[ That code really does not need to be shared here. ]which you might not see.
Supplier does not seem like the most stable that is for sure. Also not with updates so may be time to look for a replacement?
I downloaded 3 more, all with crap in them so if they offer a FREE update say no 😉
Forum: Plugins
In reply to: [Lightbox Plus Colorbox] Blinking Close ButtonWell I was also telling you to look the wrong place, heh
/wp-content/lightbox-plus/css/fancypants/helper.js
“/plugins/” should be put in there.
Forum: Plugins
In reply to: [Lightbox Plus Colorbox] Blinking Close ButtonLets see how much of a fix it is but works for me.
Well file is part of 3 themes:
Fancypants
Stockholm
OvertextSo you use one of those.
After inspection Overtexts helper.js does not include this code so you use Fancypants or Stockholm.
If you use Fancypants file will be located here
/wp-content/lightbox-plus/css/fancypants/helper.js
All themes are under /css/ folder. When you select a theme in settings you kind of select a folder as well.
You can copy/move all themes in to own folder so modifications wont get lost from an update. Check FAQ “Can I add my own styles and images for the overlay?” But its just that 1 change apparently.
I only checked Fancypants btw.
Forum: Plugins
In reply to: [Lightbox Plus Colorbox] Blinking Close ButtonChange duration from 0 to 1/1000sec. in helper.js – or that works for me. Seems like some weird jquery workarounds dev. need to look at. 1/1000sec make no sense but take away the blinking. Anything but zero.
You have already moved styles to custom folder so easy for you to change last 0 to 1 or above. Is last part with “Show close button with a delay” comment.
jQuery(document).ready(function($){ $(document).bind('cbox_open', function () { // Hide close button initially. $('#cboxClose').css('opacity', 0); }); $(document).bind('cbox_load', function () { // Hide close button. (It doesn't handle the load animation well.) $('#cboxClose').css('opacity', 0); }); $(document).bind('cbox_complete', function () { // Show close button with a delay. So he says but 0 is not much of a delay! 0 = disable duration. 1/1000sec is better. $('#cboxClose').fadeTo('fast', 1, function () {$(this).css('opacity', 1)}); }); });I hope you can reproduce fix. But dont click resolved if you can do that. Dev. needs to see this I think.
.fadeTo doc http://api.jquery.com/fadeTo/
Forum: Plugins
In reply to: [Lightbox Plus Colorbox] Lightbox Stuck Continually On LoadingRight now you dont use Lightbox Plus but 3 other Lightboxes!
Easy-Fancybox
Auto-Thickbox-Plus
Build in Fancybox from your Eleganttheme<a class="thickbox fancybox"is applied to thumbs. And a lot of double load of JS stuff.
I am not sure build in Fancybox actually do anything unless you tell it to, but the other 2 are definitely active. And Lightbox Plus will be no different so if you tested in a similar Lighbox orgy you should probably redo. Only use 1 at a time.
Forum: Plugins
In reply to: [Lightbox Plus Colorbox] Pictures not appearing in Lightbox anymoreThis thread is going places 🙂
Your problem is this http://cdn.designfather.com/wp-content/themes/open/js/jquery.tools.min.js Name hints file consist of jQuery.tools stuff and it does but oops, also includes jQuery 1.3.2 and then all bets are off. You can see in JS error console that Lightbox Plus think jQuery is 1.3.2 and so its .delegate http://api.jquery.com/delegate/ does not compute as it was added in 1.4.2
Also has some “jquery.event.wheel.js” thing. Besides of course jQuery tools script. That is another jQuery library thing used for tabs etc.
I see theme is from Themeforest so you should be able to contact dev. and ask for a fix? You cant because he removed theme? (I cant find it!) Well, then find another. May be from someone who updates their premium stuff? Idea of bundling is pretty good as an optimizing tweak, less http request, but not for mission critical scripts like this. No need to say jQuery 1.8.3 is ALSO loading. This bundle script is not identified or can act as a genuine jQuery = mess. And besides it is dirt old and probably wont work with lots of newer plugins, Lightbox Plus is one of them.
If you can fiddle with theme code you can fix this with no dev. Brute force is simply to edit out the ancient jQuery. That would be hmm the first 2 lines under
* File generated: Fri Sep 18 05:25:32 EDT 2009both starting with
(function()Next problem could be jQuery tools as that is also very old. http://jquerytools.org/release-notes/version-1.1.1.html from 2009 so if compatible with jQuery 1.8.3 or not I dont know.
If I am not blind and dev. really has removed theme you cant re-download it so make backup before doing anything. And perhaps start looking for new theme. Since this is crazy outdated other things probably are less than great. Time to die…
Dev is still selling there http://themeforest.net/user/Maximus/portfolio so you can always ask if he can help. Oh, they have own forum and there is one for “Open” theme http://support.themedemo.net/forum/open
Forum: Plugins
In reply to: [Lightbox Plus Colorbox] Pictures not appearing in Lightbox anymoreYour Sharedaddy buttons also have a problem.
In your Dawanda widget try remove this
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>Widget will work as correct jQuery file is already loaded. Comes with WordPress. If it does not work their slider script is broken or not usable with current WordPress. If site was almost blank then jQuery might not be loaded already but is on your site.
Problem is they tell you to do this, here http://de.dawanda.com/cms/c/de/Verkauferportal/38-FAQ/386-WerbeWerkzeug-Widget#Wie-kann-ich-mir-das-DaWanda-Widget-auf-meiner-Wordpress-Webseite-auf-meinem-eigenen-Server-einrichten but is wrong. They have no clue of WordPress. Loading 2 jQuery files is dumb. Different versions or loading one via a widget does not help.
Also you have Fancybox loaded. Dont know if that is a problem or not. I would think a big yes. Since you use Eleganttheme I doubt there are options to disable. Not even sure it does anything actively but should it be a problem you can disable manually, somehow. Should probably check their forum.
May be there is issue related to Lightbox Plus but you should fix these first.
Forum: Plugins
In reply to: [Lightbox Plus Colorbox] Images do not appear using LBPYou have a plugin forcing latest jQuery 1.9 from Google CDN.
http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js?ver=2.4.5Not wise as it does it in a stupid way, caching is hosed with “/1/”, but with jQuery 1.9 it has become critical as a migrate.js script is required to fix incompatible scripts. You do not load that so this can cause issues. The plugin forcing jQuery load has no clue of jQuery 1.9 and the almost required migrate.js file. Dev. thought he/she was smart using “/1/” as then latest version would always load. Nope not smart! Tons of scripts are not 1.9 compatible. Is only a little trick for devs., should not be in released plugin.
http://blog.jquery.com/2013/01/15/jquery-1-9-final-jquery-2-0-beta-migrate-final-released/
Load both if on 1.9 and then check error console which will tell you when jquery-migrate-1.0.0.js is working = saving you from broken scripts.
If relevant for this popping up issue I dont know but very likely will be for what ever else you run. I dont know how bleeding edge Lightbox dev. is but you probably should do testing on the version coming with WordPress 3.5 – that would be 1.8.3
Works fine for me on jQuery 1.9 but JS can act up in mysterious ways. You definitely will want migrate.js script if not very much on top of jQuery issues.
Forum: Plugins
In reply to: [Lightbox Plus Colorbox] Images do not appear using LBPA quick observation. With 2.5.6 beta plugin picks up an image in a “read more” setup. Image is shown but not whole post. Like an excerpt. 2.5.5 and that post in for example a category loop would not pop up. Now it does.
Make sense? Well either way continue 🙂
Using jQuery 1.9 btw.
Forum: Plugins
In reply to: [jQuery Colorbox] Invalid CSSI am not developer but CSS comes from Colorbox not this WP plugin. http://www.jacklmoore.com/colorbox
Well as said I would use CSS-Lint for CSS. Or try check/validate HTML5 BoilerPlate, Twitter Bootstrap or similar “authority” things and you will probably get in to a spin of who to guide you. Those validator services are not supreme court, or necessarily updated! = not relevant with everything. CSS Lint is updated, over and over. Not even sure about how updated as I think they still insist on IE10 prefixes which have been deprecated since last summer! And IE9 dont even know them so what is the point? Site is ultra conservative I think. ColorZilla also still use them. Dont believe all you see on internet. “Lots of stuff need updating” http://www.impressivewebs.com/dropping-ms-vendor-prefixes-ie10/ sure, in 1 year or so…. Until then you can say “invalid” all day long 🙂
Apparently CSS Lint call red alert for the old IE6 hack I mentioned, _behavior, but if used like that to avoid issues with normal browsers it make sense even if invalid. Using a body/hmtl class would be better and probably why they declare “parsing error” or stupid hack.
I actually dont use the plugin right now but have before and then I deregistered themes. Copied CSS to other file and removed stuff, like the IE6 chuncks. Nothing stops you from doing that. I am also pedantic with correctness – and hate fluff and more http requests than necessary. Speed is also a parameter.
Choose a theme, lets say no. 3. Then you have that + 1 CSS file the Zoom part to get rid of.
add_action ('wp_enqueue_scripts', 'dropColorboxCSS'); function dropColorboxCSS() { wp_deregister_style('colorbox-css'); // jquery-colorbox-zoom.css file wp_deregister_style('colorbox-theme3'); // colorbox.css in theme3 folder }One thing to remember is the /images/ folder under each theme. 3, or at the very least 3, calls to those files will need to be changed in your own CSS file. Change to absolute path or relative to own CSS file/folder.
Also in other folder where jquery-colorbox-zoom.css is you see
background: url("../images/zoom.png") no-repeat scroll 50% 50% transparent;So it will look for /images/ folder 1 level higher up. Wont match your own CSS so have to change path and/or placement of those images. Besides this it totally works and you can change/improve what you like.
This info you can get out of /jquery-colorbox/includes/jquery-colorbox-frontend.php file. I think he use some variable for theme number but if you want no. 5 just change number in above snippet.
Forum: Plugins
In reply to: [jQuery Colorbox] Invalid CSSNot an error but result of validator not approving of special IE code.
Also check “behavior” vs. “_behavior”. Both for more special old IE code but last one apparently a hack to avoid issues with other browsers http://breakthroughdesign.com/transparent-images-ie-using-pngs/76
This is the chunk in colorbox.css you refer to I think
/* The following fixes a problem where IE7 and IE8 replace a PNG's alpha transparency with a black fill when an alpha filter (opacity change) is set on the element or ancestor element. This style is not applied to or needed in IE9. See: http://jacklmoore.com/notes/ie-transparency-problems/ */ .cboxIE #cboxTopLeft, .cboxIE #cboxTopCenter, .cboxIE #cboxTopRight, .cboxIE #cboxBottomLeft, .cboxIE #cboxBottomCenter, .cboxIE #cboxBottomRight, .cboxIE #cboxMiddleLeft, .cboxIE #cboxMiddleRight { filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#00FFFFFF,endColorstr=#00FFFFFF); } /* The following provides PNG transparency support for IE6 Feel free to remove this and the /ie6/ directory if you have dropped IE6 support. */I only know CSSLint http://csslint.net/ that take CSS validation seriously and still much output is debatable. No IDs policy is bad fit for many things, including common sense. But why you can enable/disable all tests via drop down arrow. Very good overall. What you use?
Forum: Plugins
In reply to: [jQuery Colorbox] JQuery worked fine, now broken.Is probably because this plugin recently updated Colorbox script and that one is not compatible with your 3 year old WP install 🙂
http://www.jacklmoore.com/colorbox
Current version: 1.3.20 ( Released under the MIT License | Github | Changelog )
Tested in: jQuery 1.4.3+ in Firefox, Safari, Chrome, Internet Explorer 6, 7, 8, 9, Opera 11.
For older versions of jQuery (1.3.2+), use version 1.3.18Your WordPress install is 2.8.4 and use jQuery 1.3.2, best of 2009.
So you are in a hole but might be able to stay there if you use old plugin version. Or perhaps replace colorebox script with 1.3.18 as colorbox dev. suggest.
But most will scream Nooooo!
Site does not seem to have much JS stuff, except Nextgen, but possible your old theme will go crazy on latest WordPress. Or other PHP stuff. Dont know, test carefully. Take full backup so you can restore historic code. Newer theme or fix for old could then be tactic.
Forum: Plugins
In reply to: [jQuery Colorbox] Jquery Gallery loading super slooooowww…..Seems to be a network/server issue. If you start up something like Firebug and activate “Net” tab you can see how images are coming in, sloooowww. Once loaded there are no problems. Your slideshow is actualy way too fast for my eyes 🙂
How to fix? Faster host and/or stop using images up to near 4000×3000! Some are gigantic. I am not too much in to images but if you look at size they seem pretty optimized but when so large they still can be way over 1mb. If you resized them to be max 1200px wide or something, while not messing up quality!, that will definitely help.
Also you have constantly 2 files not found, 404 errors. Never a good thing. See them here http://imm.io/PxaF or better http://www.webpagetest.org/result/121218_9Z_KE8/1/details/ 1 from drop down menu plugin I dont know where the other comes from. Is not even a file.
jQuery Colorbox seem to handle monster images ok but may be it will also run a little faster with less to squash. Less cpu usage perhaps. From checking network load times it has nothing to do with slooooowww issue. As everyone else jQuery Colorbox is waiting.
If hooked on speed you might want to put an “expire header” on those big images. That is not something to mess up with or rush in to but if you check HTML5Boilerplate .htaccess file, which set these things up https://github.com/h5bp/html5-boilerplate/blob/master/.htaccess and scroll down to expires header you get the idea. When my browser HAVE downloaded a JPG KEEP it for X number of days/weeks/months. Do not request another download when revisiting. Works best for static stuff, like your images. Issues: If you change image but not file attributes I never get to see your changes, not until I empty cache in browser and force a redownload. This is why they say about “expires headers”
They assume you control versioning with filename-based cache busting
Assuming 🙂 You need full understanding for this before doing much, no copy and paste until then!, but is a very good idea for image heavy site like yours. Much to gain if done right.
Make no sense because it used to be fast? Hence use of word “suddenly”! Well may be I am wrong but servers/hosts can go up and down in speed. Good weather/bad weather.
Forum: Plugins
In reply to: [Contact Form 7] [Plugin: Contact Form 7] suspected malware URL : /readme.txtTechnically tool is correct as issue was a link to an infected website of a translator. Was black listed by Google, think it was this one https://www.virustotal.com/url/c3ce6d5afef4b923185e80c561b3f28fb1efea7c719eed5d42067d1f15312e2b/analysis/1351651331/
If you do a re-scan right now you will see it is clean.
Text file can contain malware, does not even have to be a text file so I do not think it is an error of scanner to include text and such files. Or to include “You wont die by looking” bad links category. That is what it is supposed to. But site is of course not infected, must translate findings to real life before doing anything 🙂