Jump to content

Andy

Members
  • Posts

    118
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by Andy

  1. @bernhard I think it's a great job. Thank you so much for showing how it works from the inside.
  2. Hi @Stefanowitsch You have done a great project. I too have found the modules from @bernhard to be very speedy. I am looking forward to your new projects.
  3. Hi @rst For some reason in PHP8+, the coordinate values default to the empty string. You can fix the module code and hard-code their values to float. Until @ryan fixes it. if( ((string) round($lat, $precision)) != ((string) round((float)$this->defaultLat, $precision)) || ((string) round($lng, $precision)) != ((string) round((float)$this->defaultLng, $precision))) { I've requested changes to the https://github.com/ryancramerdesign/FieldtypeMapMarker
  4. Oh, yes, it is. I'll have to be more careful. Thank you.
  5. Hi @bernhard I can't connect to the website. Blank page only.
  6. Hello @Juergen Thank You. I am amazed at the speed with which you implement what you have in mind.
  7. @Juergen I wish I had gotten to this part of the documentation. The examples always help me. Thanks. There are some good choices here. By the way, the documentation is very well written.
  8. Hi @Juergen Thanks for this module. I can see that a great and good job has been sold. The main problem why I still use custom forms is the date picker. The first problem is to set the range of acceptable times to specify. The second is to inform the user of a date error if the range is still not respected. You do realize that both POST and GET are not perfect. The other case is when the user needs to specify a range of a start date and an end date. There are more error options here. There is also a variant when dates are linked. For example, after specifying the first date, the second date can be as much as two weeks later. Usually such collisions are solved with jQuery. I looked at your module documentation and didn't see any examples with dates. Maybe you have a similar functionality, but I would like to see an example.
  9. @Joachim First, you should check the PHP configuration. To do this you have to run a command in the program code - phpinfo(); The PHP configuration page should have this block: The version numbers may vary. This picture is just an example. If not, ask your hosting provider to compile PHP with the ZIP library.
  10. @Juergen Thank you for your reply. How much you need to add avatar images to your profile depends on the format of your project. In my projects, this is a fairly common feature. I use LoginRegisterPro, which @ryan suggests. There, adding an image doesn't give you any image editing functionality. But you don't really need it either, as there are a lot of image editing programs on the fly right now.
  11. Hi @benbyf Perhaps you should check out this forum thread: Try it if you've already upgraded to PHP 8
  12. @LAPS I too use LPR to add pictures to user profile. Usually the user's image files are in the user's folder. As example: https://mysite.pw/site/assets/files/41/cot.jpg And such pictures are available to everyone, unless you specify otherwise. You can change this behavior in the user template by enabling access control.
  13. @LAPS Use the user page as a normal page. Any user fields can be shown if you have not set a ban in the template. <?php $usr = $users->get('id='.$user_id); if(empty($usr->photo)){ echo "Photo empty"; }else{ echo "<img src='",$usr->photo->httpUrl,"' />"; } ?>
  14. @bernhard It wasn't really a website. It's a catalog of machine parts for the company. We were then looking for a CMS that could display the hierarchical structure of the catalog well. In addition, we needed the templates to have a different structure for different types of parts. One of our young programmers at the time said: there is a great American CMS - ProcessWire, it is perfect for our task. That was in 2012. In any case, we finished this project in 2012. I found a backup now. We used ryancramerdesign-ProcessWire v 2.2 In 2013, we moved our windsurfing store project from a self-described CMS to PW 2.4. By the way, the self-written CMS has been around since 2000. At that time @Soma cheatsheet helped us much. We still maintain that project, but have updated PW each time for new features from @ryan. Back then, there was no PW module for a full-fledged store. But in 2012, @apeisa published an example of such a module Shop-for-ProcessWire. We took it as a basis and now it is a working online shop. In fact, I made my first site in 1994, and it is now also converted to PW. It was such a long story with a happy ending.
  15. @ryan What I love about PW is that you can do the craziest projects with it. The flexibility of PW allows you to implement anything from a payment terminal to an e-book with maps. And even the older versions remain reliable and work as designed. I have PW version 2.3 running somewhere - no complaints from customers. This is a genius invention. Thanks. I hope to post a new project on PW here soon that implements a remote medical equipment management system.
  16. Hi @7Studio Very clean and concise design. Beautiful work. Progressive layout technology. About multilingualism. I recommend to include multilingual features at the very beginning of the site. Otherwise there may be problems that you will have to solve from the beginning.
  17. @fruid I looked for a solution on the forum. I couldn't find it. I had to write an answer for future generations.
  18. Make a static page 404.html Fix the line in the .htaccess file From ErrorDocument 404 /index.php to ErrorDocument 404 /404.html Also, it would be useful to read the article "Optimizing 404 requests in Processwire"
  19. Discovered another bizarre situation. If you upload a video in webm format, the video is uploaded to the editor, but it is not saved. This does not happen with the mp4 video format. The mp4 format is saved and displayed in the frontend.
  20. I was able to install without errors. With the configuration utf8 MyISAM When a delete COLLATE=utf8mb4_0900_ai_ci Other way with configuration utf8mb4 MyISAM - gives an error: A SQLSTATE[42000]: Syntax error or access violation: 1115 Unknown character set: 'utf8mb4mb3' My version MySQL 5.5.62
  21. Some as this problem with installation: SQLSTATE[HY000]: General error: 1273 Unknown collation: 'utf8mb4_0900_ai_ci' Created DB - utf8_bin Server version: 5.5.62 - MySQL Community Server (GPL) Database client version: libmysql - mysqlnd 7.4.30 Here was this collision, I think: CREATE TABLE `textformatter_video_embed` ( `video_id` varchar(128) NOT NULL, `embed_code` varchar(1024) NOT NULL DEFAULT '', `created` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP, `data` text, PRIMARY KEY (`video_id`), KEY `created` (`created`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci; in file - install.sql
  22. Ready to participate in beta testing. It is definitely an interesting development.
×
×
  • Create New...