We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 4385
    • 372 Posts
    This is an auto-generated topic for gus 1.0-rc1 by bwente.

    Brief Description:

    gus -- Google URL Shortener
    Google URL Shortener (Goo.gl) now has a simple web interface where you input a URL and receive a shorter one.

    http://googlesocialweb.blogspot.com/2010/09/google-url-shortener-gets-website.html

    examples:

    [[gus? &url=`[[++site_url]][[~[[*id]]]]`]]<br>
    <img src="[[gus? &url=`http://www.modxcms.com`]].qr"><br>
    <a href="[[gus]].info">Analytics info</a><br>
    <a href="[[gus? &url=`http://www.google.com`]]">[[gus? &url=`http://www.google.com`]]</a>
      DropboxUploader -- Upload files to a Dropbox account.
      DIG -- Dynamic Image Generator
      gus -- Google URL Shortener
      makeQR -- Uses google chart api to make QR codes.
      MODxTweeter -- Update your twitter status on publish.
      • 4385
      • 372 Posts
      Although you can make QR codes just by adding a .QR to the end of your goo.gl link it works well with combining it with the makeQR snippet.

      If you need to override the defaults.
      [[makeQR? &message=`[[gus? &url=`[[++site_url]][[~[[*id]]]]`]]` &size=`80x80`]]


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



        DropboxUploader -- Upload files to a Dropbox account.
        DIG -- Dynamic Image Generator
        gus -- Google URL Shortener
        makeQR -- Uses google chart api to make QR codes.
        MODxTweeter -- Update your twitter status on publish.
        • 16501
        • 28 Posts
        gus seems to be playing havoc with Articles in my 2.2.4 site.

        After installing the gus snippet I can't get into the Articles interface at al via the manager.

        Anyone else seen this issue?
          • 36786 ☆ A M B ☆
          • 209 Posts
          Ben Morrison Reply #4, 14 years ago
          Absolutely! I can't use Modx Tweeter now! Anyone know a github page to submit the issue to?
            Ben Morrison
            Hacking templates to pieces since 2003
            • 16501
            • 28 Posts
            I'm still using ModX Tweeter, just not with gus. Twitter automatically convert long url's into t.co url's
              • 36786 ☆ A M B ☆
              • 209 Posts
              Ben Morrison Reply #6, 14 years ago
              Well don't I feel like a schmuck lol. Thanks, I altered the chunk to just use the full url.
                Ben Morrison
                Hacking templates to pieces since 2003