kalico

Forum Replies Created

Viewing 25 posts - 1 through 25 (of 151 total)
Jan 2, 2020 at 2:48 am
#117368
Member
kalico
OP

Cancel this! My apologies. Something went wrong with the upload of the files and the files were not actually saving in the directory. Looks like a server permissions glitch or something. Anyway….this is RESOLVED.

May 30, 2019 at 12:57 am
#97454
Member
kalico
OP

Oh hallelujah!!! That did it. Thank you SOOOO much!!!

May 29, 2019 at 12:43 am
#97394
Member
kalico
OP

Can someone please have a look at this? it is ruining my users’ mobile experience. Thanks in advance…. 🙂

May 24, 2019 at 9:00 pm
#97325
Member
kalico
OP

Ok, thanks. I was really looking for more of a “why” because I know this has happened at least once in the past, and it’s a really scary risk to take every time I update this plugin. I would prefer to solve the problem vs just put a bandaid on it. If you have any ideas, please let me know.

May 24, 2019 at 8:57 pm
#97324
Member
kalico
OP

….unless you have tweaked the caps and roles so much that people who aren’t admins have manage_options for other reasons……lol 🙂

Thanks so much, that’s very helpful. Now I know where to look for the solution.

May 24, 2019 at 8:55 pm
#97323
Member
kalico
OP

That fixed it. Thank you!!! 🙂

May 23, 2019 at 7:21 pm
#97249
Member
kalico
OP

Hi @shahriar, I really need to get this taken care of as soon as possible. I have people waiting to update resources, and we are stuck. Thanks!

May 21, 2019 at 11:15 pm
#97182
Member
kalico
OP

This might help add some context. Here are a couple of screenshots from my production site, which mirrors what the dev site was at just before I updated WPDM. On production, the plugin has not yet been updated, and WP core is still at 5.0.4.

May 21, 2019 at 3:20 pm
#97164
Member
kalico
OP
This reply has been marked as private.
May 21, 2019 at 12:14 am
#97119
Member
kalico
OP
This reply has been marked as private.
May 3, 2019 at 6:37 pm
#96611
Member
kalico
OP

Hi Timothy,

Which problem are you having? Did you resolve it? This thread morphed into more than one issue, so it’s a bit confusing. Ultimately I used handcrafted screenshots as thumbnails instead of the generated PDFs. And the javascript problem…I honestly can’t remember where that ended up. If that was your issue, and you haven’t sorted it out, let me know and I’ll try to dig a little deeper.

Nov 27, 2018 at 6:49 pm
#90037
Member
kalico
OP

No, didn’t have any effect. I opened the javascript console, and it’s giving an “unexpected token” error. Here’s a screenshot, but you can go see it yourself at:

http://dev.nrocnetwork.org/resources/courses/nroc-math-2-2/

Nov 15, 2018 at 2:50 am
#89513
Member
kalico
OP

I am server support. 🙂

I have ImageMagick 6 installed. This is the policy.xml file. I don’t see anything like what you suggested – no domain called “modules”. Am I in the wrong place? (This is in my /etc/ImageMagick-6 dir) Or do I need to add that line? (or update to v7?)


?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE policymap [
<!ELEMENT policymap (policy)+>
<!ELEMENT policy (#PCDATA)>
<!ATTLIST policy domain (delegate|coder|filter|path|resource) #IMPLIED>
<!ATTLIST policy name CDATA #IMPLIED>
<!ATTLIST policy rights CDATA #IMPLIED>
<!ATTLIST policy pattern CDATA #IMPLIED>
<!ATTLIST policy value CDATA #IMPLIED>
]>

<policymap>
  <!-- <policy domain="resource" name="temporary-path" value="/tmp"/> -->
  <!-- <policy domain="resource" name="memory" value="2GiB"/> -->
  <!-- <policy domain="resource" name="map" value="4GiB"/> -->
  <!-- <policy domain="resource" name="area" value="1GB"/> -->
  <!-- <policy domain="resource" name="disk" value="16EB"/> -->
  <!-- <policy domain="resource" name="file" value="768"/> -->
  <!-- <policy domain="resource" name="thread" value="4"/> -->
  <!-- <policy domain="resource" name="throttle" value="0"/> -->
  <!-- <policy domain="resource" name="time" value="3600"/> -->
  <!-- <policy domain="system" name="precision" value="6"/> -->
  <policy domain="cache" name="shared-secret" value="passphrase"/>
  <policy domain="coder" rights="none" pattern="EPHEMERAL" />
  <policy domain="coder" rights="none" pattern="URL" />
  <policy domain="coder" rights="none" pattern="HTTPS" />
  <policy domain="coder" rights="none" pattern="MVG" />
  <policy domain="coder" rights="none" pattern="MSL" />
  <policy domain="coder" rights="none" pattern="TEXT" />
  <policy domain="coder" rights="none" pattern="SHOW" />
  <policy domain="coder" rights="none" pattern="WIN" />
  <policy domain="coder" rights="none" pattern="PLT" />
  <policy domain="path" rights="none" pattern="@*" />
  <!-- disable ghostscript format types -->
  <policy domain="coder" rights="none" pattern="PS" />
  <policy domain="coder" rights="none" pattern="EPS" />
 <policy domain="coder" rights="none" pattern="PDF" />
  <policy domain="coder" rights="none" pattern="XPS" />
</policymap>
Nov 15, 2018 at 1:54 am
#89512
Member
kalico
OP

Nice! Works great. Any chance we can use # of words instead of # of characters? (to get a clean cut-off in cases where the description happens to be long — I have discovered a few!)

Nov 12, 2018 at 6:21 pm
#89394
Member
kalico
OP

Unfortunately I cannot — we don’t allow regular FTP and setting up credentials for external users is not a trivial exercise. However, I can execute any changes you would suggest. I just changed that folder to 777 (it was 755) and it didn’t change the result. Is there something else I can try?

Nov 8, 2018 at 11:54 pm
#89281
Member
kalico
OP

Yeah, probably modified the template by accident. Sorry. I have now set up a test template (and titled it appropriately) so that won’t happen again.

Please check the same page. It now has nothing on it at all besides the shortcode

[wpdm_package id='417' template='5be4caa63d5e9']

Nov 1, 2018 at 6:20 pm
#88968
Member
kalico
OP

OK, I am trying to work with [pdf_thumb] but it’s giving me a broken image. Imagick is installed.

http://dev.nrocnetwork.org/resources/courses/nroc-math-2-2/ — go to the bottom of the page, before the footer. (you can click on the X in the popup box to get rid of it)

For testing purposes, the template contains nothing but the [pdf_thumb] shortcode

Oct 21, 2018 at 8:29 am
#88441
Member
kalico
OP

Nope, didn’t work. I’m sure it’s close, but it broke the layout pretty bad. Something about the quotes?

Oct 17, 2018 at 1:08 am
#88257
Member
kalico
OP

Thank you. This is all helpful, as we may go with our own generated images. But one last stab at letting WPDM do the heavy lifting as we had intended it to do….

Does WPDM have the quality setting defined in the code for ImageMagick PNGs, as per the following link?

http://www.imagemagick.org/Usage/thumbnails/#formats

This setting seems to be something specified on the fly in the script, not something I can just “set” in a config file. Thoughts?

Oct 17, 2018 at 12:48 am
#88256
Member
kalico
OP

Yes, I wanted to override the page template based on the link the user has clicked, without changing the package settings (because those are global, and this is a one-off where I want to use a different page template). But it sounds like that’s not how it works, so that’s good to know. Thanks!

Oct 17, 2018 at 12:45 am
#88255
Member
kalico
OP

This is a reasonable workaround, but if the true problem is indeed that filtering is not working, then I would like some assurance that will be addressed as a bug fix if WPDM is not filtering correctly. It has always filtered just fine in the past, so something has changed that is causing the problem.

Oct 13, 2018 at 12:43 am
#88105
Member
kalico
OP
This reply has been marked as private.
Oct 4, 2018 at 6:19 pm
#87763
Member
kalico
OP

There is no [pdf_thumb] listed in the template variables, so I was using [thumb_WxH] — how is this different?

What do you mean by “use a higher resolution”? Are you referring to the PDF file itself? Or a setting….where would I set that?

If we decide to upload a special high res thumbnail of our own, what template variable would be used to pull the “featured image” (assuming that’s the best method)?

Aug 17, 2018 at 11:41 pm
#86277
Member
kalico
OP

bump — really could use some help with this if possible — thanks

Jul 23, 2018 at 7:51 pm
#81409
Member
kalico
OP

Ah, yes that was it! Thank you.

Viewing 25 posts - 1 through 25 (of 151 total)