k3davis
Forum Replies Created
-
I must admit I haven’t used BuddyPress, so I’m not sure how to pursue this question. However I would have typed that 4 months ago if this message was noticed back then – my mistake!
If someone could take the time to more thoroughly explain the issue I could look into it. GDE uses normal WordPress shortcode functionality, so I am a bit puzzled why it would not function as-is. I don’t know the difference between the WordPress and BuddyPress TinyMCE editors, either.
Forum: Plugins
In reply to: [Google Doc Embedder] Links not working in PDFThanks Ann – glad you were able to resolve it!
Forum: Plugins
In reply to: [Google Doc Embedder] Links not working in PDFAnn,
This is a theory, but it looks to me like the links aren’t actually embedded in the document. I opened the file up in Adobe Viewer XI and the links are indeed clickable, but I think the viewer is adding the link. When I view the source of the PDF, no clickable link regions seem to be defined in the file itself.
The PDF is also in a rather old format (PDF 1.3 – PDF 1.7 has been out for the last 4 years or so) – not sure if this contributes.
If you still have the source document it would be worth confirming that the links are indeed present, and perhaps save it to a newer PDF format. If you don’t, you could also perhaps check this from Adobe Acrobat (if you have it). I have it at work, but not here…
Thanks,
Kevin
Forum: Plugins
In reply to: [Google Doc Embedder] Links not working in PDFHi Ann!
Do you mean the URLs inside the document are not clickable?
GDE will translate these into clickable links only if they are clickable in the source PDF. You would have to make the URLs into links in whatever the source document, and save your PDF. Then when you embed that PDF the links will remain clickable inside GDE. (It won’t add links that aren’t already clickable in the PDF itself.)
If you mean something else, please let me know.
Kevin
Forum: Plugins
In reply to: [Google Doc Embedder] Excel only displays if force=1Thanks for including the URL, I was able to test much more thoroughly.
The issue (in this case, at least) seems to be a small bug in GDE 2.4.6 that fails file validation if the server does not return the standard content-length header. Your server is not returning the file size as part of the request, so it’s mistakenly failing.
This will be fixed in GDE 2.5 beta 2. In the meantime you can disable internal error checking (as described above), or if you’d like a patch instead for GDE 2.4.6, contact me directly via email at the email address in the GPL statement of gviewer.php.
Forum: Plugins
In reply to: [Google Doc Embedder] Excel only displays if force=1Hi Paulo,
Most likely the issue is with the way your web host has configured your server. If you send a support request that will help me confirm it, since that would include your environment info and the document you’re trying to embed.
You can bypass the need to use this extra shortcode option if your server doesn’t support the way the plugin verifies the file. In GDE Settings under Advanced Options/Plugin Behavior, check the box that says “Disable internal error checking.” The document will be passed to the viewer without the plugin attempting to verify it first. (This is the same as setting “force=1” on everything, without having to type it.)
In GDE 2.5 beta, the force= option has been removed. There did not seem to be a reason to have this on or off on a per-document basis, which is confusing in GDE 2.4.6. You can still disable internal error checking globally, though, if this configuration is necessary on your web server.
Hope this helps.
Forum: Plugins
In reply to: [Google Doc Embedder] Alter to be used in attachment page?The plugin works in templates if you use the
do_shortcodecommand.// Use shortcode in a PHP file (outside the post editor). echo do_shortcode('[gview file="blah.pdf"]');Are you looking for something else? Can you clarify what it is you’re looking for?
Thanks.
Agreed, lack of demo or screenshots (or inability to find them) tempers my interest in checking this out.
I don’t think it’s anything you’re doing wrong, provided your shortcode is exactly as you pasted it above. That shortcode works fine on my site (latest WP, as well).
http://www.davistribe.org/gde/test/
Sounds like you may either have a PHP issue with your hosting provider, or could do with a “repair install” of wordpress (Dashboard > Updates > Reinstall Now).
Hope that helps,
Kevin
Forum: Requests and Feedback
In reply to: Admin Hook for Welcome Screen / DashboardI’d like to evaluate this also (not sure if I’ll like it, or not), but the code was removed from the post above… anyone care to pastebin or similar how you did this?
In my case I’d like to tie it to a plugin setting (applies to all users) rather than a user meta – show only until it has been dismissed, no matter who dismissed it. But I can probably sort that bit out myself given the above.
Hi Erik,
What is the shortcode you’re using? (If it’s private, send a support request via the support link in your plugin list or in the footer of the settings page.)
It looks like the shortcode is malformed in some way. Ensure by using the “HTML” tab in the editor (“Text” tab in WP 3.5 beta) that there are no strange characters or link tags, etc. that may not be visible in the visual editor.
Kevin
Forum: Plugins
In reply to: [Google Doc Embedder] [Plugin: Google Doc Embedder] Safari Browser on MacBookHi Scott,
I don’t have a mac to test, but there are no known issues. What are you seeing? Any error messages (on the page or in the page source – search for “gde”)?
By far the most common problems are solved by clearing browser cache. Sometimes switching to Enhanced Viewer (and even back again, if you want) forces the browser to refresh as well.
Hopefully one of these suggestions point you in the right direction.
Kevin
Forum: Hacks
In reply to: Import/export from plugin – best practices?Hard to believe I’m on the cutting edge of seeking such a function. Perhaps someone should develop a framework plugin that other plugins could utilize to add this functionality. Seems like a fair amount of overhead for each plugin to implement it separately/differently (though, it doesn’t seem like anyone is really doing this now).
Thanks Gary; that gives me some ideas to chew on.
In the current release you can hide the download link, mask the URL, and hide the “new window” button. This of course doesn’t prevent someone from downloading the original document, but it makes it more difficult to do so – they have to look at the page source to find the location of the file.
In the next version you will be able to block downloading in a way that means the true link to the document isn’t printed anywhere. The document must still be publicly accessible, otherwise Google can’t fetch it to convert it for the viewer, but you can keep that location a secret.
As for linking between the two (if I understand you correctly) this will probably not work. You can have links in documents if you choose to but linking from one document to another is a different matter entirely.
Forum: Plugins
In reply to: [Google Doc Embedder] [Plugin: Google Doc Embedder] Remove toolbar completelyNo problem. Please send me your email address using the support link in your plugin list, or you can find my email address in the GPL statement at the top of gviewer.php in the plugin directory.