Forum Replies Created

Viewing 15 replies - 16 through 30 (of 975 total)
  • Hello,

    Sounds like GDE isn’t what you think it is. If you read the FAQ, you’ll see that it doesn’t work with localhost documents or (officially) with those from Google Drive. It’s meant to embed files that are stored elsewhere on the internet, such as in the WordPress media library.

    Kevin

    Thread Starter k3davis

    (@k3davis)

    Chris, there is no formal connection between the plugin and Google whatsoever. When issues have arisen in the past, I have waited in the Google support forums while the topics are largely ignored just like the general public.

    Dan continues to investigate the viability of some of the features GDE used to support. Meanwhile the number of documents that used to work with the old Google Viewer that inexplicably no longer preview is discouraging. The complexity of the viewer is much higher and the feature set seems reduced. That said, I can’t speak for Dan as to what he may or may not be able to accomplish. The process will likely take some time. I’ve made steps to make GDE as stable as possible with the reduced functionality in the meantime.

    Thanks,
    Kevin

    Thanks Arooshi, that bit of info revealed the problem. Google Viewer is a “cloud” service that doesn’t have access to your “localhost” documents. Your document must be somewhere publicly accessible in order to be converted for viewer use, even if your WP site itself is running on localhost. See the first item in the FAQ here on the plugin page at wordpress.org.

    GDE is a document viewer by nature so there’s no normal option to display just a link. You may be able to achieve the same effect by setting your maximum file size in GDE Settings to something ridiculously low, but that’s not how it was intended to be used. This would affect all the instances of GDE on your site, so you could not pick and choose.

    Another option (which also applies to all the PDFs on your site globally) is to edit your .htaccess file to force downloads of all PDF file types. This isn’t a GDE function either but may fit your needs. The sample code is below for convenience but is not supported by this plugin:

    <FilesMatch "\.(?i:pdf)$">
      ForceType application/octet-stream
      Header set Content-Disposition attachment
    </FilesMatch>

    asgharpure, since you’ve demonstrated this doesn’t work with Google Viewer, it’s not going to work with GDE either, which merely wraps that service. You may have a document that is formatted differently in some way or you may have encountered a bug of some sort on Google’s side with some aspect of your file. In either case, GDE can’t currently display documents that Google Viewer can’t display.

    Arooshi,

    You’ll have to provide more information here. Does the document preview work if you use Google Viewer directly?

    https://docs.google.com/viewer

    If it does, please include the shortcode you’re using here.

    Kevin

    If you want you can try to add it right to the download link in gde settings. If that doesn’t work you’ll have to add the code manually. I’m not adding any new features to GDE at this point (just tweaks for minimal usability and security) while another contributor looks toward taking over the product.

    The file you would want to edit if you wanted to make a customization is the main plugin file, gviewer.php. Some familiarity with PHP would certainly be required.

    Thread Starter k3davis

    (@k3davis)

    Thanks for your kind words. Dan has been made a contributor of GDE so he will have access to the entire code base. That said, once the transition is complete he will be free to do with it as he wishes, so I will have to let him speak to what he will try to implement again (if anything) from the original enhanced viewer functionality. He will likely want to hear from users about the features they are missing the most.

    My apologies, but this feature was disabled after a breaking unexpected change from Google to their viewer. Hopefully the functionality can be restored in the future.

    Ken,

    This isn’t possible with GDE alone. Every instance of the shortcode by design will embed a viewer on the page.

    Kevin

    No worries… the situation is frustrating for us all. I hope to have some news about the future of the plugin soon.

    @bvance, I received your email also. I recognize your frustration with the situation and regret that things have shaken out as they have so far with the plugin. But please understand also that the changes were on Google’s end, a multinational conglomerate that does not care to inform one user who made a plugin using their service about any impending service changes. I have no direct line to them and wait as my posts in their forums are ignored like everyone else. Google Viewer belongs to Google, and its a product they largely ignored for years and then suddenly completely remade. GDE (and its “Enhanced Viewer”) were my extensions to it for the WordPress community. I could not extend to my plugin users due warning because I had no warning myself, and I made emergency (within 24 hours) adjustments to make the plugin work at all. So assigning negative character qualities to me probably won’t serve well.

    I’m glad you’ve found the plugin useful until recently. No doubt thank you also for your generous donations to the product over the years (tongue in cheek) that make it easy for me to release major updates at the drop of Google’s hat. Hopefully you will be able to find another suitable solution soon.

    @hardikchotaliya, no, the enhanced viewer is disabled in 2.5.15. See my post above to check if your document works in Google’s new viewer at all. The documents on the link you provided are massive and usually would not have worked well before. It sounds from Guy as though the file size limit may even be smaller now – either that or the act of compressing them makes the format somehow more readable. Anybody’s guess at the moment.

    At the current time it appears the new version of Google Viewer recently released did not keep the ZIP file preview feature. I am not sure when or if they will add it back.

    @ykruger, the update of the app restored most basic functionality to all docs after an unexpected update on Google’s end. You are right, however, Google’s new viewer does not support all the documents it once did.

    People seem to be having hit or miss results. The new release may still be getting tweaked regularly. Don’t completely lose hope πŸ˜‰

Viewing 15 replies - 16 through 30 (of 975 total)