BBCode & Embed Guide

Discussion in 'News & Updates' started by Hentai, Jan 29, 2012.

  1. Hentai

    Hentai Technical Admin Administrator Supporter Defender of Defoko

    Messages
    415
    Likes Received
    391
    Trophy Points
    87
    So we are on a new board and there are a lot of new features and amongst these are a host of new BBCodes and Embed options.

    Most of the BBCode available to you will be in the toolbars above the posting section. Beyond these there are some hidden ones, some custom ones, and some I feel I should go over with you.

    First of these hidden BBC is the [nobbc][nobbc][/nobbc] tag, this tag will be important in writing this guide as it disables BBCode within it and allows me to show them to you. Where [nobbc][nobbc][/nobbc] fails I will likely use the [nobbc]
    Code:
    [/nobbc] tag to show it to you as code.
    
    [size=14]   [b][u]Hidden BBCode[/u][/b][/size]
    [list]
    [*][b]Disable BB Code:[/b] [nobbc][nobbc][/nobbc]
    Forum will not render and BBCode within these tags.
    
    [*][b]Disable Auto-Embed:[/b] [nobbc][noembed][/nobbc]
    Forum will not embed any links within these tags.
    [/list]
    
    [size=14]   [b][u]BBCode Notes[/u][/b][/size]
    [list]
    [*][size=11][b]Concerning Spoilers[/b][/size]
    [nobbc][spoiler][/spoiler][/nobbc]
    You can edit the text displayed leading into your spoiler tag by adding after an '=' sign.
    
    [b]Example:[/b] [nobbc][spoiler=[/nobbc][i]New Spoiler Text[/i][nobbc]][/nobbc]
    [b]Result:[/b]
    [spoiler=New Spoiler Text][/spoiler]
    
    [*][size=11][b]Concerning Thumbnails[/b][/size]
    [nobbc][hs width=X height=Y][/hs][/nobbc]
    One of the advanced BBCodes is the ability to generate thumbnails and a Javascript popup for large images. Define the width & height values with a [nobbc][hs][/nobbc] tag to use this feature.
    
    [b]Example:[/b] [nobbc][hs width=100height=100]http://i39.tinypic.com/2qnb0r6.png[/hs][/nobbc]
    [b]Result:[/b] [hs width=100 height=100]http://i39.tinypic.com/2qnb0r6.png[/hs]
    
    [/list]
    [size=13]   [b][u]Media Embeding[/u][/b][/size]
    
    The forum has an advanced media auto-embed script enabled. The only sites not supported NicoNico Douga and SoundCloud we have our own custom BBCode for and must be entered manually with the appropriate tags.
    [list]
    [*][b]NicoNicoDouga[/b]
    [nobbc][nico][/nico][/nobbc] - Enter the sm# video ID. Ex: sm3853895.
    [*][b]Soundcloud[/b]
    [nobbc][soundcloud][/soundcloud] - Individual tracks
    [cloudset][/cloudset] - Trackset playlists[/nobbc]
    
    [/list]
    [size=13]   [b][u]Auto-Embed Rules[/u][/b][/size]
    [list]
    [*]The plugin will automatically embed any media links that begin a new line.
    [*]The plugin will not embed anything linked as part of a sentence.
    [*]The plugin will not embed anything linked as part of a list [nobbc][li] tags[/nobbc]
    [/list]
    [size=13]   [b][u]Auto-Embed Supported Sites[/u][/b][/size]
    [table]
    [tr]
    [td][list]
    [*]YouTube
    [*]YouTube (Playlists)
    [*]Dailymotion
    [*]Google Video
    
    +100 Other Sites
    [/list][/td]
    [td][list]
    [*]Last.fm
    [*]MetaCafe
    [*]Veoh
    [*]Vimeo
    [/list][/td]
    [/tr]
    [/table]
    
    [size=11]If you have any questions about BBcode feel free to reply.[/size]
    
    [size=11]If you have any suggestions for new BBcode suggest in the [url=http://www.utaforum.net/index.php?board=4.0]Questions & Feedback Board[/url].[/size]
     
  2.  
  3. Zoku

    Zoku heta-tan campaigner 2k16 Defender of Defoko

    Messages
    443
    Likes Received
    855
    Trophy Points
    127
  4. Hentai

    Hentai Technical Admin Administrator Supporter Defender of Defoko

    Messages
    415
    Likes Received
    391
    Trophy Points
    87
  5. Blaze

    Blaze Momo's Minion

    Messages
    8
    Likes Received
    0
    Trophy Points
    2
    Awesome, this is looking really cool! 
     
  6. Chaos Battery

    Chaos Battery Momo's Minion

    Messages
    11
    Likes Received
    0
    Trophy Points
    1
    I'm still not entirely sure about embedding soundcloud clips. How am I supposed to use the code you provided? Is it possible to explain the process in a little more detail?
     
  7. stormylullaby

    stormylullaby Always Watching You Global Mod Supporter Defender of Defoko

    Messages
    376
    Likes Received
    72
    Trophy Points
    38
    The tags
    PHP:
    [soundcloud]URL to the file here[/soundcloud]
    should work (for individual tracks at least)
     
  8. Chaos Battery

    Chaos Battery Momo's Minion

    Messages
    11
    Likes Received
    0
    Trophy Points
    1
    Got it, thanks!
     

Share This Page