wprookiekris
Forum Replies Created
-
Forum: Plugins
In reply to: [Rich Reviews by Starfish] Refreshing page after submissionCharlie,
Thank you for your response. I was able to get the desired behavior by modifying the php of the plugin. The approach I followed is as detailed here:
https://afilina.com/refresh-form-but-do-not-resubmit-php/#commentsThe problem is easy to reproduce – put the shortcode for displaying the reviews and submitting the reviews on the same page like this:
[RICH_REVIEWS_SHOW]
[RICH_REVIEWS_FORM]
Then submit a review. Now refresh the browser page – with each refresh the form will resubmit.Thanks,
KrisForum: Plugins
In reply to: [Media Library Assistant] Trouble finding Ghostscript pathDavid,
This is working out even better than I expected. I was expecting to modify the short code, but this setup makes it so configurable. Thanks so much for all your help!Forum: Plugins
In reply to: [Media Library Assistant] Trouble finding Ghostscript pathI haven’t looked into MLA filters, but will check t out. In the meantime, I’ve been able to accomplish what I need by creating a style template and adding something like:
`.gallery-item a{
background-image: url(“https://cdn2.iconfinder.com/data/icons/windows-8-metro-style/512/document.png”);
height: 100%;
}’However, it’s not giving me the desired result in terms of size. I might need to apply the background to a different element or handle it differently so that it is the same size as the generated thumbnail. Any suggestions you can provide on this will be very helpful.
Forum: Plugins
In reply to: [Media Library Assistant] Trouble finding Ghostscript pathDavid,
Coming back to this after a month, I’m wondering if you have any suggested workaround for displaying some sort of default thumbnail for a given file extension.Forum: Plugins
In reply to: [Media Library Assistant] PowerpointHaving come back to troubleshooting the pptx issue after a few months, I had forgotten that I had already encountered this issue before. MS files don’t get thumbnails generated for them.
Forum: Plugins
In reply to: [Media Library Assistant] PowerpointI have a related question. In order to display pptx thumbnail, shouldn’t this shortcode work as well?
[mla_gallery mla_viewer="true" post_parent=all mla_viewer_extensions="pdf,txt,doc,xls,ppt,pptx" post_mime_type=all size=full link=file]
Or do I have to specify mime type? The above short code works for everything but the pptx.
Forum: Plugins
In reply to: [Media Library Assistant] Trouble finding Ghostscript pathDavid,
It seems that my deployment server is working quite well with the first-page thumbnail creation. However, in reading more on your plugin, it sounds like PDFs work well, but there isn’t a good mechanism in place for MS documents – pptx, docx, etc. I have 2 questions in this regard:
1. Is it not possible to dynamically convert/export the pptx to PDF and then create a thumbnail from it?
2. The featured image solution is not the most ideal, however, it could work for me if I can assign the same featured image for all pptx files. Is there a way to do this currently?
This is my shortcode:
[mla_gallery mla_viewer="true" post_parent=all mla_viewer_extensions="pdf,txt,doc,docx,xls,ppt,pptx" post_mime_type=all size=full link=file]
Forum: Plugins
In reply to: [Media Library Assistant] Trouble finding Ghostscript pathYes indeed, I’m on a Mac platform with MAMP. And I did follow all those links that you have mentioned for installing and configuring on Mac.
test -e /usr/local/bin/gs
returns empty. So doestest -e /usr/bin/gs
Mac is my development environment. I will try this on the deployment server, which is Redhat Linux, and see if it works there. If it does, that’s good enough for me.
Thanks for your help with troubleshooting this.
Forum: Plugins
In reply to: [Media Library Assistant] Trouble finding Ghostscript pathThank you for your response. I’ve tried this, but it does not help. I’ve even tried putting a symbolic link to /usr/bin/gs.