• Content count

  • Joined

  • Last visited

  • Days Won


netcarver last won the day on October 17 2016

netcarver had the most liked content!

Community Reputation

2,065 Excellent

About netcarver

  • Rank
    Code Monkey

Profile Information

  • Gender
  • Location

Recent Profile Visitors

12,236 profile views
  1. Very nice - thank you! Small pull request submitted regarding the readme file.
  2. netcarver

    That would be very nice, hope you can get the machine working soon.
  3. Have merged your pull request, thank you.
  4. @thetuningspoon I think you are on target here. There's a lot to be said for the InnoDB engine, and the row level locking vs table level should reduce contention and decrease latency with it. Redis, despite being single threaded, is writing to an in-memory key value store - so it's blindingly fast. I would be interested in seeing your updated code for the Redis session handler - if that's what you mean, as I need to update that module.
  5. netcarver

    @Thomas108 Like Teppo said, you need to add this formatter to the field you want it applied against. If you've already done that and configured the module settings to add the classes you want then it should be working. However: are you trying to combine Lazyload with CKEditor embedded images? If so, you are right, the current version of this Textformatter doesn't support LazyLoading - but I do have a version that does.
  6. netcarver

    @adrian Thanks for the feedback - I like the idea. It needs a take account of the chosen time format (that's just one of the ones on offer), but this should be possible. Will see what I can do.
  7. netcarver

    Hi @cosmicsafari Just look in the cache directory for a file called LazyCronLock.cache. If it is there for more than half a minute (or however long you estimate your code should run for) then delete it to unjam LazyCron. If this keeps happening, then there could be something in your hook method that is timing out and leaving the lock file there. Here's some code to return the location of the file if you want to do it programmatically... function getLazyCronLockfileName() { return wire('config')->paths->cache . "LazyCronLock.cache"; }
  8. netcarver

    LazyCron is driven by user visits. Are you sure the site is being visited regularly? If you need to guarantee a run, you need to setup a cron job to visit a page on your site, or simply use cron itself to drive your tasks. Another possibility is that the cron script is timing out behind the scenes and leaving the LC script jammed.
  9. netcarver

    Oops, I stand corrected.
  10. netcarver

    @owzim Great to hear from you in the forums again. I think Bernhard already opened a PR for you.
  11. netcarver

    What does your initial research/googling suggest? What do you want to achieve?
  12. netcarver

    Hi @adrian Thanks for the idea - I'll give it a try locally and see how it goes.
  13. The easy way to do this is to compare the current JSON reply to the previous one. If an entry exists in the previous JSON reply that doesn't exist in the current JSON then you know that you need to delete the corresponding entry in PW. Storage is easy - just write the JSON to disk. Compare is easy - convert the two JSON feeds to arrays and just do an array diff. Delete is easy, as long as there is a unique field in the JSON that maps through to a unique field value in PW. Once you've processed the current deletions, just store the JSON ready for the next cycle.
  14. @joshuag Early on in the thread you mentioned a work-in-progress fix for the 2800 event limit, and also about a more elegant update feature when adding exclusions. Any update on this? I've scanned the posts in the rest of the thread but might have missed it. Have these issues been addressed in the current version?
  15. netcarver

    Hi Simon, Please make sure that the field is not set up to do HTML Entity Encoding. To do this, edit the field for which you setup the CKEditor and go to the "Details" Tab and then remove the HTML Entity Encoder from the list of Text Formatters to be applied to that field. Just hit the little trashcan/dustbin icon at the right. This will be applied when you save the field. You should also make sure that the content type further down the page is setup for Markup/HTML. Hope that helps!