Twitter BBCode

User submitted BBCodes
Let us see what You have
There is no support here! Only Read Access!
Forum rules
We dont add more BBCodes to our database, but feel free to share and support your own BBCodes here.
Remember that it is not allowed to use {TEXT} inside the html tags!!!
It causes a serious security risk to your board and users.
Like this: <div style="{TEXT}">{TEXT}</div>
Green = OK - Red = forbidden
Locked
NEstormchasers
BBCoder I
BBCoder I
Posts: 1
Joined: 30 Apr 2010, 09:13

Twitter BBCode

Post 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.
User avatar
Chalong
BBCoder II
BBCoder II
Posts: 59
Joined: 06 Mar 2010, 14:03
Location: Pforzheim / Germany
Contact:

Re: Twitter BBCode

Post 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.
Regards Chalong

www.chalong.de
cisco007
BBCoder VI
BBCoder VI
Posts: 1015
Joined: 16 Mar 2010, 18:14
Location: Don't really know!

Re: Twitter BBCode

Post 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!
Locked