We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 4195
    • 398 Posts
    oke I added above request and also did some additional modifications. enjoy wink
      Armand Pondman
      MODx Coding Team
      :: Jot :: PHx
      • 3763
      • 155 Posts
      Hello!

      First of all I want to thank you for this great snippet! It’s very good wink

      Here is an error I get when browsing the page where the snippet is loading:
      Warning: Call-time pass-by-reference has been deprecated - argument passed by value; 
      If you would like to pass it by reference, modify the declaration of xml_set_object(). 
      If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file. 
      However, future versions may not support this any longer.
      
      in /var/www/html/modx/assets/snippets/replix/phpdomxml/lib.xml.inc.php on line 860


      And here are some items for the wishlist, but just if they are possible to do.

      1. The XML document that is created still points to: Mini-Blog HOWTO - Replix 1.2.0
      Wouldn’t it be better if you remove the complete version number?

      2. I’d like to use some other fields in the submit form. Now I have created a new chunk and added name, email and comment. So far the script is saving only subject and comment. Is it possible to make the form fields somehow dynamical and allow each field to be saved to the XML file? And eventually if the snippet is called to allow all to post, and a name is entered this will be shown instead of anonymous?

      Thank you very much smiley
      Boby
        ...my Photo Gallery on Flickr...
        • 4195
        • 398 Posts
        Quote from: Boby at May 30, 2006, 05:30 AM

        First of all I want to thank you for this great snippet! It’s very good wink

        Thanks!

        Quote from: Boby at May 30, 2006, 05:30 AM

        Here is an error I get when browsing the page where the snippet is loading

        I will look into this error but it’s originating from the 3rd party class I included.

        Quote from: Boby at May 30, 2006, 05:30 AM

        1. The XML document that is created still points to: Mini-Blog HOWTO - Replix 1.2.0
        Wouldn’t it be better if you remove the complete version number?

        I will update the version number, the reason why I keep this in the XML is because I can check which snippet version has altered/created the xml document. Will maybe come in handy later on.

        Quote from: Boby at May 30, 2006, 05:30 AM

        2. I’d like to use some other fields in the submit form. Now I have created a new chunk and added name, email and comment. So far the script is saving only subject and comment. Is it possible to make the form fields somehow dynamical and allow each field to be saved to the XML file? And eventually if the snippet is called to allow all to post, and a name is entered this will be shown instead of anonymous?

        I’m actually on this subject right now smiley check back later

          Armand Pondman
          MODx Coding Team
          :: Jot :: PHx
          • 3763
          • 155 Posts
          Wow, thanks laugh

          Can hardly wait to see what you are adding to the package.
            ...my Photo Gallery on Flickr...
            • 4195
            • 398 Posts
            Another update! See changelog @ first post for details.

            Implemented some form of dynamic fields and a special guest only form template. You can specify which field are added to the form and it will save this data into the xml object. You can use [+name+] to show your custom fields in the display template.

            be sure to carefully check all the changed settings and template stuff before you update.
              Armand Pondman
              MODx Coding Team
              :: Jot :: PHx
              • 3763
              • 155 Posts
              One quick question: How do I enable captcha for guests?

              I’ve tried both &captcha=`1` and &captcha=`2`

              Thanks, Boby.
                ...my Photo Gallery on Flickr...
                • 4195
                • 398 Posts
                you have to use &captcha=`2`
                be sure the snippet isn’t cached smiley
                  Armand Pondman
                  MODx Coding Team
                  :: Jot :: PHx
                  • 25663 MODX Staff
                  • 12,272 Posts
                  Keep it up bS... thanks!

                  Gonna be a great add to the next release. smiley
                    Ryan Thrash, MODX Co-Founder
                    Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
                    • 21293
                    • 14 Posts
                    Quote from: rthrash at Jun 01, 2006, 09:49 AM

                    Keep it up bS... thanks!

                    Gonna be a great add to the next release. smiley

                    Is that the 1.0 release or the 9.5? Is there a new ETA on 9.5 or are we waiting patiently (ha!) breathless? I must have checked the forum 40 or 50 times in these past "end of May days."


                      • 4195
                      • 398 Posts
                      added a known issue to my first post.
                        Armand Pondman
                        MODx Coding Team
                        :: Jot :: PHx