tzdk
Forum Replies Created
-
Forum: Plugins
In reply to: [Lightbox Plus Colorbox] Don´t work the pluginStop being irresponsible http://pippinsplugins.com/why-loading-your-own-jquery-is-irresponsible/ 🙂
Forum: Plugins
In reply to: [Lightbox Plus Colorbox] Pictures not appearing in Lightbox anymoreBe careful about this bug http://core.trac.wordpress.org/ticket/23298
[gallery ids="126,124"] [gallery link="post" ids="126,124"] [gallery link="file" ids="126,124"]No. 1 and 2 wont work but that is what you get! And then Lightbox does not apply correct gallery/Colorbox Class as it is told not to 🙂 It will demand no. 3
If you click “?” icon for “Use for WordPress Galleries” settings this is explained. Not sure that means he know about WordPress bug at time of writing!
Relevant?
Forum: Plugins
In reply to: [Lightbox Plus Colorbox] Plugin Conflict, jQuery ?Slider is born broken.
http://wordpress.org/extend/plugins/header-slideshow/developers/ try click one of the (svn) links. Navigate to header-slideshow.php – at the top is evil code.
// use the latest version of jquery on Google's CDN at the time of development if (!is_admin()) { wp_deregister_script( 'jquery' ); echo "<script src='http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js' type='text/javascript'></script>"; }You can comment that out and it should work again but another thing is dev. has not logged in for 220 days, his site is about an SEO ebook and blog is HaCkedD by Ramzi Null. New slider?
More correctly. He has been silent for 220 days, he could be logged in every day.
Forum: Plugins
In reply to: [Lightbox Plus Colorbox] class=LBPmodalRight now you “lbpModal” as secondary class. If you change to “lbp_secondary” in “other” tab it work? Does for me with your HTML, I copy and pasted. “cboxModal” does not work though. You can name that secondary class anything you like.
After another test I think cboxModal works as well, heh. Went a bit too fast… I think you have setting problem.
My classes for Flickr popup, now testing lbpModal class:
<a class="lbpModal cboxElement"yours
<a class="lbpModal"Somethign is missing. But I dont have 4 Lightboxes active 🙂 Does seem like you only have 1 Colorbox so that is something. No JS errors either but still.
Notice
rel="wp-video-lightbox"for Youtube popup. Is that from this plugin or WP-Video-Lightbox?May be you can test with same theme but less similar plugins?
I wont bet on it but you dont really use Lightbox Plus for the video
? Is PrettyPhoto but then why cboxElement class? Conflict? May be you have to turn off all automatic injection of classes to make so many plugins work together, on same page at least.<a title="" href="http://www.youtube.com/watch?v=GoHwSPrkAa4?width=853&height=480" rel="wp-video-lightbox" class="cboxElement"><img alt="" class="video_lightbox_anchor_image" src="http://www.interpretationshop.co.uk/wp-content/uploads/2012/07/video.jpg" style="opacity: 1;"> </a> <a href="http://imapflickr.com/9df9b9" class="lbpModal"><img src="http://www.interpretationshop.co.uk/wp-content/uploads/2012/07/product-map.png" alt="" class="alignnone"> </a>Other Lightboxes I can see are:
Fancybox from Woo
PrettyPhoto from Theme
PrettyPhoto no. 2 from wp-video-lightboxThickbox is also there 🙂
http://imm.io/Viv4 There are your 2 buttons, and a gallery in background. All works. Map is in secondary thingy.
Forum: Plugins
In reply to: [Lightbox Plus Colorbox] Click Image To CloseYou probably want to use .on not .live http://api.jquery.com/live/ Is removed in version jQuery 1.9.
1.9 comes with a migrate.js file to make sure old code work, and WordPress will hopefully include that in 3.6 or support forums will blow up, but still.
Why forums will blow up can be seen in their post for an update to migrate http://blog.jquery.com/2013/01/31/jquery-migrate-1-1-0-released/
Judging by many of the questions and bug reports we’ve gotten, far too many of you are trying to do an upgrade to jQuery 1.9 without also using jQuery Migrate. Stop hitting yourself! We created this plugin to make things easy on you.
Probably best to make migrate.js do as little as possible but it will make .live work.
Forum: Plugins
In reply to: [Lightbox Plus Colorbox] Lightbox no longer workingLooks better, but where did Lightbox Plus go? Was it ever there? Could have missed it. You have this instead http://www.socialgalleryplugin.com/ Marketing gone wrong, heh. There are more than one opinion on Lightboxes in general but Lightboxes with “Social”? No, no. World is not ready for this, humanity is wiser. If you are a step ahead future is dark!
If forced to buy one I would check out FooBox http://getfoobox.com/ Mainly because dev. is good http://themergency.com/
Speaking of bars there is a Lightbox_me Lightbox loading but unless wpSqueezebar mess up it should be confined to bar content. But is a minimal Lightbox script http://buckwilson.me/lightboxme/ so that is something to look out for.
Well not all good:
Cloudfront still deliver
http://d3brdqgnb3d1f5.cloudfront.net/js/jquery-1.7.min.jsbut guess you cant do much about it.
They also load 2 identical files – or almost identical, one is http, the other https. So instead of checking what your site use and require? they just load both?
http://d3brdqgnb3d1f5.cloudfront.net/js/assets/all.packed.ac0ac397.js https://d3brdqgnb3d1f5.cloudfront.net/js/assets/all.packed.ac0ac397.js200kb each.
I assume it comes in from embedded scripts/widgets, is 3rd party so you cant really fix it.
One thing I am 99% sure you can fix and that is jQuery from Google
https://ajax.googleapis.com/ajax/libs/jquery/1.7/jquery.min.jsI think it comes from your optimizer script – but is hidden. Check this http://visualwebsiteoptimizer.com/knowledge/what-is-the-difference-between-sync-code-and-async-code-of-vwo/
If you have jQuery version 1.4.2 or later installed on the page then you may set this variable to true. The variable use_existing_jquery tells the VWO tracking code whether it should the jQuery present on the page or it should request the jQuery version of VWO library from our CDN.
And in your code there is this
<!-- Start Visual Website Optimizer Asynchronous Code --> <script type='text/javascript'> var _vwo_code=(function(){ var account_id=35166, settings_tolerance=2000, library_tolerance=1500, use_existing_jquery=false,So you need to change “use_existing_jquery” to “=true” ? I think so.
Also that service is not the best you can do to optimize a WordPress site. They do other stuff http://visualwebsiteoptimizer.com/features.php but try to come off as also handling dirty file loading. Expect them to have no clue.
If you look at source code via Firefox you see this in glowing RED
<?php do_action( 'wpe_gce_head' ); ?>means it highly suggest it is wrong.
Why is because it just sits there in between head tags as if it was pure HTML. Is pure PHP and that wont work. Also do_action http://codex.wordpress.org/Function_Reference/do_action make no sense.
You should have this in a functions.php file, like
function wp_gce_head() { do_action ( 'wpe_gce_head' ); }And then you can insert that action hook in to header.php or where ever
<?php wp_gce_head(); ?>Will spit out what action you have applied to your newly created hook, also via functions.php or other php file. add_action does this http://codex.wordpress.org/Function_Reference/add_action
add_action ('wpe_gce_head', 'my_new_function'); function my_new_function { echo 'my_new_function is spit out where wp_gce_head is injected'; }<?php wp_gce_head(); ?>will then echo that line.If not correct it is not worse than what you have now 😉
Forum: Plugins
In reply to: [Lightbox Plus Colorbox] Lightbox no longer workingPerhaps more helpful.
Use a local WordPress install, or online test site/domain.
Install Thesis, then this plugin. Works or not? If not update to beta 2.5.6 If still not working it wont get better adding more plugins/scripts.
Chances are it will work. If so you know where to look for troublemaker or you know where not to look. Better than nothing.
Easy to point fingers at such a conflicting/bloated bundle but difficult to fix – or be 100% sure what cause issue, like with Lightbox not working. Much easier going the other way, start from blank then add 1 layer at a time. Test at each step so you know what should be avoided/fixed/replaced/reported to dev.
Forum: Plugins
In reply to: [Lightbox Plus Colorbox] Lightbox no longer workingYour site is going to hell is why 🙂 And not just because it is a Thesis site.
Well actually coming plugin update 2.5.6 has fixed some issues for me and you could try that now http://wordpress.org/extend/plugins/lightbox-plus/developers/ but not the only problem, or the most important.
Too much going on:
jQuery no. 1
https://ajax.googleapis.com/ajax/libs/jquery/1.7/jquery.min.jsjQuery no. 2
http://www.startupbros.com/wp-content/thesis/boxes/parallax-slider/js/jquery-1.7.1.min.js?ver=1.2jQuery no. 3 (the real one from WP)
http://www.startupbros.com/wp-includes/js/jquery/jquery.js?ver=1.8.3jQuery no. 4
http://d3brdqgnb3d1f5.cloudfront.net/js/jquery-1.7.min.jsjQuery no. 5
http://s3.amazonaws.com/punchtab-static/js/jquery-1.7.min.js
(Also loads 2 very old Modernizr )Then there are some not found/404 images and 2 font files.
And 11 CSS Style sheets come in from Google Fonts, 11?
Main issue is overload of jQuery. Sometimes you cant do a thing because lets say a video oembedded fire up an old jQuery internally. Cant do anything about it. Who and why think of that when pasting in a link to SlideShare or what ever? Using plugins, widget scripts, Cloudfront set up wrong, falls back to you. So you fix. If widget is crap find another.
Another thing is Thesis theme. My details are shaky but unless you have dev. license you cant really update to latest version right? Does it matter if they keep the old one updated with latest fixes? Do they? As with jQuery conflicts it will bite you if ignore. Dont underestimate Thesis de$ire to get you on 2.0 stuff 🙂 That goal is part of “new release” so you probably cant outsmart them forever by staying on old version. When it eventually fails and they wont update or help at all they will link you to 2.0 purchase page. How it works! Nothing of this seem to come directly from theme though but an issue for the future even so.
I have heard version 2 is most laugable update in history of WordPress premium theme updates but that is another problem. Also and this is only gossip they should have new unique, incompatible, toying with everything, license too 😉 Another little thing to check. Do that before paying anything.
Forum: Plugins
In reply to: [Lightbox Plus Colorbox] Lightbox opening, but with no imageView source, around line 242
<div id="inner"><script> jQuery(document).ready(function(){ //Examples of how to assign the ColorBox event to elements jQuery(".lightbox").colorbox({rel:'lightbox'}); }); </script> <div id="content-sidebar-wrap" class="portfolio-single"> <h1>Vineyard Ridge</h1> <link rel="stylesheet" href="/wp-content/themes/hcecobuilders/js/nivo-slider.css" type="text/css" media="screen" /> <link rel="stylesheet" href="/wp-content/themes/hcecobuilders/js/themes/default/default.css" type="text/css" media="screen" /> <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js" type="text/javascript"></script> <script src="/wp-content/themes/hcecobuilders/js/jquery.nivo.slider.pack.js" type="text/javascript"></script>So comment out, delete or in other way destroy that line with jQuery 1.4.2 from Google.
The colorbox stuff is also weird. Like theme expect you to have Colorbox loaded. You have but from Lightbox Plus not theme. I will guess it all has to do with portfolio template or something? jQuery load is part of Nivo slider – which is old as well. You have 2.7.1, latest with jQuery fixes is 3.2 http://nivo.dev7studios.com/changelog/
Nivo files are in /themes/hcecobuilders/js/ folder and I dont think file names have changed so you can probably just overwrite old with new 3.2 versions. Notice 3.2 have a fix for jQuery 1.9 and you will want that sooner than later.
http://ascendworks.com/ they made theme? Seems more in to selling stuff but base is Genesis so update/fixes should be possible. Or if they are unavailable you can probably get help at Genesis forum. Only need to fix that 1 line, plus some worry about old Nivo.
Forum: Plugins
In reply to: [Lightbox Plus Colorbox] One picture link to several pictureTry do this:
In Lightbox Plus settings Advanced tab, enable “Use per page/post options:” Then you tick all 3 boxes, well the other 2 besides the one you have done already. I think this is funky part of Lightbox Plus right now 🙂
And now it works? I need to do this anyway. Your code is correct, images pop up as they should after this ticking exercise.
I use beta 2.5.6 http://wordpress.org/extend/plugins/lightbox-plus/developers/ so that might have something to do with it.
I had a bad feeling I had forgotten something. And now it arrived to part of brain that is awake. What I think I meant by mentioning those boxes is difference in behavior on single post vs. a loop/archive. Like in a category. Works in single, not so much else where. Full content or read more/excerpt make no difference. And this is actually what is no longer an issue with beta version but is with 2.5.5
TEST 😉
Forum: Plugins
In reply to: [Lightbox Plus Colorbox] Blinking Close ButtonJust so happens devs. own demo page use Fancypants http://www.23systems.net/wordpress-plugins/lightbox-plus-for-wordpress/demos/ and buttons are blinking full force. So eventually he will go WTF – and fix 🙂
Forum: Plugins
In reply to: [Lightbox Plus Colorbox] Lightbox wont work with template….Until someone who understand more comes along here is guess work: This WILL confuse you.
You need to validate page, inkluding popup lightbox-test.html (lots of not closed stuff) http://validator.w3.org/check?uri=http%3A%2F%2Fwww.resortsales2x.com%2Ftest-delte.html&charset=%28detect+automatically%29&doctype=Inline&group=0
How this will work I dont know. Seems like site is loading twice, 2 heads almost. 2 set of identical JS and CSS files.
Also it seems like Lightbox Plus picks up link twice. You manage one via secondary lightbox but not no. 2
<td colspan="3"><a class="lbpModal cboxElement" href="http://www.resortsales2x.com/Metapart8.mp4?" rel="lightbox" width="720" height="405">Metapgms Demo Demonstration</a></div></td>Is that not genuine native Lightbox kicking in?
what will play video? Link goes to
http://www.resortsales2x.com/Metapart8.mp4?And you start “player” with
<a class="lbpModal" href="http://www.resortsales2x.com//embed/Metapart8.mp4?" rel="Secondary lightbox" width="720" height="405">Metapgms Demo Demonstration</a></div></td>But now “//embed/” is there. Something going on but what?
I get a download offer. That </div> is one of the HTML errors. When you are doing this popup stuff you should probably not ignore errors. There are a not closed </p> there, another </td> there. Can mess things up badly.
Also right under this you have
$("a[rel*=lightbox]").colorbox({transition:"fade",innerWidth:"560",innerHeight:"315",initialWidth:"30%",initialHeight:"30%",maxWidth:"90%",maxHeight:"90%",opacity:0.8,fixed:true});http://www.resortsales2x.com/lightbox-test.html – see at the top. Not much action going on.
Browser regard code as normal HTML and the $ will not work because of this http://codex.wordpress.org/Function_Reference/wp_enqueue_script#jQuery_noConflict_wrappers script open, script close and change that $ to “jQuery” will fix this.
Can you drop the extra html file, upload video to vimeo or youtube and get what you see on his page http://www.23systems.net/wordpress-plugins/lightbox-plus-for-wordpress/demos/ Oh that close button is blinking! but nm that. Make it EASY not complicated is what I would try.
Or secret and solution is in how theme works. Layout is all table based from a shop that does not seem to have a clue about WP. They dont have 226 WordPress themes, they have 226 WordPress templates. 7515 in total. Yours is a xxxx-lite version so free I guess. You cant find better on this site? They are also free. Very few will have tables all over the place. So EASY for me would be not to use annoying theme. Why you are on WordPress 3.3 btw? This came as an autoinstall or something? Hmm. Now you dont want to hear more I think 😉
But think, new WordPress 3.5, new proven to work updated theme – you will be so happy. After some cursing about this incident of course. I could be wrong but not 100% 😉
Forum: Plugins
In reply to: [Lightbox Plus Colorbox] Blinking Close ButtonDont know where you are right now but
http://vanhoutenillustration.com/wordpress/wp-content/lbp-css/fancypants2/helper.jsis what I see active and that says “0” not “1”.
Clear W3TC cache? Like again? But as Admin you should not see cache at all – unless you have disabled that feature. You dont even seem to have minify turned but I am just saying W3TC hoping it help 😉
File is the right one, only helper.js I see is from your custom /lbp-css/fancypants2/ folder.
Well as of this second it says 0 and then I would also see evil blink.
$('#cboxClose').fadeTo('fast', 0, function () {$(this).css('opacity', 1)});Forum: Plugins
In reply to: [Lightbox Plus Colorbox] 2.5.5 broken – frames are out of alignmentWell that is stating the obvious. I was moving past that and thinking of actively going against the links you remove. Why not work on removing them else where? Which is possible but may be not so smart to do representing “official” site.
I dont think I have to worry any of that happening 🙂 Simple task is to keep forum clean not the internet. Deleted = only exist on Google and this is not Google. There is some power in reporting sites though. Saying that so you dont refer to how useless it can be. That is also stating the obvious but depends on type of site and what it “offers”.
There is a service checking like 30-40 of these black list/malware services, the one offering this broken theme and others on 31 pages! is ALL clean – just annoying.
Forum: Plugins
In reply to: [Lightbox Plus Colorbox] 2.5.5 broken – frames are out of alignmentHaving said that I now remember a case where a hacker site strong armed a well know security product in to white listing them again. Plus some more. I had the idea a mod or 2 from here could make a list of lets say 5 most effective ways of reporting – then go crazy. Encourage others to do the same. Riot! And may be use some “authority” towards report/security sites. Google will be meh I bet but there are others. Now that incident popped up I see why it is not necessarily a good idea to represent anyone or be official. The site which twisted facts was big though, huge forum was key, and these shitty theme sites probably are tiny – but still there can be some technicalities I would think. Being wrong is the obvious one.