Jump to content

netcarver

PW-Moderators
  • Posts

    1,951
  • Joined

  • Last visited

  • Days Won

    42

netcarver last won the day on July 14

netcarver had the most liked content!

Profile Information

  • Gender
    Male
  • Location
    UK

Recent Profile Visitors

15,063 profile views

netcarver's Achievements

Hero Member

Hero Member (6/6)

2.8k

Reputation

18

Community Answers

  1. Anyone seeing issues with the generated thumbnail for vimeo-based embedded videos? Currently just getting a stripy image back from vimeo no matter what video is embedded. Pressing play works - the video is streamed and played without issue, it's just the thumbnail from vimeo that's the problem. Looks like this...
  2. Have been using porkbun.com for years. Just for registrations; my DNS and hosting is elsewhere. Porkbun cover .uk, .org.uk and .co.uk domains as well as all the usual suspects.
  3. Nice, thank you Robin. Seems to work well.
  4. @jds43 That would probably be indicative of your server side code running more than just your ajax section. It's probably not what you are outputting in the rendered htmx you just posted. In the example kongondo posted above, the ajax route ends by calling $this->halt() to finish off PWs processing after echoing out the html. Is your code doing this? NB it is only possible to use halt() in some situations (like template files, IIRC) so you'll need to do that or just call exit(); if in a different context.
  5. Any difference in PHP versions between these two setups?
  6. This requires a more recent version of PW than 3.0.165 - I'm currently using 3.0.182.
  7. Please do. And thank-you for what you've already shared. I just started using this today and it's looking good so far.
  8. Ok, like @rick said, please try to use the absolute path if possible. If that doesn't work I'd then want to check that the u9...9 user actually has access to PW's files. If that user is not the same user as the HTTP server user (like apache) then sometimes this can be an issue.
  9. Ok, so there are no errors in the apache/PHP Logs but what about in PWs log Error/Exception logs?
  10. @Manaus Take a look at Lakeland Trails from @Pete at Nifty Solutions. Almost 52 thousand users. Might be worth pinging him to ask more about the actual pros/cons of doing it that way.
  11. Hi @horst, thanks for the reply, but unfortunately not. I have found a work-around that I can use for now by hooking the login register pro login-form processing which happens before the session::login hook gets called, and removing it there does work.
  12. Hello wonderful PW-philes, I have a situation where I'd like to prevent system notifications from being stored when a self-registered user logs in or out (or fails to log in.) These events just clutter up the systemUser's notification list so I thought I'd add a hook early in the hook chain that works out if it's a self-registered user logging in and then just remove the System Notification module's hook by using removeHook(). Sure enough, I can find the target hook in the hooks returned by the system - and seemingly remove it from the hooks array - but the hook is still executed no matter how I call removeHook(). Here's the things I've tried in my hi-priority session::login hook that don't work... $id = $this->findSystemNotificationLoginHook(); $event->removeHook($id); $this->removeHook($id); parent::removeHook($id); $this->session->removeHook($id); wire()->session->removeHook($id); I've also tried targetting the actual instance by attaching to wire()->session->addHookAfter('login'...) as well - and tried doing addHookBefore(). I'm guessing that it's actually too late to remove the hook when I make the call as the hook array associated with this event is already being processed by PW and it's working its way through a local copy of the event's hooks. Does anyone have a way of removing a later hook from an event-in-progress? I can't just cancel the event as there may be other, lower priority hooks on the session::login event that I'm targetting.
  13. Never used it, but I know some folks use Wistia to host video content.
  14. Ok, so I can find the sha's of the commits via the history of the ProcessWire.php page on GH here - but I still think it would be nice to be able to reference by tag in git :)
×
×
  • Create New...