Jump to content

Juergen

Members
  • Posts

    1,306
  • Joined

  • Last visited

  • Days Won

    13

Posts posted by Juergen

  1. Hello @bernhard

    I have tested your module and it works very well!!

    Unfortunately it does not exactly what I want, because it imports json files. What I need is to get all language files of a module as csv, not json. The reason for this is that the language files of a module should be shipped as csv files inside the languages folder, so they could be imported by the user.

    So I am looking for an easy to use solution to get all all language files of a module as csv files. Then I use the command line interface to copy all these files into one. At the moment PW only supports the download of each csv file separately, which is very time-consuming.

    It would be great if there would be a possibiltiy to select if the language files should be imported as json or csv. This is only an idea for a request - I know you are very busy and if you do not agree with me, it is ok.

    Wish you nice weekend and thank you for all your work you have done till now for the community!

    Best regards Jürgen

     

  2. Hello @DrewPH

    I have added your request to the new version 2.2.18.

    Now you can find a new text field inside the module configuration under the AJAX tab, where you can change the info text for the user during an AJAX request. If you enter a custom text into this field, then this text will be displayed globally on each form on the site.

    49295403_Screenshot2024-10-26at22-43-15ModuleFrontendFormswebseite2_at.thumb.png.4f5ec4bad7d2eafd53b60ece8808272e.png

    In addition I have added a new method too, where you can change the text on per form base, which means that you can use a different text on each form (if needed). I guess this is a use case, that will not be needed very often, but if so.....you can.

    This new method is called setAjaxMessage() and has to be used with the form object:

    $form->setAjaxMessage('This is my custom submission text');

    This method overwrites the default or global text on per form base.

    BTW, I have discovered 2 other JavaScript problems beside the problem you have described  during the development of this new feature and I have fixed these problems too. You will find the complete description of all changes inside the changelog of this version.

    As always, please keep an eye if everything works as expected after the update!!

    Best regards Jürgen

    • Like 2
  3. Hello @DrewPH

    Thanks for you issue report and your suggestion for a new feature!!

    I have fixed the JS error. Please replace the JS file with the new one on GitHub (https://github.com/juergenweb/FrontendForms/blob/main/frontendforms.js) and let me know if the error is gone now.

    Your suggestion to be able to customize the info message during an Ajax request: I will take a look to add a new configuration field in the backend to change the message text to your needs. BTW, it is not really hard coded - it is a translatable string, so you can change it in the backend to your needs if you have the language option installed in PW.

    But I will take a look to make it possible to change it independently.

    Best regards Jürgen

    • Like 2
  4. Hello @DrewPH

    Thanks for reporting this issue and you are absolutely right. I have changed all class names (not only the "block" class name) of the CAPTCHA element by adding the prefix "ffm" to all classes. Now it should be very unlikely to get class names conflicts in the future. So please update to the latest version 2.2.17 in order to get all changes.

    You can read the full changelog here.

    Important information to all other users: If you have modified the styling of the Slider Captcha by adding your own CSS by overwriting the default CSS, please take care that the class names have been changed now and your changes will no longer affect the the styling of the CAPTCHA. So please adapt your custom CSS with the new class names.

    • Like 5
  5. Hello @Cybermano

    8 hours ago, Cybermano said:

    Please, note that in the last linked repository your "jk_publish_until" field still has a "none" output format (instead of a [d-m-Y]), that causes a parsing date issue.

    Thanks for the hint. I have fixed this. There was a writing mistake of the dateformat (d-m-Y instead of d-M-Y). If you have the module installed, you need to change it manually at the configuration of the "jk_publish_until" inputfield - if you install the module once more, it will be correctly set during the creation of the field (recommended).

    8 hours ago, Cybermano said:

    Furthermore I found a little misunderstanding the unpublish description in scheduled plan if the page will be moved in new parent: this page will be remain unpubilshed? It seems no: the page will be unpublished from it's first parent, but it will remain published in the new one. So the page will not be unpublished at all. Or am I wrong?

    No, you are not wrong. The page will be moved to a new position and the new status is published (not unpublished). This is a little bit confusing I know, but I guess it would not make sense if you move the page to a new position and leave it unpublished. You can think of moving a page at a certain date to the archive - it would not make sense, if the page is in the archive, but not published. That is the idea behind it.

    I am not really happy at the moment with the module, because some code is too complex and probably needs a workover. Anyway, you can fork it and maybe you can add new features or simplify the code.

    Best regards

     

  6. Hello @Cybermano

    I have published it again, with a fix for multilanguage sites, but it will take some time until the module will appear in the module directory again. In the meantime you can download it directly from GitHub.

    As fas as I know, an action on a parent page will have an effect on all childpages. Fe if the parent page will be unpublished, all child pages will be unpublished too.

    For example moving pages to another place. If you move the parent page to directory A, then all child pages will be also moved to directory A.

    But it is not possible to select between different templates of childpages. You cannot move child pages with template 1 to directory A and leave child pages with template 2 untouched. Sorry!

    It is also not possible to leave the parent page as it is and only move/trash/unpublish,.. child pages.

    • Thanks 1
  7. Hi @Cybermano

    18 hours ago, Cybermano said:

    As I understood, this module can operate on the single page when almost one date fields is setted. Right?

    Yes, you are right.

    I have discovered some problems by using the module on a multilanguage site, so I have decided to unpublish the module now in the module directory, because I have not the time at the moment to make it more stable and to work properly.

    Maybe someday I will publish it again, but for now I cannot recommend you to use this module.

    Best regards Jürgen

     

    • Like 1
  8. Version 2.2.15 is out!

    This update comes with a small performance upgrade. Now you can choose on which pages you want to embed the JS and CSS files of the FrontendForms module. This means that you can prevent the files from loading on pages that do not contain a form. This also allows these pages to load faster

    This version includes a new configuration field in the backend where you can select all the pages where you want the files to be embedded.

    embed-files.thumb.gif.c7ec26153190e29f43c49ce0c6e91cb9.gif

     Best regards

    • Like 4
    • Thanks 2
  9. Version 2.2.14 is out!

    This new version comes with a new CAPTCHA type: a slider captcha. Now FrontendForms supports 7(!) different CAPTCHA types and I guess this will be the last one.

    There is a fabulous module in the module directory which also creates a slider captcha that can be used with other forms: Slide Captcha. But the slider Captcha in FrontendForms is an extra coded and integrated captcha, that has nothing to do with this module. To be clear: The slider captcha inside FrontendForms is similiar to the Slide Captcha module, but it has nothing to do with it. So there is no need to install the other module. The only thing you have to do is to enable the slider captcha in the module configuration - that is all.

    558249146_Screenshot2024-08-27at17-59-38ModuleFrontendFormswebseite2_at.thumb.png.65818bd0e3dc4e3571a2b622dad34800.png

    You have 1 additional configuration field where you can select the accuracy of the puzzle piece to the goal. 5 means that the distance of the puzzle pieces to the target must be less than or equal to 5px in order to solve the captcha correctly.

    Here you can see the new slider captcha in action:

    slider-captcha.thumb.gif.0e2bd4d17068f5394052a1ac0a9d9f27.gif

    As always, please report any bugs on Github!

    • Like 1
    • Thanks 2
  10. Version 2.2.13 comes with an upgrade for the FrontendFormsManager module.

    The FrontendFormsManager module shipped with FrontendForms was added a few versions ago. The usage of this module is optional.

    This module now also supports the management of suspicious IP addresses. These are IPs that have been temporarily banned due to many unsuccessful form submission attempts (logging must be enabled in this case). A new section for managing these IP has been added.

    dashboard.thumb.png.a7b654e5b5c001584b50e8d81c7e10c9.png

    As you can see, a table of statistical data and a chart have been added to the FrontendFormsManager. When you click on the "Go to all temporarily blocked IPs" button, you will be redirected to a new page that contains all the temporarily banned IPs. The data is taken from a log file. Below you will see a screenshot of this page.

    list-of-blocked-ips.png.4d8912a5ac37630df7c60a67dd077032.png

    Inside this table you have a button to view more details about this IP and a button to add/remove this IP to/from the blacklist. If you click the "View details about this IP" button a panel will be opened with more information about the IP and the number of blockings.

    Panel.png.e2e87df3fa88a6fdc974eba2a9b71d54.png

    With this information, you can now decide whether you want to block this IP permanently by adding it to the blacklist or not.

    Happy testing!

    • Like 2
    • Thanks 2
  11. Thanks @BitPoet

    I have never heard about this config settings property, but I will give it a try.?

    It happens only on a testing site, so I have changed the site from multilanguage to single language and then the error was gone. So the problem is only on a multilanguage installation in my case.

    • Like 1
  12. Hello @all

    I am struggeling with the following error message, which appears after the first install of a module on a brand new PW installation by viewing log files:

    1993033062_Screenshot2024-08-04at15-16-52.thumb.png.fc684ee9965ecf88250814510fc0c1a5.png

    Short description:

    After a fresh install of PW-dev 3.0.240 (latest dev version) on a server running PHP 8.3 and MySql 8.0 everything works fine if I go to the log files. I can view the log files for errors, exceptions, modules,... without problems.

    After I install my first module (in my case I have installed the ProcessDatabaseBackups module from Ryan) this error message will be thrown if I want to view a log file.

    To be clear again: This error message will be thrown if I want to view a log file in the backend AFTER I have installed a module. Before the first install of a module everything works fine.

    On my localhost running on PHP 8.2 there is no problem. Could this be a PHP 8.3 problem? Does anyone struggle with the same problem? I have found some older posts of a similar problem in the forum, but none of them helps me to solve this problem.

    Maybe someone can point me into the right direction, what the problem could be, because the error message does not help me to find the cause for this error.

    Edit: Ok, it seems that this is a MySQL safety rule on shared hosts, but is there a possibility to change this like inside  a php.ini for PHP?

    Thanks in advance

  13. Thank you @Andy

    If you have a live site online with FrontendForms, you can give me a link to your site and I will add it to the "Live examples" section of the readme file. This is a brand new section so there are only 2 examples there at the moment, but I will add more examples over the time.

    In this case you get a backlink for free to your site, but I will point it to the page where the form is included.

    • Like 1
  14. Hello @Andy

    I have seen this CAPTCHA and it looks good. I have to test it first to see how it works and if and how it could be implemented into FrontendForms.

    But this is not on top of my priority list. At the moment I am working on an upgrade of the FrontendFormsManager to implement an UI for blocked IPs.

    Currently this will be handled inside the module config, but I want a better UI outside of the module config. This should help site owners to identifiy and block suspicious IP addresses, so I am working on to include this inside the FrontendFormsManager.

    But I will keep the new CAPTCHA on my list ?.

    Best regards

    • Like 2
  15. Version 2.2.11 contains a new feature: Use FrontendForms inside CKEditor fields

    This new feature allows you to load forms inside CKEditor fields via the usage of placeholders. It supports the loading of the same form multiple times in one or more fields.

    Short description: Use placeholders like {{myform}} inside your CKEditor field. The placeholders will be replaced with forms during the page render process on the frontend.

    newFFversion.jpg.e7638aaf16d57c504decf0af42c816f1.jpg

    A more detailed description about how it works and containing a code example can be found inside the docs. This is a brandnew addition, so test it carefully before using it on live sites.

    Jürgen

     

     

     

    • Thanks 2
  16. I would like to see SEO support integrated into PW by default. I know that there is the SEO Maestro module, which is fabulous, but I think every CMS should have a good SEO support by default.

    So it would be great if a new tab will be added to the pages like this:

    204725566_Screenshot2024-07-20at07-04-38EditPageAboutwebseite1_at.thumb.png.4c054c8c554be1d5059d8bec3d80f5f1.png

    In addition to this, there should be a new property inside the configuration file to disable/enable the tab globally in the way like this.

    $config->seo = false; // or true

    And in the settings of the page, there could be a checkbox to enable/disable the SEO tab per page.

    The content of the SEO tab could be as it is in the SEO Maestro module.

    • Like 3
  17. Hello @dotnetic

    It is possible to store the file everywhere as long as the permission for this directory allows it. I can add the possibility to choose a custom directory, lets say a text input where you can add the path to your prefered directory. As the default directory path 'site/assets/files/FrontendForms/frameworks' will be set and you can overwrite it with your path.

    I'll inform you, if the update is ready ?

  18. Hello @marie.mdna

    I hope I have fixed the problem now ?.

    For testing purposes I have added the profile form inside segment 2 so it was reachable under      /profile/segment1/segment2. After form submission it redirects successfully to the same url (on success and error) - so everthing works fine.

    I have tested it on a single and a multi-language site and with/without Ajax. On my local installation it works as expected. So please update FrontendForms to 2.2.8 and FrontendLoginRegister to 1.3.4 and let me know if it works for you now.

    Best regards

    • Like 3
×
×
  • Create New...