Jump to content

wbmnfktr

Members
  • Posts

    2,111
  • Joined

  • Last visited

  • Days Won

    51

Everything posted by wbmnfktr

  1. Most of my clients already have some sort of webhosting and only in very few cases it needs an update in terms of more features like SSL and similar things. If they don't have webhosting I recommend a middle-sized shared hosting from trusted providers. An all-in-one package works in almost every situation. Domain + Hosting + E-Mail management = ~15 EUR/month that's it and all they need. In the past I have had root servers and VPS to host client projects. It was a nice option, additional money, and a good way to keep clients close. But as regulations and laws changed over the past years I decided to stop offering hosting services. Hosting isn't that expensive anymore and you find really good options out there. Hosting providers are there for a reason. They take the hassle away from me. If your client already has a website, take a look at their web analytics to see how much traffic there is. You can then decide which way to go and what package might be a good deal if there are performance issues. As far as I can say... a good ProcessWire site doesn't need that much of a high performance hosting. Unless you can't use ProCache even a super cheap $3 shared hosting might work well enough. ProcessWire sites with ProCache, almost no real-time-database interactions, and only a few forms have a nice small footprint.
  2. $settings = $purifier->getConfig(); $def = $settings->getHTMLDefinition(); $def->info_tag_transform['h1'] = new HTMLPurifier_TagTransform_Simple('p'); $def->info_tag_transform['h2'] = new HTMLPurifier_TagTransform_Simple('p'); $def->info_tag_transform['h3'] = new HTMLPurifier_TagTransform_Simple('p'); $def->info_tag_transform['h4'] = new HTMLPurifier_TagTransform_Simple('p'); $def->info_tag_transform['h5'] = new HTMLPurifier_TagTransform_Simple('p'); $def->info_tag_transform['h6'] = new HTMLPurifier_TagTransform_Simple('p'); $clean = $purifier->purify($dirty); That part is awesome. Should bookmark this for later migrations.
  3. In my experience it depends on how you import the content. Via Copy&Paste... just paste as plain text or go the extra route and paste before in a text editor of your choice. While using database import or migrator module you might want to trust the textarea field settings. It takes care of a lot of extra markup already. You might have to iterate via API over all pages to make the clean up happen or push it manually from the settings. You won't get rid of wrong H-tags but most of the other clutter will go.
  4. Kind of related and at least interesting. https://medium.com/@umpox/be-careful-what-you-copy-invisibly-inserting-usernames-into-text-with-zero-width-characters-18b4e6f17b66 https://medium.com/@aidobreen/hidden-text-fingerprints-and-how-to-avoid-them-d0103edd2ce4
  5. I don't want to undermine your suggestion but in my opinion the presets are fine. There is no one-size-fits-all-needs solution in this case. All websites are different in the matter of design and how it was achieved. I think the provided solutions are a very nice foundation that almost work in most situations already. At least they are a good starting point to build custom solutions later on.
  6. And people just don't want to wait for a website to load.
  7. Why don't you modify or create your own CSS for it?
  8. It's almost the same with writers and (freelance) journalists. They get paid either by (a low) hourly rate or article-based or only a one-time fee. They often sometimes (kind of) sell their copyright and transfer their "possible future profits" based on views or re-prints of their work the big publishers. And with this new foundation publishers' options for bypassing money got even more easier in some cases. Regarding copyright fee... that's already in place since at least 2008. I don't know how it's called in Hungary but here it is called Urheberrechtsabgabe/Pauschalabgabe - see Wikipedia (DE) more more details.
  9. What's happening in your lendout template right after // STUDENT? There is an empty foreach() loop in your snippet. Is that correct?
  10. Is there anything in the real rendered source (not inspector view but CTRL/STRG + U)? Does it render weird while CSS is disabled? Does it render weird while JS is disabled? How does another <h4> above/below gets rendered?
  11. Wow... it took me a while to find that cart button. So... the real magic happens on pages that aren't visible to non-students? As you know who still has something to return you maybe could limit your query to only those students. And maybe it's not even necessary to have those details in real-time quality. Maybe cached pages (hour or day) is enough.
  12. First things first... Why do you load this whole set of module stuff on every page? As far as I can see there is no need for that. As part of this your average page size is ~1.2MB which is way too much for whats happening on the pages. At first I thought you were facing a hosting issue here but static files are loading fast so I guess your querying a lot of data on each and every page load and don't use any caching where possible.
  13. At least for 1Password there was a real good guide. LastPass allows CSV imports which make things easier. There is no real reson for you to move away. I have had license problems and didn't want to pay each month for something I already paid for several times. A while back they changed their pricing model and switched to montly fees. I have had 3 licenses (first one bought in 2007) in total back then plus the iOS apps and then suddenly it became awkward. I didn't feel comfortable being pushed towards monthly fees to use syncing and everything. They were nice and did some good moves for a while but at the end I moved nonetheless. I'm not angry with them and still recommend their solution but no... I'm out. Looked for an alternative solution and found it with LastPass.
  14. A sad day for the internet, the EU, the democracy, and so much more. I don't know anything about any #article13 discussions, protests or media coverage in Spain or anywhere else but at least here in Germany - especially in the last weeks and days - the way of communication from politicians towards protestors, their statements against protests, and media coverage that supports that copyright directive were kind of shocking. They said some really weird things like... Online-protesters were bots. Mailings were from Google (as most of those mails came from gmail.com addresses). Those on the streets were paid [from big US companies]. ... and so on Yet another bad aftertaste especially for Germany and our politicians: https://edition.faz.net/faz-edition/wirtschaft/2019-03-26/f30a5870c08cc1e1b4524c1be19d1faf/?GEPC=s3 Maybe I never fully realized that degree of misleasing information from politicians and media but now I'm not only upset but actually really p*ssed. There seems to be a last option left but I really don't know if this will ever happen but... maybe. Back to your topic: those already big platforms will do fine with that. YouTube already has its Content ID system in place and therefore can offer APIs to those who will need it in the future. At least for video material. But the main issue I have with this copyright directive is this argument "Copyright-holders and creators should earn money with their work!" which is totally fine by all means. But that directive will not help any content creator on any plattform. How could it? Independent writers, musicians, DJs, fotographers, even programmers will still have the problem to find all those pirated copies of their work. They won't earn more money. They still have to prove their copyright claims. But on the other hand publishers got some more power to bypass money from the real creators. And they got their link tax foundation they always asked for. But... there is a positive side-effect. I learned to look closer. I learned to trust less. I learned to think more than twice. I learned who might not be on my side. And I learned who to vote for the next election. Regarding Alex Jones and de-platforming: That was never a real topic here in Germany at all. At least I saw only very few articles or side-notes somewhere or at the bottom of a newsfeed. That's it. And if you find anything about it, they applaud about it because he is some kind of a bad person. This narrative or bias at Twitter, Facebook, YouTube, [name more here] and the banning of people from their platform wasn't invented by those platforms. They would be doing totally fine even with all of those now banned people. Maybe even better. It was cultivated over the last few years.
  15. Was a fan of 1Password. Moved away to LastPass. Never got comfortable with KeePass.
  16. Is it maybe necessary to enable UTF8 page names first? https://processwire.com/blog/posts/page-name-charset-utf8/
  17. Just some ideas, thoughts and questions... How old is that installation? Is your account an Administrator or user account? Are there background update processes (downloading, clean up) running? Does Windows built its file index right now? How about disk read/write performance in task manager? Is that higher than expected? Where is your Laragon folder located? C:\laragon for example? Is that folder set to "compress" or how it is called to save disk space? Is Windows Defender or any other AntiVirus slowing down file access due to real-time-file-monitoring? Can you disable AV and test performance? Are there IIS/database services running and listening on the same ports? Does it make any difference if you enable/disable laragon autostart? Does it make any difference if you disconnect from the internet? Is there a difference if you run Laragon as Administrator? Are there other host entries or tools like XAMP interfere? Do you use another domain ending than .test? Do you use or are you running a VPN? I know this is not really helpful but maybe there is something in it than can help you to sort out the issue.
  18. My laragon is... fast. Faster than DreamHost shared hosting, slower than webgo shared hosting but I'm fine. My realpath_cache_size is somewhere at 128MB but higher than 64MB isn't a benefit at all. At least not on my setup. My previous setup (Lenovo X1 Carbon, i7, 8GB RAM, SSD) was faster than my current setup (Surface Pro 2018. i5, 8GB RAM, SSD) but after some tweaks (SSD driver update, reducing autostart apps) there is almost no difference anymore. At least while developing. MySQL is running fine in version 5.7.19 - but it's a version I got from the forums and not from the official download page. Don't know if there is a real difference anymore. What's your current setup? P.S.: The need for sleep is only a lack of coffee. ?
  19. Those two are indeed missing. I guess @ryan is testing us. ?
  20. There are screenshots... but I don't know if those are the same as before.
  21. wbmnfktr

    other CMSs

    But in contrast to some modern fancy buzzword JS-framework developers out there you are still able to build websites that work. Take those developers their frameworks and you end up with nothing. Had this experience a few times by now and it's frustrating.
×
×
  • Create New...