Results 1 to 16 of 16

Thread: Twitter module

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Mar 2009
    Location
    Liberty Township, Ohio
    Posts
    8

    Default Twitter module

    If you go to http://thedailydisney.com/ and go to the bottom right of that page there is a section titled Disney World On Twitter.

    Is there a way to add a Twitter module like this to my vb4 CMPS?

    Thanks!

  2. #2
    Join Date
    Mar 2009
    Location
    Liberty Township, Ohio
    Posts
    8

    Default

    No one knows how to do this? I found on Twitter.com under their "goodies" section a widget to create. How can i get that on my CMPS page?

    Thanks!

  3. #3
    Join Date
    Mar 2004
    Location
    A galaxy far, far away...
    Posts
    6,609

    Default

    Just grab the HTML code from Twitter that you're after...

    http://twitter.com/goodies/widgets

    ... and then create a new template module with the HTML code supplied from Twitter as the contents of your new template.

  4. #4

    Default

    Quote Originally Posted by KW802 View Post
    Just grab the HTML code from Twitter that you're after...

    http://twitter.com/goodies/widgets

    ... and then create a new template module with the HTML code supplied from Twitter as the contents of your new template.
    I tried that and it just displays a blank!

  5. #5

    Default

    Figured it out...Here is the code to add to your module
    Code:
    <h2>Recent Tweets</h2>
    <ul id="twitter_update_list"></ul>
    <a href="http://twitter.com/[INSERT TWITTER PROFILE NAME HERE]" id="twitter-link" style="margin-left: 10px;display:block;padding-bottom:10px;color:#002C4E;">Follow me on Twitter</a>
    </ul>
    </div>
    <script type="text/javascript" src="http://twitter.com/javascripts/blogger.js"></script>
    <script type="text/javascript" src="http://twitter.com/statuses/user_timeline/[INSERT TWITTER PROFILE NAME HERE].json?callback=twitterCallback2&amp;count=5"></script>

  6. #6
    Join Date
    Aug 2008
    Posts
    1

    Default

    I am trying to input a Twitter module using a Template module and it is rendering blank. Here is my code ...

    Code:
    <script src="http://widgets.twimg.com/j/2/widget.js"></script>
    <script>
    new TWTR.Widget({
      version: 2,
      type: 'search',
      search: 'Texans',
      interval: 6000,
      title: 'Houston Texans',
      subject: 'What\'s being said ...',
      width: 175,
      height: 300,
      theme: {
        shell: {
          background: '#100e73',
          color: '#ffffff'
        },
        tweets: {
          background: '#ffffff',
          color: '#000000',
          links: '#1985b5'
        }
      },
      features: {
        scrollbar: false,
        loop: true,
        live: true,
        hashtags: true,
        timestamp: true,
        avatars: true,
        toptweets: true,
        behavior: 'default'
      }
    }).render().start();
    </script>
    Any ideas?

  7. #7
    Join Date
    Oct 2008
    Posts
    13

    Default

    Anybody get this Twitter code to work?

  8. #8

    Default

    Ummm... I will code that next the time of course may be. In fact, it's not so popular module in your vBulletin forums CMPS

  9. #9
    Join Date
    Sep 2008
    Posts
    26

    Default

    Are you looking to do a twitter widget like on my site? http://www.discussionkingdom.com/

    If, so here is the coding (it's a new template module):


    <tr>
    <td class="$bgclass">
    <script src="http://widgets.twimg.com/j/2/widget.js"></script>
    <script>
    new TWTR.Widget({
    version: 2,
    type: 'profile',
    rpp: 10,
    interval: 6000,
    width: 220,
    height: 400,
    theme: {
    shell: {
    background: '#ebf1f4',
    color: '#83b923'
    },
    tweets: {
    background: '#004872',
    color: '#ffffff',
    links: '#dadef0'
    }
    },
    features: {
    scrollbar: true,
    loop: false,
    live: false,
    hashtags: true,
    timestamp: true,
    avatars: false,
    behavior: 'all'
    }
    }).render().setUser('USERNAME').start();
    </script>
    </td>
    </tr>
    All you need to do is paste that into the Template Content. Make sure to change the Shell Background & Font Color, as well as the Tweets Background & Font Color. And don't forget to add in your twitter username where it says "USERNAME". Also play around with other settings such as the width and height, displaying avatars, making it live, etc.

  10. #10
    Join Date
    Mar 2006
    Location
    The Netherlands
    Posts
    12

    Default

    @slinkyman, thank you for this code! it works for me..

  11. #11
    Join Date
    May 2007
    Location
    Pakistan
    Posts
    113

    Default

    thanks a lot
    Mortal Kombat Nexus Online
    Pakistan 1st Mortal Kombat Wesbite

  12. #12

    Default

    Thank you for sharing the codes. I will try if this will work for me.

  13. #13
    Join Date
    Apr 2006
    Posts
    2

    Default

    Good woork slinky, I had to add the table option in the templete settings to get it to work.

  14. #14
    Join Date
    Feb 2017
    Posts
    2

    Default

    Quote Originally Posted by richard458 View Post
    Good woork slinky, I had to add the table option in the templete settings to get it to work.
    I tried that and it just displays a blank!

  15. #15
    Join Date
    Apr 2016
    Posts
    1

    Default

    Is there twitter module working for any one else? I've tried but can never get it to work on my site.
    If you're interested in the Jes Extender then you can click here to learn more.

  16. #16
    Join Date
    Feb 2017
    Posts
    2

    Default

    I've tried but can never get it to work on my site. twitter module working for any one else?
    If you're interested in the adele weight loss pills then you can click here to learn more

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. How to i make a custom code module for twitter
    By Brennan Portz in forum "How Do I..." Questions
    Replies: 1
    Last Post: 02-03-2010, 03:44 PM
  2. Twitter link
    By Robert0716 in forum "How Do I..." Questions
    Replies: 8
    Last Post: 12-31-2009, 04:22 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •