Twtiter bbCode

Discussion in 'IP.Board Discussions' started by David, Aug 25, 2009.

  1. David

    David Regular Member

    Joined:
    May 30, 2003
    Messages:
    1,088
    Likes Received:
    133
    Location:
    Australia
    This bbcode lets you use [twitter]username[/twitter] to easily link to people's twitter profiles. This only took a few minutes to whip up the other day and figured I'd share it with anyone who wanted it.


    Example: [twitter]ipbsetup[/twitter] will turn into @ipbsetup
     
  2. Tom

    Tom Regular Member

    Joined:
    May 27, 2009
    Messages:
    153
    Likes Received:
    18
    Location:
    New York
    Sweet, thanks for sharing.

    I wish MyBB had a Twitter code...
     
  3. David

    David Regular Member

    Joined:
    May 30, 2003
    Messages:
    1,088
    Likes Received:
    133
    Location:
    Australia
    Can you create custom bbCode in MyBB? If so I can create one for you as well.
     
  4. Tom

    Tom Regular Member

    Joined:
    May 27, 2009
    Messages:
    153
    Likes Received:
    18
    Location:
    New York
    Yes, you can do it in MyBB.
     
  5. Kakeru

    Kakeru Addict

    Joined:
    Jun 28, 2009
    Messages:
    70
    Likes Received:
    4
    How is this better than just copy pasting the link?
     
  6. FullMetalBabe

    FullMetalBabe Zealot

    Joined:
    May 30, 2009
    Messages:
    2,912
    Likes Received:
    339
    =\ It's very easy for MyBB

    Code:
    \[tweet\](.*?)\[/tweet\]
    Code:
    <a href="http://twitter.com/$1">@$1</a>
     
  7. Tom

    Tom Regular Member

    Joined:
    May 27, 2009
    Messages:
    153
    Likes Received:
    18
    Location:
    New York
    Thanks Nei!
     
  8. David

    David Regular Member

    Joined:
    May 30, 2003
    Messages:
    1,088
    Likes Received:
    133
    Location:
    Australia
    Shorter
    Easier
    Faster
    Copy + Paste won't parse the name so its like @ipbsetup which is shorter and everyone knows what it will be for or directed at.
     

Share This Page