We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 33337
    • 3,975 Posts
    Dear/Respected Team members, yes and our Friends!

    Can I ask you to not to post "Code posts" tongue

    undecided
      Zaigham R - MODX Professional | Skype | Email | Twitter

      Digging the interwebs for #MODX gems and bringing it to you. modx.link
      • 33337
      • 3,975 Posts
      *ahem* Wendy is going to be on my ban list though laugh



      (j/k)
        Zaigham R - MODX Professional | Skype | Email | Twitter

        Digging the interwebs for #MODX gems and bringing it to you. modx.link
        • 4018
        • 1,131 Posts
        A few here and there doesn’t hurt anything. It’s when it becomes a regular thing that makes it a big problem. There are times when posting a simple code change is better than uploading a patched file...especially when it’s a temporary solution and one that will make it in the main files anyways. What you should say is this:

        Refrain from posting code changes unless absolutely necessary! wink
          Jeff Whitfield

          "I like my coffee hot and strong, like I like my women, hot and strong... with a spoon in them."
          • 33337
          • 3,975 Posts
          Actually, my point was that if you are posting a long code, then its good to put in .txt file and attach, it saves users to scroll and scroll smiley its just sake of better view and smoothness.. but if you think its ok to post.. no problems at all smiley

          Thanks

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

            Digging the interwebs for #MODX gems and bringing it to you. modx.link
            • 32241
            • 1,495 Posts
            Quote from: zi at Feb 01, 2006, 04:16 AM

            *ahem* Wendy is going to be on my ban list though laugh



            (j/k)

            Lol.... I knew it that Zi will say this. grin
            Hehehee...

            Ehmmm..... I have no other good excuses right now, but anyway, I’ll listen to our moderator. ;P
              Wendy Novianto
              [font=Verdana]PT DJAMOER Technology Media
              [font=Verdana]Xituz Media
              • 4018
              • 1,131 Posts
              Quote from: zi at Feb 01, 2006, 08:18 AM

              Actually, my point was that if you are posting a long code, then its good to put in .txt file and attach, it saves users to scroll and scroll smiley its just sake of better view and smoothness.. but if you think its ok to post.. no problems at all smiley

              Thanks

              zi

              Well...long lines of code, no, I don’t think that’s too good of an idea. For that, yeah, post a text file. I agree with you on that! smiley
                Jeff Whitfield

                "I like my coffee hot and strong, like I like my women, hot and strong... with a spoon in them."
                • 32241
                • 1,495 Posts
                Quote from: Bravado at Feb 01, 2006, 08:44 AM

                Well...long lines of code, no, I don’t think that’s too good of an idea. For that, yeah, post a text file. I agree with you on that! smiley

                Eheemm... So nobody on my side now? tongue Hehehee...
                  Wendy Novianto
                  [font=Verdana]PT DJAMOER Technology Media
                  [font=Verdana]Xituz Media
                  • 1764
                  • 680 Posts
                  And if you do have to post a short amount of code grin Please wrap it in php tags. That way the forum will use syntax highlighting and it will be much easier to read.

                  For example:
                  $hello = 'Hello world';
                  echo($hello);
                  


                  is a lot harder to read than.

                  <?php
                  $hello = 'Hello world';
                  echo($hello);
                  ?>
                  


                  Oops, I guess I just posted code in the don’t post code thread. Oh well grin
                    • 25663 MODX Staff
                    • 12,272 Posts
                    I’m going to continue to use code posts for relatively short stuff like Google Analytics plugin. Would never do it for something like DropMenu or NewsListing though.
                      Ryan Thrash, MODX Co-Founder
                      Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
                      • 33337
                      • 3,975 Posts
                      Quote from: rthrash at Feb 01, 2006, 09:53 AM

                      I’m going to continue to use code posts for relatively short stuff like Google Analytics plugin. Would never do it for something like DropMenu or NewsListing though.

                      Exactly! This is the main point..

                      Thanks for all input ! smiley

                      ..and Wendy, you know what you have to do next tongue ..

                      regards,

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

                        Digging the interwebs for #MODX gems and bringing it to you. modx.link