We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 3749
    • 24,544 Posts
    Quote from: vhollo at Sep 05, 2008, 03:05 PM


    Different thing: my multiple instances solution (http://modxcms.com/forums/index.php/topic,27971.0.html) is fully backward compatible but its parameter names ’&instance’ could be ’&id’ and ’&shy’ could be ’&hide’ or something more speaking. (These parameters are optional.) This addition in it’s two versions had been downloaded for 37 times to date.
    Do you think that it should be part of the release line by adding it to the svn?

    You might want to create a branch in SVN to install that in and let people test it to see if there are any side effects first. If it doesn’t cause any issues, it can then be merged into the trunk. Or maybe it’s been tested enough. The question is whether the downloaders actually tested it. I downloaded it but haven’t had time to try it.

      Did I help you? Buy me a beer
      Get my Book: MODX:The Official Guide
      MODX info for everyone: http://bobsguides.com/modx.html
      My MODX Extras
      Bob's Guides is now hosted at A2 MODX Hosting
      • 28033
      • 925 Posts
      Quote from: rthrash at Sep 05, 2008, 01:49 PM

      Make the link to Google code and to the legacy bug reports that are currently stickied, and I’ll make it so. Let me know when you’re ready. Thanks!

      (You should put the links in your signature too!)

      http://modxcms.com/forums/index.php/topic,28622.0.html

      Done. I think I covered everything (made mention of the different labels available). I also changed the Component labels so they match our project better (Bug/Template/Lang/etc.). I also made mention of the Wiki in case anyone wanted to help port over the documentation.
        My Snippets
        -> PopUpChunk v1.0
        • 4172
        • 5,888 Posts
        Quote from: sottwell at Dec 03, 2007, 03:09 AM

        I have added the ability to use an external config file instead of long involved parameter lists in the snippet call.

        I added this block of code at the very beginning of the snippet code:
        **
                * Dec 3 2007 sottwell
                * Use an external file instead of parameters in the snippet call
                * Add "config" folder to the assets/snippets/webloginpe folder
                * Put your name.config.php file there with a list of parameters
                * $lang = 'de';
                * $type = 'users';
                * etc...
                * Use &config=`name` in the snippet call
                * [!WebLoginPE? &config=`usersde`!]
                * The file 'assets/snippets/webloginpe/config/usersde.config.php' will be loaded.
                */
                
                if(isset($config)) {
                    if(file_exists('assets/snippets/webloginpe/config/'.$config.'.config.php')) {
                        include_once 'assets/snippets/webloginpe/config/'.$config.'.config.php';
                    }
                }

        This has not been tested extensively, but if the lines in the config file follow the same pattern as the snippet parameters there should be no difference. The parameter processing code in the snippet should just see the variables as if they had come from the parameter list.

        @Soshite - from the first post:

        This thread should be used by advanced users providing code patches and fixes for WebLoginPE 1.3.0.

        -sD-
        Dr. Scotty Delicious, DFPA.

        this little usefull addition should be included in the next version!
        Thanks,

        Bruno
          -------------------------------

          you can buy me a beer, if you like MIGX

          http://webcmsolutions.de/migx.html

          Thanks!
          • 28033
          • 925 Posts
          I added two of the parameters to the Wiki this evening. sotwell was also added to the team. smiley
            My Snippets
            -> PopUpChunk v1.0
            • 28033
            • 925 Posts
            http://code.google.com/p/webloginpe/issues/detail?id=2&colspec=ID%20Type%20Status%20Priority%20Milestone%20Component%20Owner%20Summary

            I thought of this a few days ago. It would be a nice enhancement for the script, IMHO.
              My Snippets
              -> PopUpChunk v1.0
              • 28042 ☆ A M B ☆
              • 24,524 Posts
              I would rather see these as separate snippets; otherwise the WebLoginPE core is going to get seriously bloated with all the conditions and the code for dealing with them.

              I’m uneasy enough about having all the features it’s got already. Clean and mean and modular would be much better (in my opinion, anyway).
                Studying MODX in the desert - http://sottwell.com
                Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
                Join the Slack Community - http://modx.org
                • 28033
                • 925 Posts
                Quote from: sottwell at Sep 16, 2008, 10:41 PM

                I would rather see these as separate snippets; otherwise the WebLoginPE core is going to get seriously bloated with all the conditions and the code for dealing with them.

                I’m uneasy enough about having all the features it’s got already. Clean and mean and modular would be much better (in my opinion, anyway).


                Hmm. Maybe we could strip some of the bloat out of WLPE and have them as "add-ons" to the script.

                How to make it easy to add those in would be an issue. Doing something like a installer .exe that allows the user to check off what parts they want in it would be cool, but with all of the different versions, I dunno what the file size would be.

                Is there a way to write a script to do diff checks to a "clean" WLPE file, and add in the code?
                  My Snippets
                  -> PopUpChunk v1.0
                  • 25663 MODX Staff
                  • 12,272 Posts
                  You might look at how Ditto does extenders.
                    Ryan Thrash, MODX Co-Founder
                    Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
                    • 34017
                    • 898 Posts
                    I think eForm events work really well to in running a snippet. I’ve been thinking of a while how nice it would be to have a simple eForm -> CRUD tool that has the similar ’events’ as eform.
                      Chuck the Trukk
                      ProWebscape.com :: Nashville-WebDesign.com
                      - - - - - - - -
                      What are TV's? Here's some info below.
                      http://modxcms.com/forums/index.php/topic,21081.msg159009.html#msg1590091
                      http://modxcms.com/forums/index.php/topic,14957.msg97008.html#msg97008
                      • 3749
                      • 24,544 Posts
                      Quote from: Soshite at Sep 17, 2008, 05:13 PM

                      Quote from: sottwell at Sep 16, 2008, 10:41 PM

                      I would rather see these as separate snippets; otherwise the WebLoginPE core is going to get seriously bloated with all the conditions and the code for dealing with them.

                      I’m uneasy enough about having all the features it’s got already. Clean and mean and modular would be much better (in my opinion, anyway).


                      Hmm. Maybe we could strip some of the bloat out of WLPE and have them as "add-ons" to the script.

                      How to make it easy to add those in would be an issue. Doing something like a installer .exe that allows the user to check off what parts they want in it would be cool, but with all of the different versions, I dunno what the file size would be.

                      Is there a way to write a script to do diff checks to a "clean" WLPE file, and add in the code?

                      SVN gives you the option of making a patch (or applying a patch) that will update existing files. It’s really easy but the catch is that the user would have to have SVN to apply the patch.
                        Did I help you? Buy me a beer
                        Get my Book: MODX:The Official Guide
                        MODX info for everyone: http://bobsguides.com/modx.html
                        My MODX Extras
                        Bob's Guides is now hosted at A2 MODX Hosting