Mike Doherty
Forum Replies Created
-
Forum: Reviews
In reply to: [Vanilla PDF Embed] does not work with internet explorerSorry, I am not available for hire. In any event, this is not the fault of my plugin, it is the fault of Internet Explorer, which requires Adobe Reader (or perhaps some other PDF plugin) in order to render embedded PDFs. That’s why there is a download link as fallback.
You should strongly consider *not* embedding PDFs. They’re bad for accessibility, they’re poorly supported by web browsers, they’re bad for searching, they’re just **bad**.
Forum: Plugins
In reply to: [Vanilla PDF Embed] Embedded PDF's not working in Chrome and IEYou should configure your server to send PDFs as “application/pdf”.
Forum: Reviews
In reply to: [Vanilla PDF Embed] does not work with internet explorerI haven’t received a screenshot, but in any event, the plugin is functioning properly. As the plugin description details, some browsers do not support embedding PDFs with object tags. I had thought that IE was OK, but I could be wrong.
Forum: Reviews
In reply to: [Vanilla PDF Embed] does not work with internet explorerIs this regarding experiencer.co?
I haven’t been able to reproduce the behaviour you’re seeing on your site, and all my testing with WordPress 4.0.0 indicates there is no compatibility issue. Please make sure the plugin is activated on your WordPress installation — it looks like the plugin is not executing at all.
Forum: Plugins
In reply to: [Mustavatar] Patch for HTTPS sites
From 96af06ceb97de122e92d52325377f1e891b32065 Mon Sep 17 00:00:00 2001
From: Mike Doherty <mike@mikedoherty.ca>
Date: Sat, 1 Nov 2014 22:25:54 -0700
Subject: [PATCH] Use mustachio.herokuapp.com, which supports HTTPSI've used a protocol-relative URL, which will connect over
either HTTP or HTTPS, according to how the page the link
is in was loaded. That is, only secure sites will connect
with TLS, so insecure ones are spared the "penalty" of TLS.
---
mustavatar.php | 9 ++++-----
1 file changed, 4 insertions(+), 5 deletions(-)diff --git a/mustavatar.php b/mustavatar.php
index c5f66ea..a3e1854 100644
--- a/mustavatar.php
+++ b/mustavatar.php
@@ -9,7 +9,7 @@
* License: GPL2
*/-add_filter( 'get_avatar', 'mustavatar' );
+add_filter( 'get_avatar', 'mustavatar' );/*
* Add mustached goodness!
@@ -20,12 +20,11 @@ function mustavatar($imgtag) {
$url = $matches[2];
// es-cah-pay
$escurl = urlencode( $url );
-
+
// 'stache it!
- $imgtag = $matches[1] . "src='http://mustachify.me?src=" . $escurl . "'" . $matches[3];
+ $imgtag = $matches[1] . "src='//mustachio.herokuapp.com?src=" . $escurl . "'" . $matches[3];
}
-
+
return $imgtag;
-
}--
1.9.2Forum: Plugins
In reply to: [Vanilla PDF Embed] IE browser, menu cut offI’m almost certain this is not a bug in my plugin. Unfortunately, PDF embedding support varies widely by browser and browser version. If this plugin isn’t working for you, consider not embedding PDFs (really, embedding PDFs is bad, you should avoid it), or try using javascript to accomplish this in a more customizable way.
Forum: Plugins
In reply to: [Vanilla PDF Embed] Height issueYour CSS tells embedded objects to be
height: auto;. I would have expected the direct heigh attribute to override that though. I’m not very good at CSS, you should ask your friendly local web designer.Forum: Plugins
In reply to: [Vanilla PDF Embed] Make pdf not downloadableNo, there is no way to disallow downloading. Embedding the PDF is exactly the same thing as offering it for downloading. If you don’t want people to download it, do not put it online.
Forum: Plugins
In reply to: [Vanilla PDF Embed] Grey Space HUGE on top and bottomPlease try setting custom sizing:
[pdf height="600px" width="900px"]...[/pdf]…or whatever
Forum: Plugins
In reply to: [Vanilla PDF Embed] Grey Space HUGE on top and bottomSorry, all I can see is “You do not have permission to preview drafts.” Please show me a screenshot, and the generated HTML (if you can’t find it, just post all the HTML on a pastebin).
Forum: Plugins
In reply to: [Vanilla PDF Embed] Doesn't scroll on ipadThis sounds like a bug in the web browser, so I don’t think there’s anything I can do for you.
Forum: Plugins
In reply to: [Vanilla PDF Embed] Grey Space HUGE on top and bottomSorry, I’ve been travelling.
Please provide a screenshot, as well as the generated HTML, or a link to your website where I can see the problem myself.
Forum: Plugins
In reply to: [Vanilla PDF Embed] Download the PDF file.Please remember that not all web browsers support embedding PDFs natively, which is the reason for the download link fallback. If you want to support all browsers, you should pick another solution (which will probably require javascript).
Forum: Plugins
In reply to: [Vanilla PDF Embed] PDF's not visibleYes, it is probably a problem to have both plugins enabled at the same time. Please disable the other one and see if that resolves your issue.
Forum: Plugins
In reply to: [Vanilla PDF Embed] Download the PDF fileYes, browser support for embedded PDFs varies. When it isn’t supported, you’ll get a download link instead.