k3davis
Forum Replies Created
-
Forum: Plugins
In reply to: [Google Doc Embedder] Can't get max-doc-security profile to workaenea,
I can reproduce the problems you’re having with that document. Sorry for the frustration. Google Viewer has become increasingly flaky making it difficult to deliver a good experience with a plugin that wraps it.
My one suggestion is to try the same file when converted to a PDF. Sometimes Google Viewer still chokes on the newer Office formats, though officially they are supported.
The “bandwidth” issue is discussed in some detail on the GDE site here. A simple reload usually rectifies the problem, though I agree it’s very unintuitive.
Forum: Plugins
In reply to: [Google Doc Embedder] Button for bbPress editorpalmdoc,
I’ve never used bbPress so I’m going to have to look into this. Meanwhile if anyone else out there uses GDE and bbPress and cares to weigh in, I’m happy to add this support if there is interest or straightforward documentation.
Thanks,
Kevin
Forum: Plugins
In reply to: [Google Doc Embedder] Links in embedded doc don't work-sends to redirecttexgking, you’re correct, links within the document don’t seem to work, though I never tried them before to be honest so I don’t know the normal behavior of Google Viewer in this regard.
The behavior of links in GDE is entirely inherited from Google Viewer, so any updates to GDE or WordPress are not to blame, but unannounced changes on Google’s side.
Wish I could offer more control in this area, but GDE was designed to wrap Google Viewer, and as such inherits all of its qualities and quirks.
The excerpt field is designed to be a post summary, so it is generally strange to embed something there besides text. In general it is up to the theme creator to enable shortcode support within this area. However if you have the ability to insert php code, or use a plugin designed to enable this, or have direct access to edit the theme (or better to create a child theme) you may be able to add this line of code to its functions.php to enable:
add_filter('the_excerpt', 'do_shortcode');or else use try using the do_shortcode command directly.
Forum: Plugins
In reply to: [Google Doc Embedder] SearchHi Jeanne, unfortunately it’s not possible to add search to the embedded viewer. I’ve tried several things to attempt to cram the functionality into it, but the code to make it work (much like printing) simply doesn’t exist in that version of the viewer – it’s not merely hidden, it’s removed.
Forum: Plugins
In reply to: [Google Doc Embedder] google drive issueOfficially, Google Drive isn’t supported (see the FAQ). There are several reasons for that, but overall the standalone version of the viewer wasn’t built to handle these files well outside of Drive itself (and they change their URL conventions somewhat regularly, making usage hard to maintain). I’m glad you got it to work, though.
I had an experimental version of GDE that did this translation of the share link to the download link, but it did not work consistently, because their URL formats are not always predictable. While it worked some of the time, the overall experience was still pretty poor, so I decided not to include that feature. Offering Dropbox share link support is much more straightforward, and I could offer that if it was of interest to people.
Forum: Plugins
In reply to: [Google Doc Embedder] Documents not fully responsive in mogbile viewThe mobile viewer is out of box Google code. You could opt to use the desktop version of the viewer even in mobile with the enhanced viewer option, but that experience probably won’t be the best in terms of navigation.
That said, I use it in mobile fairly often without significant issues. You may wish to link to full page versions of the mobile viewer to improve reading.
Forum: Plugins
In reply to: [Google Doc Embedder] Links in embedded doc don't work-sends to redirectClifford,
As I posted in my second message in this thread, it appears Google has introduced this “feature” recently. It is not a bug in GDE but a new (and generally unwelcome) behavior added to Google Viewer, which GDE embeds.
Kevin
Forum: Plugins
In reply to: [Google Doc Embedder] Links in embedded doc don't work-sends to redirectJoel, unlike the above I can’t reproduce what you’re seeing. Can you give me an example or any more information?
Have a look at the second example on this page which includes multiple links. Do they work for you or not?
Forum: Plugins
In reply to: [Google Doc Embedder] Not working on iPadThis happens on the desktop too on occasion, but since it’s working for you there it’s more than likely a cache or cookie issue. Unfortunately it’s kind of a pain to clear those on an iPad. This link or one like it may help.
If you don’t want to clean everything you can try going in the browser to a Google page and logging out and logging back in, if you use a Google account on the device.
Forum: Plugins
In reply to: [Google Doc Embedder] Links in embedded doc don't work-sends to redirectHi there,
I see the issue now, and indeed it’s happening on all links inside documents. The redirect page includes a link to take you to the original destination.
I’m sorry about this – this is an obtrusive new addition to the public viewer that must have been introduced recently. Unfortunately this is on Google’s end and I can’t control it from the plugin. I’ll update my “known issues” page with this information. Thanks for pointing it out and taking the time to explain it.
I will do some more investigation to see if it can be worked around in the Enhanced Viewer.
Kevin
Forum: Plugins
In reply to: [Google Doc Embedder] Links in embedded doc don't work-sends to redirectNot to presume but it looks like you have a typo in your link (“legislation”). I’m able to embed the document normally as seen in this URL:
https://docs.google.com/viewer?url=http://lcweb.loc.gov/copyright/legislation/dmca.pdf
If that’s not the issue you may have to explain further. I tried it with the typo and still didn’t get a redirect message, so I’m not sure what you’re seeing.
Forum: Plugins
In reply to: [Google Doc Embedder] css filesDon,
The dark.css file included with GDE is an example file you can use as the basis of your own css file. There is a Custom CSS setting in the enhanced viewer where you can put the URL to your own CSS file.
Editing the one provided by GDE is (while possible) not recommended because any changes may be lost when the plugin updates.
Hope this helps,
Kevin
Forum: Plugins
In reply to: [Google Doc Embedder] parameter based downloadingCharlie,
As a security consultant, let me humbly suggest you report potential security issues privately to the developer rather than on a public forum…
That said, it’s intentional that the plugin is able to load documents from other sites. However there are security measures in the file, such as requiring a user agent string specific to WordPress (not that this cannot be spoofed), and only allowing the linking of supported file types, none of which are executable.
I’d like to see (privately) what you’re seeing with respect to this being abused, so I can see if there is a way to increase the security without undermining the usefulness of the plugin.
Forum: Plugins
In reply to: [Google Doc Embedder] Fatal error:I don’t know what to tell you here; I would recommend uninstalling GDE and installing it again. The function it is complaining about isn’t declared on either of the lines indicated in the error message in the current version, so it’s nonsensical. I can’t reproduce the problem.