We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 4041
    • 788 Posts
    Thanks dev_cw, I definately agree its the fastest and simplest smiley basically drag and drop lol

    Seems to work fine with 0962 rc2, only issue so far was on the users page.

    I can forsee this being turned into a integral part of the manager, a very useful tool.
      xforum
      http://frsbuilders.net (under construction) forum for evolution
      • 34162
      • 1 Posts
      Very useful indeed.

      But in IE7, the performance is very poor (at first I thought it had crashed), due to the fact it shows all databases on the server. And on the server of my host, there are quite a few... I already contacted Sqlbuddy.com about this.

      In Firefox I don’t experience any performance problems.

      Perhaps good to know is that SQL Buddy does not work in IE6 or earlier.

      *edit*
      The programmer of SQL Buddy wrote me:
      It has been a long time since I have worked with a shared host. I did not realize that you would get a list of all databases, even if you are not authorized to view them. It would definitely make sense to just show a list of the ones that you are authorized to view. I will try my best to get this fixed for the next release.
      So, that would solve the performance problem on a shared host smiley

      @Breezer: I agree that an application like this would be a very useful addition to the manager.

      Does someone know a way to retrieve database/user/password from the Modx config and pass it to SQL Buddy, so you can work with the database rightaway?
        • 3749
        • 24,544 Posts
        Quote from: WeBe at Aug 20, 2008, 04:54 AM

        *edit*
        The programmer of SQL Buddy wrote me:
        It has been a long time since I have worked with a shared host. I did not realize that you would get a list of all databases, even if you are not authorized to view them. It would definitely make sense to just show a list of the ones that you are authorized to view. I will try my best to get this fixed for the next release.

        Yikes. Sounds like a good tool for cross-site hackers. Just upload it to your site and get information on all the db’s at your host.
          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
          • 33372
          • 1,611 Posts
          I just tried this out. It’s very nice indeed, although I noticed a couple of minor bugs. I’m on a shared server, and not only do I not see anyone else’s database names, I also don’t see any of my own databases for which the user I entered doesn’t have access (so either this has been fixed or your server was misconfigured).
            "Things are not what they appear to be; nor are they otherwise." - Buddha

            "Well, gee, Buddha - that wasn't very helpful..." - ZAP

            Useful MODx links: documentation | wiki | forum guidelines | bugs & requests | info you should include with your post | commercial support options
            • 27708 MODX Staff
            • 2,502 Posts
            This sounds cool. Maybe a module could be packaged and posted in the repo if the license of it allows. This would be immensely helpful.

            On IE6 and developers I don’t think end users should be managing the db much and they really should not be using deprecated 7 year old browser with a 10 year old browser engine. I recommend to clients to upgrade to IE7 or use Fireworks, Safari or Opera. People using IE6 are experiencing a more and more broken web experience as major cos are dropping support in exchange for new JS and CSS 2.1 which it doesn’t support.

              Author of zero books. Formerly of many strange things. Pairs well with meats. Conversations are magical experiences. He's dangerous around code but a markup magician. Blog ✦ Twitter ✦ LinkedIn ✦ GitHub
              • 33372
              • 1,611 Posts
              @smashingred: I totally agree with you about IE6. I don’t see why back-ends like the Manager should even try to support it anymore, since it’s so incredibly old, broken, and insecure. The only reason that 25% of surfers still use it is because Microsoft made it so difficult to upgrade to IE7 without going through their WGA check.

              SQLBuddy uses mootools, so it should play nicely with the 0.9.6 Manager, and the license definitely allows making and distributing a module with it:

              Copyright (c) 2008 Calvin Lough

              Permission is hereby granted, free of charge, to any person obtaining a copy
              of this software and associated documentation files (the "Software"), to deal
              in the Software without restriction, including without limitation the rights
              to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
              copies of the Software, and to permit persons to whom the Software is
              furnished to do so, subject to the following conditions:

              The above copyright notice and this permission notice shall be included in
              all copies or substantial portions of the Software.

              THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
              IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
              FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
              AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
              LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
              OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
              THE SOFTWARE.
                "Things are not what they appear to be; nor are they otherwise." - Buddha

                "Well, gee, Buddha - that wasn't very helpful..." - ZAP

                Useful MODx links: documentation | wiki | forum guidelines | bugs & requests | info you should include with your post | commercial support options
                • 34162
                • 1 Posts
                Quote from: BobRay at Aug 20, 2008, 04:09 PM

                Yikes. Sounds like a good tool for cross-site hackers. Just upload it to your site and get information on all the db’s at your host.
                I only can see the names of the databases. Can’t open or change them, because I’m not authorized. rolleyes

                @ZAP: The latest version available is the same one I installed. To be sure, I will download and install it again. Otherwise I will inform my host and ask to look into it.
                  • 7231
                  • 4,205 Posts
                  I tested on a shared hosting account I have access to and I could only see my database. I guess it may depend on the database server configuration. On my server (VPS with cPanel) I also only see the database which the user has access to.
                    [font=Verdana]Shane Sponagle | [wiki] Snippet Call Anatomy | MODx Developer Blog | [nettuts] Working With a Content Management Framework: MODx

                    Something is happening here, but you don't know what it is.
                    Do you, Mr. Jones? - [bob dylan]
                    • 22098
                    • 218 Posts
                    if you change the first few lines from config.php file from sqlbuddy to:

                    include_once(dirname(__FILE__).’/../../../manager/includes/config.inc.php’);

                    /* The values below are the ones displayed on the login.php page */

                    //$sbconfig[’DefaultHost’] = "localhost";
                    //$sbconfig[’DefaultUser’] = "root";

                    $sbconfig[’DefaultHost’] = $database_server;
                    $sbconfig[’DefaultUser’] = $database_user;


                    /*
                    * If you want to enable automatic login, you can include your password below.
                    * Note: This is generally not recommended because it means that anyone with the
                    * proper url will have access to your data. It should only be used on machines
                    * that are not accessible from the internet (local testing boxes) or if you have
                    * set up some other form of authentication. Use as your own discretion.
                    */

                    $sbconfig[’DefaultPass’] = $database_password;


                    it will automatically connect to your MODx database

                    Olaf
                      • 6726
                      • 7,075 Posts
                      Quote from: dev_cw at Aug 18, 2008, 09:15 PM
                      OK. I got it working by simply creating a new module and adding a redirect to the sqlbuddy script. Since the manager is in frames it loads in the frame and works great.

                      Amazing, very cool Shane grin
                        .: COO - Commerce Guys - Community Driven Innovation :.


                        MODx est l'outil id