Jump to content

Pixrael

Members
  • Content Count

    216
  • Joined

  • Last visited

  • Days Won

    1

Pixrael last won the day on October 31 2017

Pixrael had the most liked content!

Community Reputation

232 Excellent

About Pixrael

  • Rank
    Sr. Member

Profile Information

  • Gender
    Male
  • Location
    Florida, USA

Recent Profile Visitors

1,654 profile views
  1. Pixrael

    ProcessWire on the web

    If we check the reviewer website (https://dougmcarthur.net/) then we understand why he sees the Processwire environment so difficult and complicated, even for Wordpress standards this website is very simple: a theme template and a couple of posts. Additionally for that plain homepage in the "recommended" Wordpress it needs: Fully Loaded Time: 9.4s Total Page Size: 5.68MB Requests: 52
  2. An elegant way to do this is how the Intuit company does it in the footer of the sites, see: https://www.intuit.com/ they have a link to a page for the explanation (intuit-cookies-policy) and other link to configure cookie management. Will be interesting if we have a module that do both: create the page for the blah blah.. and show the modal to admin the behavior.. then output the markup for this links (About cookies | Manage cookies) 😉
  3. https://processwire.com/blog/posts/pw-3.0.133/#new-page-gt-meta-method <-- the new kid on the block
  4. I use an ionos.com (former 1and1) dedicated server and it works great (features, performance and prices), but if what you need is something easy/cheap to admin for PHP projects you can evaluate this packages: https://www.ionos.com/hosting/php-web-hosting
  5. https://modules.processwire.com/modules/fieldtype-yaml/
  6. 👍 Will be great if you can mix Markup Regions with the concept of the "Tags File Compiler" module https://processwire.com/blog/posts/processwire-3.0-alpha-2-and-2.6.22-rc1/#new-module-file-compiler-tags
  7. Add the "Paid" field to the user template: https://processwire.com/talk/topic/16400-is-it-possible-to-add-custom-user-properties-to-the-user/ Then you can update that field: $user->setAndSave('paid', 'true'); You can use a FieldtypeCheckbox for that too, then the ON value is 1 and OFF value is 0
  8. https://prog.tube/laravel-php-create-a-social-network-full-app https://github.com/lvntayn/laravel-social-network
  9. This is my code fragment that is currently working.. but I save the image to file because my case // here I load the SVG file $svg = file_get_contents("https://www.domain.com/site/templates/images/$image.svg"); // here goes code to modify some elements, colors and texts in the svg .... // here I set the SVG var to Imagick and save to a PNG file ready for download $im = new \Imagick(); $im->readImageBlob($svg); $im->setImageFormat("png24"); $im->scaleImage(1024, 1024, true); $im->writeImage("../downloads/$filename"); $im->clear(); $im->destroy(); $file = "https://www.domain.com/site/downloads/$filename"; echo $file; I implemented it as a service that is called by AJAX and returns the URL to the generated image.
  10. It work for me. Try to assign the image path manually to verify that the Imagick is working: $im->readImageBlob("https://www.domain.com/site/templates/images/image.svg"); If you are able to open the picture in the browser using the path, this should render the picture on the page.
  11. @adrian I tried this and works with wrong password entries, but if both parameters are ok, then I get a fatal error: Error: Exception: Login not attempted due to overflow. Please wait at least 20 seconds before attempting another login. (in /var/www/vhosts/domain.com/app.domain.com/wire/modules/Session/SessionLoginThrottle/SessionLoginThrottle.module line 150)
  12. In the Login/Register module I receive this error when the email exist but the password is incorrect. Any solution? Because the module has no new updates. Notice: Trying to get property 'name' of non-object in /var/www/vhosts/pdhvac.com/wms.pdhvac.com/site/modules/LoginRegister/LoginRegister.module on line 394
×
×
  • Create New...