Jump to content


  • Posts

  • Joined

  • Last visited

1 Follower

Contact Methods

  • Website URL

Profile Information

  • Gender
  • Location
    Northern Ireland (UK)

Recent Profile Visitors

2,390 profile views

Jozsef's Achievements

Sr. Member

Sr. Member (5/6)



  1. The client's site has front end login, currently using the LoginRegisterPro module. I understand it's a security feature that the only error message that's shown is "Failed Login". Since the site is dealing with students, and thousands of members, they requested that I show the more explicit "Incorrect Password" error message when it applies to reduce support requests and they understand the risks. The only place I've found the "Invalid password" spelled out was the Session log but couldn't find where it is generated. Can someone point me to the right direction on how i could enable "User with this email not found" and "Incorrect password" type of error messages on front end?
  2. When using the Processwire namespace I also needed to add a leading backslash to the DirectoryIterator class so it can access the global namespace, in case someone needs to use it with the latest PW and PHP versions. <pre> <?php namespace Processwire; ini_set('max_execution_time', 60*5); // 5 minutes, increase as needed include("./index.php"); // Add a leading back slash to the class so it can access the global namespace $dir = new \DirectoryIterator(wire('config')->paths->files); foreach($dir as $file) { if($file->isDot() || !$file->isDir()) continue; $id = $file->getFilename(); if(!ctype_digit("$id")) continue; $page = wire('pages')->get((int) $id); if(!$page->id) { echo "Orphaned directory: " . wire('config')->urls->files . "$id/" . $file->getBasename() . "\n"; continue; } // determine which files are valid for the page $valid = array(); foreach($page->template->fieldgroup as $field) { if($field->type instanceof FieldtypeFile) { foreach($page->get($field->name) as $file) { $valid[] = $file->basename; if($field->type instanceof FieldtypeImage) { foreach($file->getVariations() as $f) { $valid[] = $f->basename; } } } } } // now find all the files present on the page // identify those that are not part of our $valid array // Add a leading back slash to the class so it can access the global namespace $d = new \DirectoryIterator($page->filesManager->path); foreach($d as $f) { if($f->isDot() || !$f->isFile()) continue; if(!in_array($f->getFilename(), $valid)) { echo "Orphaned file: " . wire('config')->urls->files . "$id/" . $f->getBasename() . "\n"; // unlink($f->getPathname()); } } wire('pages')->uncache($page); // just in case we need the memory } ?> </pre>
  3. Wow, @Robin S you are very good at debugging. I'll try that and see what happens. I'm not sure what the double tap issue comes from, I run near stock Android on a OnePlus phone with the latest Chrome. This has been an issue going back to years now.
  4. My client reported this issue because he wants to edit his site on his Android phone, especially uploading photos from there to the site. After uploading an image to an image field it is not possible to edit / add description when it is displayed as a square or proportional thumbnail. Since the "Edit" overlay is not displayed on tap, deleting the image is also not possible. Tapping or double tapping the image has absolutely no effect. Editing images is only possible if I change the image field to list view but buttons and the description field still need double tap to work that is anything but expected or intuitive. Single tap only changes their hover state. This has been always working as expected on iOS: single tap expands the thumbnail to editing view where the crop/focus/variations buttons and description field only require a single tap to engage. This has been tested on ProcessWire version: 3.0.171 and Android 9.0 / Chrome 89. Previous Android versions and Chrome versions had the same issue. Changing the admin theme also had no affect. Any idea how can I even start solving this issue? It looks like a core problem. since the GitHub issue had no reply I was hoping to pick the collective brain. I can't launch the site until this is sorted and the client is unlikely to switch to iPhone any time soon. 🙂
  5. @benbyf Did this project ever go ahead? I'd be happy to pay the usual $140-150 dev licence fee for such a module. ProcessWire seriously lacking any kind of membership solution.
  6. I've been with Krystal.uk for the last 18 months and they are absolutely amazing, it's an independent UK based business. They usually respond to support queries in minutes or couple of hours max. They use LiteSpeed but it's a drop-in replacement for Apache with htaccess support and all, not to mention the improvements such as HTTP/2 and LSCache. I'm on their shared hosting but their performance still runs circles around any other host I used, they also offer managed or unmanaged VPS. As far as I know all their hardware runs on 100% SSD too. You can't beat DigitalOcean pricing but with them you are on your own. Krystal's pricing is transparent though, and they give you a lot of things as standard that you would pay extra for with others.
  7. I don't know, Youtube works perfectly with the two modules I mentioned (Ryan's and flydev's versions), my client published YouTube videos using it as recently as January 2021.
  8. @BFD Calendar I can confirm it doesn't work for YouTube, I had to revert to flydev's fork of Ryan's module on a website recently. Ryan's TexformatterVideoEmbed module also works perfectly for Youtube or Vimeo videos. Since Facebook discontinued anonymous social embedding you are ok going with either version.
  9. @flydev 👊🏻, thanks for that, it did the trick.
  10. I'm trying to implement this module as a replacement for the original PaymentStripe module for a custom payment form. I've found everything in the readme file except one: how does one output the form? This module doesn't have a render method so I am confused.
  11. Thank you for sharing your thoughts, I definitely do not enjoy working with those open source ecommerce systems, development is never a straight line. I will try your approach next time I have this client conversation. The funny thing is that Snipcart's fee is almost fully covered by the difference in Stripe fees between the US and the EU and it's still more competitive than Shopify.
  12. @Gadgetto or anyone else who uses Snipcart to build stores for their clients: How do you justify the extra cost (minimum monthly fee / transaction fee) to clients over free solutions such as Padloper? I'd love to use Snipcart with your integration but given the choice clients go with a free to run system. Sorry this is not a technical question but thought you regularly work with Snipcart if you took the time and effort to develop such a deep integration.
  13. @999design I have the same issue, even though the paragraph tags have no attributes in my case. Tried it as links and as plain text between p tags, no luck.
  14. @Gideon So Unfortunately Facebook doesn't allow embedding content anymore (started on 24th October 2020) unless the site is authenticated. More here: https://developers.facebook.com/docs/plugins/oembed This includes Facebook and Instagram
  15. @netcarver Thanks for that and for the great work, just at the right time. 😉 A nice companion to LoginRegisterPro.
  • Create New...