k3davis
Forum Replies Created
-
Forum: Plugins
In reply to: [Google Doc Embedder] Shortcode showing instead of the embed fileUnfortunately, since you have already tried disabling other plugins, the theme is the only possible culprit I can think of that could interfere with the shortcode.
You could try installing another plugin that relies on shortcodes just to see if all shortcodes are affected. That would again point to some outside interference but wouldn’t necessarily solve the issue.
It’s possible your WP install itself is incomplete or corrupted, but I highly doubt this.
Forum: Plugins
In reply to: [Google Doc Embedder] Shortcode showing instead of the embed fileHi there,
If the shortcode is being written to the page, the plugin would seem to be deactivated. With GDE activated and a proper shortcode, these are the only possible outcomes:
* the viewer displays
* the download link displays (file is too large to embed)
* an error message displays (some error occurred)
* nothing displays at all (the error is hidden in HTML comments per setting, or the browser cache needs to be cleared)Displaying its own shortcode isn’t possible under normal use unless the plugin is deactivated, or perhaps your theme is stripping them for some reason. If you’re sure it’s activated and the shortcode is clean (no hidden HTML in it, etc – check the HTML editor, not just the visual), try switching momentarily to one of the WP default themes to see if that resolves the problem.
Thanks
Kevin
At present each shortcode references one instance of the viewer. The iframe doesn’t have a name or ID to be targeted to other links, and though one could easily be added, that wouldn’t resolve how to create multiple shortcodes that only result in a single shared viewer. I’ll have to put some thought to that but at present it’s not possible with GDE. Sorry.
Forum: Plugins
In reply to: [Google Doc Embedder] Open it New Tabmuhammad,
The full screen viewer can open in a new tab without any special code. Is this not what you want?
Kevin
zubo,
I’m not sure what you mean. When I go to that link, the PDF is automatically loaded into the viewer, which is the normal behavior. Can you explain?
Kevin
Forum: Plugins
In reply to: [Google Doc Embedder] [Plugin: Google Doc Embedder] File sizeYou’re welcome, thanks for the idea. You can see it grew on me π
In a coming version I plan to allow you to show just one page only (as a standalone image) if the max file size is exceeded, rather than blocking the preview entirely.
Forum: Plugins
In reply to: [Google Doc Embedder] Missing Download link below viewerDid you completely remove 2.5 before reinstalling 2.4.x?
Those errors don’t mean anything to me, and seem odd given it references only a German language file and not the plugin itself. You may have other problems going on with your site that don’t have anything to do with the plugin, but at the very least, I’d recommend a complete uninstall and reinstall. Your situation there is totally unique as far as I can tell.
Forum: Plugins
In reply to: [Google Doc Embedder] Missing Download link below viewerI’d like to know what the php error is all about, though 2.4.6 was rock solid and it may be a conflict from another plugin (just a guess). Using
save="1"should allow the link to be shown even if it’s not shown by default. But there is also a setting to show it only for logged in users, so depending on what that was set to, you may not be able to override it.It’s possible to change the settings via direct database edit, but you need to know what you’re doing or else WordPress is in a big mess. I’d suggest you need access to the settings page, whether by fixing the php error or installing the current version of the plugin, if the simple edit above doesn’t work.
NW12,
What version are you using? Those messages and line numbers don’t seem to correspond with the latest release version.
You may wish to try a clean install (complete removal / install from repository).
Kevin
Dan,
Thanks for the detailed report. I should be able to roll a fix for the first issue into the next update. For the moment I wonder if you can work around it by commenting out the is.gd service line and relying only on tinyurl. I haven’t investigated the difference in terms of rate limiting but it’s worth a try.
On the second point, that’s a great find – this will certainly be useful as I eventually want to implement some completely different viewer display options in the next major version and knowing the number of pages up front makes some I had shelved look feasible again. Thanks for your investigation and for passing the info back.
Happy new year!
Kevin
Forum: Plugins
In reply to: [Google Doc Embedder] GDE with the new 3.5 Media Manager?Thanks Nate. I know they added code for backward compatibility at the very end of the 3.5 beta cycle, but the effects weren’t good enough in this case – the formatting was skewed and the “send to editor” hook didn’t work. I’m hoping they have and will at some point document the correct way to hook into the new media manager (that doesn’t rely on hacking back in “compatibility” code). But it looks like this link you’ve sent may help address the second issue I was having, at least. I’ll look into this further.
Forum: Plugins
In reply to: [Google Doc Embedder] GDE with the new 3.5 Media Manager?natefox,
This option was improved in GDE 2.5 for users of WP 3.2-3.4.x, but isn’t compatible with the new media library. As usual with major revisions of features within WordPress – especially those undergoing major changes right through the release candidate phase like this one – it takes a while for good documentation to creep out on how to properly use the new functions. I certainly hope to re-implement this feature for WP 3.5+ when there is some documentation available on how to do so. π
If you happen to run across any docs or another plugin that might serve as an example that perhaps I’ve missed, I’m happy for the extra set of eyes on this issue.
Thanks!
Kevin
Forum: Plugins
In reply to: [Google Doc Embedder] Color of background – no proxy.phpHi esbenh,
The dark theme uses a custom CSS file. If you want to keep the full customization of the dark theme and still change the background color, you’ll have to make a copy of that dark CSS file and change it to reflect the new colors, save it somewhere on your site (outside the plugins folder, otherwise the settings will be lost on upgrade), and enter that URL in the “Custom CSS” option. When you use a CSS file, it overrides the color picker options because it allows you to change EVERYTHING, even a number of colors for which there are no settings.
If you only want to change the background color, here’s probably the easiest way to do so:
* Add a new profile, based on the “Default” profile. Call it anything – “blue-theme” or whatever.
* After creating the new profile you’re taken to the profile edit page. Now change the viewer mode to Enhanced, and the additional options become visible.
* Change the Page Area Background Color setting to the color you want, and save the profile.
* In your shortcode, make sure you select the profile you just created, either by its name or its ID number.
If you want this to apply to all documents, you can just change the default profile as above without creating a new profile. Then you don’t need to specify a profile in your shortcode at all to use it.
Let me know if you need more help. Thanks!
Kevin
Forum: Plugins
In reply to: [Google Doc Embedder] Color of background – no proxy.phpHi esbenh,
Yes, in GDE 2.5 there is an actual color picker and no hacking of the files is required anymore.
Ensure you have selected a profile that uses the “Enhanced Viewer” and you should see an appearance option called “Page Area Background Color”. It’s visible in the screenshot here for reference.
Hope this helps!
Kevin
The document is displaying normally there. You are probably a victim of your own browser cache.
http://www.davistribe.org/gde/notes/#browser
Please completely clear your browser cache or try from another computer/device to see that it is indeed working.
Merry Christmas.