We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 28042 ☆ A M B ☆
    • 24,524 Posts
    That’s what I have in mind, just one integer that gets increased by one. I know there’s plenty of scripts to do it, I’m just trying to figure out the most efficient way of doing it.

    I’m also playing around with the idea of getting the user’s location (there are sites one can connect to to return such information from the user’s IP address, including latitude and longitude) and having a map to display user location distribution patterns; kind of a cute idea, and maybe useful for certain sites. I’ve been fascinated with MySQL’s spacial extentions for some time now. Or using Google Maps somehow...
      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
      • 25663 MODX Staff
      • 12,272 Posts
      Google Maps starts to choke on much more than 150 data points or so, from what I udnerstand. Cool sounding stuff Susan. smiley

      Might want to check out mapbuilder.net for some things to play with or spark ideas.
        Ryan Thrash, MODX Co-Founder
        Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
        • 25663 MODX Staff
        • 12,272 Posts
        Could someone look at the NewsPublisher/PostListing pair at pixelhick.com.

        Stripslashes or some semblance thereof strikes again:

        1) http://pixelhick.com/28.html notice no actual backslashes appear when showing the actual article and the content is in the [*content*] block

        2) http://pixelhick.com/blog.html notice the overly slash-happy display when being built by the NewsListing/PostListing snippet.

        Note, the backslashes are actually in the code that’s stored for the content:
         ... So let\'s see if there\'s a ... 
          Ryan Thrash, MODX Co-Founder
          Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
          • 25663 MODX Staff
          • 12,272 Posts
          Next question (for Jeff):

          Can you install the latest FCK-related stuff at Pixelhick.com for testing? I can’t create new blog posts now because of the overzealous height from the original 2.1 RC implmentation. Thanks!

            Ryan Thrash, MODX Co-Founder
            Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
            • 4018
            • 1,131 Posts
            Well...I could...but in order to implement the width and height stuff, I’ll need access to some of the core files to make a few minor adjustments. I’ll document everything so you’ll know what I did. smiley

              Jeff Whitfield

              "I like my coffee hot and strong, like I like my women, hot and strong... with a spoon in them."
              • 25663 MODX Staff
              • 12,272 Posts
              For those that haven’t played yet, here’s a very rough export from rev 384 from Subversion, the latest greatest. There’s still some styling issues to nail down in IE and some QE IE usability issues as well I believe, but this should be fairly up to date. Final content will be forthcoming to match what is finalized on Pixelhick.com.

              Curiously, this is 800Kb uncompressed, 300Kb compressed larger. Any ideas why?
                Ryan Thrash, MODX Co-Founder
                Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
                • 18397
                • 3,250 Posts
                BIG BUGS IN THIS DEV RELEASE

                Will post a list in a few minutes
                  • 34162
                  • 1 Posts
                  After I uncompress the zip file and here is what I got

                  6.78 MB (7,110,656 bytes)
                    • 33337
                    • 3,975 Posts
                    I’ve got

                    Size: 3.96 MB (4,162,169 bytes)
                    Size on disk: 17.1 MB (18,022,400 bytes)
                    Contains: 1000 Files, 113 Folders
                    ----------------------------------------

                    Why size and size on disk differs huh ?

                    regards,
                    zi
                      Zaigham R - MODX Professional | Skype | Email | Twitter

                      Digging the interwebs for #MODX gems and bringing it to you. modx.link
                      • 25663 MODX Staff
                      • 12,272 Posts
                      Disk size is controlled by block size, which is probably 32 or 64 bytes/block. Therefore, a 9byte file still takes up 32 or 64 bytes of space. Only 1 file can go in any given slot, so to speak.
                        Ryan Thrash, MODX Co-Founder
                        Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me