We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 17930
    • 81 Posts
    I have installed monTwitter and it is cutting off the first three characters of my tweets.

    Here is the call:
    [[!getFeed? &offset=`0` &url=`http://twitter.com/statuses/user_timeline/mafokken.rss` &tpl=`twitterFeedTpl` &limit=`3`]]


    Now I think it is because of the way the snippet was supposed to work, with my twitter id #, instead of my screen name. The id # is longer than my screen name. I couldn't find my id #. I uninstalled monTwitter, changed to a new &tpl, and getFeed worked just fine.

    How is the monTwitter code called and executed by getFeed? If I knew where the files are on my server, I could fix it myself. The problem is not in the chunk or snippets installed by monTwitter.
      • 17930
      • 81 Posts
      Well, if you give me enough time, I'll usually figure it out on my own.

      I replaced this line in the snippet "twitter":
      <?php
      return substr($input,13);



      With this:
      <?php
      if(stripos($input, ' ') !== false)
      	$input = substr($input, stripos($input, ' ') );
      
      
      return $input;
        • 3866 ☆ A M B ☆
        • 350 Posts
        Thanks for that - I've just noticed on a feed I was having exactly this problem!

        Thanks for sharing solution...
          Helen Warner
          Number one pixel!
          Proud to be linked with MODX at Crimson Pixel
          • 38878
          • 255 Posts
          Uber. Thx for sharing!