-
Posts
2,233 -
Joined
-
Last visited
-
Days Won
47
Everything posted by netcarver
-
I know this thread is marked as solved - but I wanted to make a few comments. @OLSA FWIW, Tracy Debugger has a scream mode that forces it to ignore the @ supression. Just enable it in the settings page if needed. @demhan If you are using GD, then I think it counts towards your process' memory limit. Try upping the max memory limit for PHP and see if that helps. (Link if needed)
-
How about this 3D Interactive Mall Map over at Codrops?
-
@Troost, if you open the network tab and then look at what's failing to load when you try to edit a page, you may get a better idea of what's not being loaded correctly. You'll be looking for 404 or 403 errors for the most part.
-
In cases like these, the Internet Archive (previously called WaybackMachine) is the go-to source. Here's the article mentioned: https://web.archive.org/web/20181201112507/https://processwire.com/docs/tutorials/but-what-if-i-dont-know-how-to-code/
-
Fantastic timing - just about to look into this myself for a site. Thank you!
-
Hi @gebeer Just stumbled across this (I know my reply is a little late,) but it is totally possible to prevent your rest API endpoints from starting sessions by using the $config->sessionAllow; variable. If you define it to be a function that returns bool true or false, then it will be evaluated and the return value determines if the Session class constructor is allowed to start a new session. There's an example of it in the default wire/config.php file at line 245. Reproduced here... $config->sessionAllow = function($session) { // if there is a session cookie, a session is likely already in use so keep it going if($session->hasCookie()) return true; // if URL is an admin URL, allow session if(strpos($_SERVER['REQUEST_URI'], $session->config->urls->admin) === 0) return true; // otherwise disallow session return false; }; You just need to rewrite the function so it returns false for your API endpoint path. Make that change and add it to your site/config.php file, and I think that anything hitting your API endpoint directly will not have a session created for the connection. Hope that helps!
-
Thanks for the tutorial, Edison. It might be useful if the getIP() method in wire/core/sessions.php#L707 were made hookable. This would allow you to add a hook to ready.php to handle redaction, rather than having to clone the module.
-
Thanks for this post!
-
Did hsts in the new .htaccess just break everything?
netcarver replied to alexcapes's topic in General Support
@alexcapes It might turn out to be instructional if you could let us know what went wrong with the transfer and how you (eventually) get it sorted out. Regardless, I do hope this is fixed for you soon. -
@wbmnfktr I did try it both ways yesterday and it didn't seem to make a difference. I will re-add it to the page head and test again. Update: The picture posted was taken with the link in the HTML.
-
Does anyone know why Chrome delays the favicon fetch, even when no other resource is being pulled from the source? Sometimes the delay in starting the fetch can be substantial, so I wonder if the browser is actually painting the contents and then going out for the favicon.
-
Disposable E-Mail address filter for FormBuilder
netcarver replied to bartelsmedia's topic in Wishlist & Roadmap
Yeah, it's pretty bare-bones at the moment. A form to allow folks to manually submit finds/report classification errors would be neat too. -
Disposable E-Mail address filter for FormBuilder
netcarver replied to bartelsmedia's topic in Wishlist & Roadmap
Ok, I think the directory is about there now. Has about 1400 assets - many of which are not available via the modules directory. Enjoy. -
Disposable E-Mail address filter for FormBuilder
netcarver replied to bartelsmedia's topic in Wishlist & Roadmap
I wrote a script a while back to search for this kind of thing, though it doesn't spider Gitlab, PW gists or forum code yet. I've made a start at putting it online at pwgeeks.com. Currently only has about 60 items of over 1300 it has found to date - but as I massage it back to life, the directory will fill up. -
spa Architekturführer Köln - SPA in the front, ProcessWire in the back
netcarver replied to schwarzdesign's topic in Showcase
Looks great - thanks for the write-up. -
module SnipWire - Snipcart integration for ProcessWire
netcarver replied to Gadgetto's topic in Modules/Plugins
Thank you.- 231 replies
-
- 4
-
- shopping cart
- snipcart
-
(and 2 more)
Tagged with:
-
@NorbertH Are you sure there were changes to the order page when you saved it in the front-end. IIRC, there needs to be a change to a field before the save actually activates an Ift action.
-
Hi Robin, Just trying this out and it works very nicely. Could you be persuaded to add something akin to your password generator into this for generating and pasting random access tokens? Also, is the Message field put through any text formatters? How about allowing it to be put through something like Markdown?
- 11 replies
-
- 3
-
@itsberni I just ran into this on my development server (using PHP7.2) The clues to a fix were found here. NB, this module doesn't need ImageMagick/Ghostscript to have write permissions for PDFs to generate the thumbnails, read permission worked just fine for me. <policy domain="coder" rights="read" pattern="PDF" />
-
Don't forget to consider using a 2nd factor as well as a password manager, particularly consider 2FA for your email accounts (where possible.) Authy works great for places where you can't use something more solid like a YubiKey. If you do go down the YubiKey route, get 2 of them and put both of them on your accounts and then keep one of them locked up somewhere as your backup.
-
@mafuz This is the wrong forum for django/nginx questions. Try out one of the django community contact points (like the IRC channel) if StackOverflow doesn't work for you. If you have problems with something Processwire-specific, you're welcome to post in the forums again. For now, I'm going to lock this thread as it doesn't belong in our forum.
-
Released: Street Address Fieldtype + Inputfield
netcarver replied to netcarver's topic in Modules/Plugins
Just merged the localisation branch into master and pushed up the latest version of this module. We are now at version 1.1.1. -
☁️ Duplicator: Backup and move sites
netcarver replied to flydev's topic in Module/Plugin Development
@jploch AFAIK, you can turn off PCRE JIT compilation if needed. Some info in the discussion here. -
@Brian Peat Hello Brian, Welcome to the forum & thank you for your first post. I hope @tpr - the author of this module - picks this up quickly for you (he's usually very responsive.) Although I'm reluctant to suggest a fix for that line in the module (I'm not wholly familiar with TPR's intention there and simply suppressing the notice might be hiding a larger issue) I do hope you end up enjoying working with ProcessWire and interacting here in the forums! Best wishes, Steve