Jump to content

adrian

PW-Moderators
  • Posts

    11,262
  • Joined

  • Last visited

  • Days Won

    374

Everything posted by adrian

  1. Glad you got it working! That's all of us really - it's more a matter of eliminating possibilities sometimes and debugging what the value of variables that are throwing errors actually are and then looking at what / how those variables are used.
  2. I am trying to help here, but you gotta meet me half way ? If you look the code in the action, you'll see that it sanitizes the field as an integer and the options form stores the ID of the field, rather than the name. I'm sure you'll figure it out from that ?
  3. Sorry, the issue is that $sourceFolder is empty, not the actual directory. Looks like the issue is that you are using "sourcefolder" instead of "sourceFolder"
  4. Because you haven't specified full root paths. You need to start at /var/www/..../site/assets/....
  5. Those are the core actions that come with the module. No - "site" actions (ones that you write yourself) are stored under /site/templates/AdminActions/ Regarding your initial suggestion - it might actually work more or less like that - I had actually forgotten about being able to call these actions via the API ? Have a read about how to do that in the docs here: https://github.com/adrianbj/ProcessAdminActions#calling-an-action-via-the-api
  6. You can't just use that code you posted as is - you need to build it into an alternate version of the action. Copy the action file from the core actions folder to the site/templates/AdminActions/ folder, rename it and the class and modify as needed.
  7. This thread should get you going: https://processwire.com/talk/topic/4437-delete-orphaned-filesimages-from-siteassetsfiles/ Also, once you have everything cleaned up, TracyDebugger (http://modules.processwire.com/modules/tracy-debugger/) has a Page Files panel that will help you keep track of orphaned files/images going forward.
  8. @fruid - I guess that might work - did you try?
  9. Jumplinks is only designed to kick in when a URL 404s. Your best bet is you place the redirect in the template file that is used to display the /recipes/ page, eg: $session->redirect('/docs/!recipes/doku.php');
  10. Should be easy enough with a combination of https://github.com/somatonic/Multisite and http://modules.processwire.com/modules/admin-restrict-branch/
  11. I'll admit I haven't really read your post - sorry, but I think this might do what you want based on the topic title https://processwire.com/api/ref/page/references/
  12. @Ralf - I am glad you got the translation stuff sorted out. The "You must change your password now" text is added as a note to the "pass" field when it is rendered. So if this module is successfully redirecting to the profile editing screen of LRP, then it should display that note - if not, then it might be a question for Ryan to see if he can support this module within LRP by displaying the note, or suggesting some other way for this module to inject that note.
  13. It's been a long time since I have looked at this module - there were a couple of issues related to automatic install of helper modules (those modules that are tied to another main module). That was the reason this never made it to the modules directory. If I find time I'll take another look, unless of course someone else is keen on seeing what they can do ?
  14. Hi @Ralf - that checkbox field label, description, and notes should be translatable already. You can see here on a site I have with English and Portuguese: The "load on frontend" option should make it work with LRP. I did just commit one change that allows translating of the note that says: "You must change your password now". Hope that gets you going.
  15. Wow, you're going back in time there ? I remember my parents talking about him, and I am sure I saw a few of his movies in my youth (they liked a good western), but don't honestly remember that expression.
  16. @JeevanisM - this is something that @Pete manages, so hopefully this will get his attention.
  17. @rick - Actually, sorry I didn't read properly - the issue is that you don't have the "php-xml" PHP module installed.
  18. @rick - have a read of this:
  19. Yeah, so to clarify, you need to install ffmpeg, and not ffmpeg-php or php-ffmpeg. I haven't ever used MAMP, I usually install it on my Mac with homebrew using: brew install ffmpeg Can you try that?
  20. Did you see my comment in the last post? You no longer need that because it's included in the module. However, you still need to install ffmpeg itself. Let me know if you're having issues with that.
  21. That's a shame given that 5.5 was EOL'd 2 years ago ?
  22. Major new version just committed that removes mediaelementjs - now relies completely on browser support for <video>. It also includes a ffmpeg-php package because the old pecl script is no longer maintained. Again, maybe no-one is using this, but if you are, please let me know how this version goes. PS - captions are now VTT, rather than SRT.
  23. That's kinda the main point of the module ? Do you have ffmpeg / php-ffmpeg properly installed?
  24. The "Create Users Batcher" and "User Roles Permission Batcher" actions for the Admin Actions may also be useful here. @kater - regarding forcing password change - I still don't know why my module didn't work for you - from my testing with LoginRegisterPro, it is working for me, but you didn't get to me regarding my followup.
  25. Hi all, Just wondering if anyone is using this module and what you'd think about me removing the "Links to required scripts" option. These days, all browsers natively support the HTML5 video element, so I don't think we really need a fallback to Flash, especially given that Flash EOL is Dec 31, 2020. Anyone mind if I remove this?
×
×
  • Create New...