-
Posts
136 -
Joined
-
Last visited
-
Days Won
2
Everything posted by Andy
-
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.
-
@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.
-
@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.
-
Hi @benbyf Perhaps you should check out this forum thread: Try it if you've already upgraded to PHP 8
-
@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.
-
@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,"' />"; } ?>
-
@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.
-
@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.
-
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.
-
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.
- 14 replies
-
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
- 14 replies
-
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
- 14 replies
-
Ready to participate in beta testing. It is definitely an interesting development.
- 14 replies
-
- 1
-
@ID Studio Web Agency Sometimes creativity is a delight. The 3D editor in PW is very cool.
-
Hi @bernhard Thanks for the quick response. I see that you changed the status of RockForms to [deprecated]. Can I practice on the old version or have the terms of use changed? If the module became paid, what are the terms of use for the new module?
-
Hi @bernhard RockForms looks extremely intriguing. I should definitely give it a try. However, I haven't found how to use the datepicker in the form. Does it have to be external or I just don't get it?
-
Hi @bernhard Impressive project. It's a little jealous that I can't do that yet. Tell me please, why did you use RockForms here when you have the PW Form Builder?
-
How to enable archive support in PHP. Your web hosting provider must have these options enabled when running PHP. If you control this yourself, add these keys on the PHP command line: --with-bz2=/usr --with-zip --with-zlib Detailed instructions are here: https://bobcares.com/blog/enable-php-zip-extension-cpanel/
-
Czech localization + TextDomainHelper.module
Andy replied to Radek's topic in Multi-Language Support
Hi @ryan I made a small function to help Slavic translations. function my_decl($n, $forms){ $modulo = $n % 10; $dec = $n % 100; return $n . ' ' . (($dec > 9 && $dec < 20) || $modulo > 4 || $modulo == 0 ? $forms[2] : ($modulo == 1 ? $forms[0] : $forms[1])); } echo my_decl($leta, ['rok', 'roky', 'let']); // cz echo my_decl($chas, ['година', 'години', 'годин']); // ukr echo my_decl($girls, ['девушка', 'девушки', 'девушек']); // ru Czech version: When $leta=0, it returns the string '0 let'. When $leta=1, it returns the string '1 rok'. When $leta=2, it returns the string '2 roky'. When $leta=30123, it returns the string '30123 roky'. When $leta=30120, it returns the string '30120 let'. -
@Thromisios By the way, Ryan wrote an article on how to start a PW installation. https://processwire.com/blog/posts/starting-with-the-blank-profile/ It can be helpful.
-
Hello @Thromisios First, I would refer you to the ProcessWire documentation - https://processwire.com/docs/start/ And then, look through the sections of the forum: https://processwire.com/talk/forum/8-getting-started/ https://processwire.com/talk/forum/13-tutorials/ https://processwire.com/talk/forum/6-faqs/ Next, I would look at the sections of the forum and documentation that raise more questions for me. And of course https://www.php.net/ when you don't understand how PHP works. Good luck with your adventures.