Forum Replies Created

Viewing 15 replies - 361 through 375 (of 1,016 total)
  • Plugin Author Dan Rossiter

    (@danrossiter)

    Hi Derek,

    I’m sorry your filtering started causing you issues. The magic you are looking for is in gallery.js in resetPendingIcons().

    You’ll want to be sure you don’t strip any data-* attributes and keep your class/id values when filtering in order for the front-end logic to continue working. All of these values are exposed through the same markup you’re using in your existing filter. Specifically, it looks like your %data% is missing, so the following should work (untested):

    function remove_dg_titles($info){
      return '   <div class="document-icon">' . PHP_EOL .
             '      <a href="%link%"><img src="%img%" title="%title_attribute%" alt="%title_attribute%" %data% /><br></a>' . PHP_EOL .
             '   </div>%description%';
    }

    Plugin Author Dan Rossiter

    (@danrossiter)

    Hi hansguido,

    It’s actually funny you bring this up because I am in the early stages of developing a plugin that would enable exactly this. Unfortunately, there is no such option with core WP functionality and this functionality is way outside the scope of Document Gallery.

    Such a plugin would need to parse the files and find the text. With plain text files that wouldn’t be too hard, but think about trying to get the text out of a PDF or a Word document. The plugin would need intimate knowledge about how that file is encoded and how to pull out text which could then be searched. Definitely not an easy thing to do πŸ™‚

    Anyway, sorry for the rambling. Short answer is, there is no such functionality in WP core or any existing plugin that I know of. This (paid) plugin does appear to support searching some PDFs, though looks like only PDFs that aren’t the result of scanning in a document.

    -Dan

    Plugin Author Dan Rossiter

    (@danrossiter)

    Regarding your thumbnails disappearing, that is definitely a bit concerning. Would you mind enabling logging and attempting to reproduce that issue? If you can make it happen intentionally then that gives us somewhere to start in resolving the issue.

    -Dan

    Plugin Author Dan Rossiter

    (@danrossiter)

    Hi Steve,

    The Thumbnail Management tab is lazily generated as DGs are rendered. The first time any DG references that attachment, it’s populated. If you need to add a thumbnail to an attachment that does not yet exist in that list you can do that by way of the edit dialog for that attachment (there’s a meta box at the bottom that will allow the same manual setting of thumbnails).

    -Dan

    Plugin Author Dan Rossiter

    (@danrossiter)

    Thanks for the positive review and for the suggestions!

    #1 on your list is definitely in the works. We’ve been fighting the limitations of the on-site WP.org documentation options in trying to provide extensive documentation on all of the ever-growing features within DG, while also providing quick overviews of the various features. That said, there are definitely things we could do with the limitations we have, but that we have just not done so we’re planning to work on that in the coming months.

    #2 is an interesting idea. A bit tricky, as you noted. I’ll keep it in the back of my head.

    -Dan

    Plugin Author Dan Rossiter

    (@danrossiter)

    Hi Jaredam,

    I am sorry for the inconvenience. Let me help you get things working again.

    Can you confirm that the error is the same as what DrCassoff is reporting? Also, have you tried uninstalling and doing a clean install?

    EDIT: To clarify, uninstalling DG, not all of WordPress, then cleanly installing DG 4.1.4.

    -Dan

    Plugin Author Dan Rossiter

    (@danrossiter)

    Kevin,

    My pleasure! πŸ™‚

    Sorry the update did not resolve the issue — I was afraid it might not given the JS issues going on.

    If you get the JS error resolved and you still have DG issues, please don’t hesitate to let me know. However, based on what I’m seeing, I’m assuming that the other errors are the issue so I’ll go ahead and close this ticket for now, but feel free to re-open if needed.

    -Dan

    Plugin Author Dan Rossiter

    (@danrossiter)

    Hi Kevin,

    I’ve just pushed out version 4.1.4 which *may* address your issue. I was not able to find any issues in PDF thumbnail generation, however, there was an issue in some logic above that that could potentially have resulted in thumbnail generation failing for PDFs.

    If you don’t mind installing the new version, purging any failed thumbnails (under Dashboard -> Settings -> Document Gallery -> Thumbnail Management), then re-visiting the gallery where you were seeing problems, we can see if things look any better. If they do not, we can try some other things.

    As a side note, I took a quick look at the page you linked and there is some very unhappy JavaScript (outside of anything related to Document Gallery) that may be causing you problems. If you open that page with your console open (strike F12 on your keyboard) you’ll see an number of errors, which could be preventing the browser from even getting to DG’s JavaScript which retrieves the thumbnails after the gallery is loaded.

    -Dan

    Plugin Author Dan Rossiter

    (@danrossiter)

    Hi Kevin,

    PDF generation should definitely still work with either Ghostscript or IMagick in the 4.1 release. Thumber.co is simply intended to augment already-supported filetypes, not take anything away that was already supported πŸ™‚

    I’m looking into this right now and there’s definitely something not quite right. Let me get back with you once I’ve had a chance to figure out what’s going on.

    -Dan

    Plugin Author Dan Rossiter

    (@danrossiter)

    Following up on this topic, Document Gallery now (as of version 4.1) has a solution for MS Office filetypes (including Word, PowerPoint, Publisher, and Visio) as well as many other filetypes by way of the Thumber.co service. There is a small fee for use of the service, but it also comes with a 7-day trial period for the basic plan allowing you to kick the tires before investing any money in the service.

    -Dan

    Plugin Author Dan Rossiter

    (@danrossiter)

    Hi Mia,

    We’ve just pushed out 4.1.3 which should be a much more stable product. Please don’t hesitate to followup here if anything seems out of place after upgrading.

    -Dan

    Plugin Author Dan Rossiter

    (@danrossiter)

    Hi Steve,

    We’ve just pushed out 4.1.3, which should be a much more stable product. If you run into any issues, please don’t hesitate to followup here.

    -Dan

    Plugin Author Dan Rossiter

    (@danrossiter)

    Hi DrKassoff,

    We’ve now put out version 4.1.3 which should be a much more stable product. That said, if anything seems out of place please don’t hesitate to followup here and I can take a look. Thanks for your patience while we got this issue resolved.

    -Dan

    Plugin Author Dan Rossiter

    (@danrossiter)

    Glad to hear it! That being broken is the one thing that would have been out of my control and a real pain to diagnose.

    And yes, definitely able to reproduce the isSuccess issue on my end. That’s what I get for trying to get the release out before I went to bed at 2am πŸ˜‰

    -Dan

    Plugin Author Dan Rossiter

    (@danrossiter)

    Very glad to hear it! Sorry again for the inconvenience. We should have an actual working 4.1.x out some time later today.

    -Dan

Viewing 15 replies - 361 through 375 (of 1,016 total)