Page 1 of 1

Twitter BBCode

Posted: 30 Apr 2010, 09:29
by NEstormchasers
BB Code Usage:

Code: Select all

[twitter]{URL}[/twitter]
HTML Replacement Example:

Code: Select all

<script src="http://widgets.twimg.com/j/2/widget.js"></script>
<script>
new TWTR.Widget({
  version: 2,
  type: 'search',
  search: 'NEGstormchasers',
  interval: 6000,
  title: 'NewEnglandStormChasers',
  subject: 'LIVE TWEETS',
  width: 250,
  height: 300,
  theme: {
    shell: {
      background: '#000000',
      color: '#ffffff'
    },
    tweets: {
      background: '#030103',
      color: '#ffffff',
      links: '#ff8400'
    }
  },
  features: {
    scrollbar: false,
    loop: true,
    live: true,
    hashtags: true,
    timestamp: true,
    avatars: true,
    behavior: 'default'
  }
}).render().start();
</script>
Help Line:

Code: Select all

Twitter: [Twitter]Link to URL[/Twitter]
Example:
http://newenglandstormchasers.freeforums.org/portal.php

When using the HTML Replacement, just choose any widget you want from the twitter website.

Re: Twitter BBCode

Posted: 01 May 2010, 11:29
by Chalong
Is it on me or is there the URL-Token missing in the replacement ?
I'd like to use and share this BBCode.

Re: Twitter BBCode

Posted: 01 May 2010, 15:34
by cisco007
somehow that bbcode won't work for everybody, not to mention the fact that is has you site name all over! I had this bbcode posted previouly, the correct way to do it is!

bbcode usage:

Code: Select all

[twitterw]{IDENTIFIER}[/twitterw]
html replacement:

Code: Select all

<script src="http://widgets.twimg.com/j/2/widget.js"></script>
<script>
new TWTR.Widget({
  version: 2,
  type: 'profile',
  rpp: 4,
  interval: 6000,
  width: 250,
  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('{IDENTIFIER}').start();
</script>
helpline:

Code: Select all

[twitterw]screen id[/twitterw]
all you do is stick in you twitter user id or screen name!