Eric Mann
Forum Replies Created
-
Forum: Plugins
In reply to: [WP Publication Archive] [Plugin: WP Publication Archive] Custom thumbnailAdded as an feature request in my GitHub issue tracker -> https://github.com/ericmann/WP-Publication-Archive/issues/13
No. Just copy and paste the URL of the uploaded media into the field on the Publication page.
@andybute I could, but at this time I am not going to. There are quite a few hacks floating around out there, and the majority of them will break pretty substantially when I release the next version. I’d rather not have any additional messiness make it into the wild.
If you have an immediate need for some specific workaround to an issue, please open a new thread for that discussion and I’ll see what I can work out.
Forum: Plugins
In reply to: [WP Publication Archive] [Plugin: WP Publication Archive] new similar pluginWow, I really like it 🙂
Forum: Fixing WordPress
In reply to: Undesired Redirect when using Hand-Held DevicesI threw your site into Fiddler to see what was going on and spoofed a mobile user agent. If you’re viewing it from the desktop, everything comes across fine. If you view it from a mobile device (or a device broadcasting a mobile user agent), there’s a bunch of extra JavaScript placed before the opening
<!DOCTYPE html>tag that will redirect the page.I won’t post the code itself here because it doesn’t really matter. Short story is that your site’s been hacked. Check out your template files to look for strange new lines. Check your server access logs. Change you passwords. Clean things up and restore from a back up.
Forum: Plugins
In reply to: [WordPress HTTPS (SSL)] [Plugin: WordPress HTTPS (SSL)] Can't stay logged inOK, even with the plugin disabled, logging in via HTTPS and jumping to the front-end (HTTP) logs me out … so it’s not the plugin that’s causing it (I don’t think) but potentially WP 3.4.1 … any ideas?
Forum: Plugins
In reply to: [WordPress HTTPS (SSL)] [Plugin: WordPress HTTPS (SSL)] Can't stay logged inIt’s a single-domain SSL certificate, so I guess that would be “private.” And, unfortunately, I can’t switch to the default theme because it’s an in-production website.
I only bring this up because it wasn’t an issue a few versions ago when I first started using the plugin and only recently came up. At the moment, I’m the only one affected.
The website in question is http://jumping-duck.com if you want to take a look and notice any immediate issues.
Forum: Plugins
In reply to: JS Banner RotateI see the images rotating just fine here … not sure what you’re seeing.
But the navigation alignment issue is, admittedly, quite strange.
Add this code to the bottom of your theme’s stylesheet and it should fix the issue (at least in my debugger it worked just fine):
#access { margin-top: 48px; }Forum: Plugins
In reply to: JS Banner RotateI just loaded your site in Firefox, IE, and Chrome, and the banner is working just fine … no double images, no overlap. So, what is the issue?
Forum: Plugins
In reply to: JS Banner RotateIt’s always easier to help fix a site we can actually see …
Forum: Networking WordPress
In reply to: Illegal string offset 'total_users'The patch was included in 3.4.1. After you upgrade, let me know for sure that it resolved the issue. But you should be golden 🙂
Forum: Networking WordPress
In reply to: Illegal string offset 'total_users'In case you haven’t been following along, this has been fixed in Core, so it shouldn’t be a problem with the next version:
There’s actually a hook for that.
function allow_more_pubs( $limit ) { return 40; } add_filter( 'wpa-pubs_per_page', 'allow_more_pubs' );Just add this code to your own functionality plugin or to
functions.phpto make things work.By default, the limit is set to 10, but I allow you to filter that limit and make it whatever value you need.
Forum: Networking WordPress
In reply to: Illegal string offset 'total_users'OK, I’ve dug into things a bit and I think this both is and is not a bug.
Yes, the code looks strange. If we’re on multisite,
$user_countis set to an integer. In a standalone installation, it’s set to an array.The
$queryvariable is then constructed from a set of variables, one being$user_count['total_users']. Logically, this should fail for Multisite, and that’s exactly what you’re seeing.However, and this is a big however, I can’t reproduce the warning you’re seeing. Even setting WP_DEBUG and forcing E_ALL for error reporting,
$user_count['total_users']returns the integer value and not a warning or error.I’ve tried this on two different Apache systems and an Nginx system. I can’t get that error back out of the system, though I can see exactly where it would come up. I’ll post a ticket on Trac anyway, but I’m not seeing this as a wide-reaching issue (See #20966).
A short-term fix for you would be to turn off or lower your PHP warning settings.
Forum: Networking WordPress
In reply to: Illegal string offset 'total_users'I just checked the logic, and it does look (at least from here) like you’ve found an issue.
The call to
get_user_count()on a Multisite installation does in fact return an integer. The return of this function is assumed to be an array (stored in$user_count) and is referenced as such farther down in the update script.A couple of us are looking in to what exactly changed and whether or not this is actually a bug …