Dan Rossiter
Forum Replies Created
-
Forum: Plugins
In reply to: [Document Gallery] Adding additional attachment infoHi Jared,
I absolutely agree that the ID should be passed down to allow for additional functionality. The ID being excluded was a complete oversight on my part. I’ll have that available in the next release.
Thanks for bringing this to my attention!
EDIT: Actually, I was going in to fix the issue and it looks like you do actually receive the ID through dg_icon_template. It should be your second parameter, with the first parameter being the boolean indicating whether the user is including descriptions. Are you not seeing this on your system?
-Dan
Forum: Plugins
In reply to: [Document Gallery] Fatal error with update 2.3.2Sorry to hear that, pacificrvaustralia!
Please do let us know if the fix does not resolve the issue.
-Dan
PS: If you’ve found this plugin useful, please take a moment to rate it. Thanks! π
Forum: Plugins
In reply to: [Document Gallery] Fatal error with update 2.3.2Perfect!
Thanks, Julie and glad that we were able to resolve everything!
-Dan
PS: If you’ve found this plugin useful, please take a moment to rate it. Thanks! π
Forum: Plugins
In reply to: [Document Gallery] How to check if there are documents attached to post?Ah-ha! Then yes, what you’ve described is the way to go! π
-Dan
PS: If you’ve found this plugin useful, please take a moment to rate it. Thanks! π
Forum: Plugins
In reply to: [Document Gallery] How to check if there are documents attached to post?Hi Jason,
What you’ve done works, but why not just call [dg] always? DG will handle no attachments correctly (no output). π
Changing to this approach would also avoid double work since internally DG is calling get_posts().
-Dan
Forum: Plugins
In reply to: [Document Gallery] Fatal error with update 2.3.2Actually, I’ve had an idea. How much trouble would it be for your to uninstall DG and re-install? I believe the issue you are having is specifically related to having first updated to the broken release. Re-installing with the fixed version may just resolve everything.
-Dan
Forum: Plugins
In reply to: [Document Gallery] Fatal error with update 2.3.2Hi Julie,
I’m so sorry about the multiple headers bug. I’m not sure why that’s happening, but I’ll investigate as soon as I’m home from work.
-Dan
Forum: Plugins
In reply to: [Document Gallery] Fatal error with update 2.3.2Hi delawaregrad,
Sorry about that! I’ve just pushed out version 2.3.3 which should resolve the fatal error.
If the warnings you’re seeing continue following the update, please let me know. I can’t reproduce them on my system so I’m hoping they’ll just disappear…
-Dan
PS: If you’ve found this plugin useful, please take a moment to rate it. Thanks! π
Forum: Plugins
In reply to: [Document Gallery] Limit maximum postsHi Fredd,
As of version 2.3 (just released) this is now an option!
-Dan
PS: If you’ve found this plugin useful, please take a moment to rate it. Thanks! π
Forum: Plugins
In reply to: [Document Gallery] Error: /syntaxerror in pdfopenUpdate 2:
If you update to version
2.3.1(just released), the error stack trace you’re seeing should no longer be displayed.-Dan
PS: If you’ve found this plugin useful, please take a moment to rate it. Thanks! π
Forum: Plugins
In reply to: [Document Gallery] Filtering media with multiple categoriesHi Mario,
I believe you’ll find the Taxonomy changes just released in 2.3.1 address the issues you were having.
Please given them a shot and let me know if you run into any issues with their functionality!
-Dan
PS: If you’ve found this plugin useful, please take a moment to rate it. Thanks! π
Forum: Plugins
In reply to: [Document Gallery] Error: /syntaxerror in pdfopenUpdate:
I’ve found the issue that’s resulting in you getting the big stacktrace in the gallery output and the fix will be implemented in the next release (hopefully some time today). This won’t change the fact that generating thumbnails for the PDFs that are currently failing. For that, I still recommend updating Ghostscript since you are using a version that is about 5 years old (a century in software terms).
-Dan
PS: If you’ve found this plugin useful, please take a moment to rate it. Thanks! π
Forum: Plugins
In reply to: [Document Gallery] Error: /syntaxerror in pdfopenHi Bigsipper,
It sounds like Ghostscript doesn’t understand one or more of the PDFs you are using. I’ve heard of this happening occasionally with some weird formats.
One thing I would suggest that may resolve the issue is upgrading your version of Ghostscript. Based on the stack trace you provided, it looks like you are running 8.70 which was released in ’09 and it’s possible it will have issues with newer derivations of the PDF format. That said, I cannot guarantee that will resolve the problem.
On my end, I need to figure out why you are having that error dump displayed. That shouldn’t be making it onto the frontend.
Can you run a quick test for me? I would like to see if we can get anything useful from the DG logging.
- Go to
Dashboard -> Settings -> Document Gallery -> Advancedand enable logging. - Go to the Thumbnail Management tab, select all of the generated thumbnails and delete them.
- Go to your gallery and reproduce the problem you described above.
- Go to
Dashboard -> Settings -> Document Gallery -> Loggingand see if there are anyErrororWarninglogs (you can filter this in the top right of the log screen). If there is anything recent in there, paste those errors/warnings here.
EDIT: Also, as a short-term fix, you can disable the Ghostscript generation method which should prevent the errors you’re seeing. You’ll likely get the default PDF icons (unless Google Drive is active), so not an ideal long-term fix.
EDIT 2: Can you tell me what PHP version you are currently running?
-Dan
Forum: Plugins
In reply to: [Document Gallery] intermittent thumbnailsHi Lisa,
It sounds like you are clicking “Insert into page.” This is not necessary and will have no effect on how Document Gallery behaves. You can safely remove everything after the [dg] that you did not intend to include and everything should work properly.
-Dan
PS: If you’ve found this plugin useful, please take a moment to rate it. Thanks! π
Forum: Plugins
In reply to: [Document Gallery] intermittent thumbnailsHi Lisa,
Addressing your last question first, configuring the number of columns is not currently possible. It is on our TODO list though.
For your first question, I’m not sure what you mean… Can you show me an example of the behavior you are describing?
Can you please go to to
Dashboard -> Settings -> Document Gallery -> Advancedand paste the entire contents of the the big text box at the bottom of that page? Also, can you please paste the shortcode (ie:[dg ...]) that you are currently using?-Dan
PS: If you’ve found this plugin useful, please take a moment to rate it. Thanks! π
- Go to