Jamie Thingelstad
Forum Replies Created
-
Forum: Plugins
In reply to: [HipChat] Bad auth token or room nameI tried this again today and it now worked fine. Not sure what I had done wrong but all seems well.
Forum: Plugins
In reply to: [P2 Resolved Posts] Limit access to flag as (un)resolvedThanks! That would be great!
@sam,
You didn’t post a link to your site so I’m just going to guess. I would suspect that your logo image tag doesn’t have a set width and height parameter. By commenting out the size lines when the src of the image is swapped an image that doesn’t have fixed width and height would get bigger.
See if that does the trick. Just set a width and height parameter on the image.
Hello Jordy —
I upgraded the plugin and everything seems fine, however, I did still have to comment out the two lines that I mentioned before in order to make it work on images that are in a carousel/slideshow.
Once I commented those out it was working again.
Okay. I’ve been hunting this down and I definitely think this is something going on it retina.js but I’m not completely sure. I’ve stepped through with the Javascript debugger and it clearly shows that in the
.swap()
method the values forthat.el.offsetWidth
andthat.el.offsetHeight
are 0.In fact, since I don’t think there is any reason for WP Retina 2x to actually change the size of an image I commented out these two assignments and now the plugin works in multi-image posts.
Edit in
js/retina.js
:RetinaImage.prototype.swap = function(path) { if (typeof path == 'undefined') path = this.path.at_2x_path; var that = this; function load() { if (! that.el.complete) { setTimeout(load, 5); } else { // Commenting these assignments out, they set the value to 0 // that.el.setAttribute('width', that.el.offsetWidth); // that.el.setAttribute('height', that.el.offsetHeight); that.el.setAttribute('src', path); } } load(); }
Thanks Kevin — updated and all works fine after the update.
Thank you! I switched it from edit_themes to switch_themes and it works great for me.
And, as you reference, I have define(‘DISALLOW_FILE_EDIT’,true); in my wp-config.php which is why it wasn’t working for me. Thanks.
Kevin, would be great to have this changed in the distribution.
Kevin, thanks for the post. Any news? Anything I can provide to help out?
I’m using WordPress 3.4.1 and Contact Form 3.20 and I get the same error when I click on settings.
I get sent to
/wp-admin/admin.php?page=contact_form.php
and this is the error presented
You do not have sufficient permissions to access this page.
I’ve looked at file system permissions and they are fine. And I am logged in as a WordPress Administrator.
Forum: Plugins
In reply to: Twitter Tools problem with Sidebar ModulesThis fix worked for me, but note that as of March 24th it is not line 567, but instead line 537 where this line is.
It does seem to make it work fine with Sidebar Modules (I’m using K2 as well).