SimplePortal

Customization => Blocks and Modifications => Block Requests => Topic started by: Adjacent on May 07, 2011, 01:43:26 AM

Title: Twitter tweets block?
Post by: Adjacent on May 07, 2011, 01:43:26 AM
Is there a block or could there possibly be a block for latest twitter tweets from a twitter account such as in ezPortal?  :nervous-happy:


Thanks,
Adjacent
Title: Re: Twitter tweets block?
Post by: Cermno1981 on May 07, 2011, 12:36:46 PM
This is easy, you can do it already.

Go to http://twitter.com/about/resources/widgets/widget_profile and create a profile widget. Then, create a custom HTML block and paste the code in. Below is an example of my Twitter block code:

Code: [Select]
<script src="http://widgets.twimg.com/j/2/widget.js"></script>
<script>
new TWTR.Widget({
  version: 2,
  type: 'profile',
  rpp: 4,
  interval: 6000,
  width: 180,
  height: 300,
  theme: {
    shell: {
      background: '#333333',
      color: '#ffffff'
    },
    tweets: {
      background: '#000000',
      color: '#ffffff',
      links: '#4aed05'
    }
  },
  features: {
    scrollbar: false,
    loop: false,
    live: false,
    hashtags: true,
    timestamp: true,
    avatars: false,
    behavior: 'all'
  }
}).render().setUser('RSoBB').start();
</script>

Hope this helps!
Title: Re: Twitter tweets block?
Post by: Adjacent on May 07, 2011, 07:46:52 PM
Thanks! :D You've completely solved my problem! +10 good invisible karma's to you.
Title: Re: Twitter tweets block?
Post by: azhriel on July 13, 2011, 03:09:59 AM
Hi there. I want a twitter feeder that acts like the one on this site

www.pba.com.ph

Thanks a lot
Title: Re: Twitter tweets block?
Post by: ccs1676 on January 25, 2012, 09:57:06 PM
Can't get mine to display at all in a custom html block, not sure what's going on. Do I have to enable javascript somewhere in smf configuration?
Title: Re: Twitter tweets block?
Post by: Old Fossil on January 26, 2012, 01:31:14 PM
Can't get mine to display at all in a custom html block, not sure what's going on. Do I have to enable javascript somewhere in smf configuration?

Can you please explain the steps you have taken so far.

Also have you tried a php block?

Please remember to start a topic off your own rather than on a topic which is a few months old.
Title: Re: Twitter tweets block?
Post by: sunday12 on April 18, 2012, 11:22:13 PM
tank you ....  :D
SimplePortal 2.3.8 © 2008-2024, SimplePortal