Go to the ACP's Posting tab and click the Add a New BBcode button to get started.
Some of these have icons included for use with ABBC3's toolbar. Download them from here, and drop them into the ext/vse/abbc3/images/icons folder.
Enjoy!
######################################################################
Spotify
Embed Spotify Tracks
BBCODE USAGE:
Code: Select all
[spotify]{IDENTIFIER}[/spotify]
HTML REPLACEMENT:
Code: Select all
<iframe src="https://embed.spotify.com/?uri=spotify:track:{IDENTIFIER}" width="300" height="80" frameborder="0" allowtransparency="true"></iframe>
HELP LINE:
Code: Select all
[spotify]4th1RQAelzqgY7wL53UGQt[/spotify]
ICON:
Notes:
1. You can change the height to 380 if you prefer the large album image artwork under the player.
2. Spotify player is not really a player. It launches a Spotify media player for the user, and of course the user needs to be a Spotify member and signed in to actually hear anything.
3. Users must get the code at the end of a Spotify track URL.
######################################################################
Kickstarter Widget
Embed Kickstarter Widgets
BBCODE USAGE:
Code: Select all
[kickstarter]https://www.kickstarter.com/projects/{IDENTIFIER1}/{IDENTIFIER2}[/kickstarter]
HTML REPLACEMENT:
Code: Select all
<iframe frameborder="0" height="420" scrolling="no" src="https://www.kickstarter.com/projects/{IDENTIFIER1}/{IDENTIFIER2}/widget/card.html?v=2" width="220"></iframe>
HELP LINE:
Code: Select all
[kickstarter]https://www.kickstarter.com/projects/xxx/xxx[/kickstarter]
ICON:
######################################################################
In-Line Code
Use for displaying in-line code
BBCODE USAGE:
Code: Select all
[c]{TEXT}[/c]
HTML REPLACEMENT:
Code: Select all
<code style="font:Monaco, 'Andale Mono', 'Courier New', Courier, monospace 0.9em normal;line-height:1.3em;background-color:#fff;color:#2E8B57;border:1px solid #C9D2D8;padding:0 3px;display:inline;">{TEXT}</code>
HELP LINE:
Code: Select all
In-Line Code: [c]your code[/c]
######################################################################
GIST
Embed Gist code in posts!
BBCODE USAGE:
Code: Select all
[gist]{URL}[/gist]
HTML REPLACEMENT:
Code: Select all
<script src="{URL}.js"> </script>
HELP LINE:
Code: Select all
[gist]URL to GIST page[/gist] Example: https://gist.github.com/1343518
ICON:
######################################################################
Pastebin
Embed Pstebin code in posts!
BBCODE USAGE:
Code: Select all
[pastebin]{IDENTIFIER}[/pastebin]
HTML REPLACEMENT:
Code: Select all
<script src="http://pastebin.com/embed_js.php?i={IDENTIFIER}"></script>
HELP LINE:
Code: Select all
[pastebin]ID from your code[/pastebin]
ICON:
######################################################################
jsFiddle
Embed jsFiddle code in posts!
BBCODE USAGE:
Code: Select all
[jsfiddle]{URL}[/jsfiddle]
HTML REPLACEMENT:
Code: Select all
<iframe style="width: 100%; height: 300px" src="{URL}embedded/" allowfullscreen="allowfullscreen" frameborder="0"></iframe>
HELP LINE:
Code: Select all
[jsfiddle]http://jsfiddle.net/pborreli/pJgyu/[/jsfiddle]
ICON:
######################################################################
CodePen
Embed CodePen Pens in posts!
BBCODE USAGE:
Code: Select all
[codepen]{SIMPLETEXT}[/codepen]
HTML REPLACEMENT:
Code: Select all
<p data-height="268" data-theme-id="0" data-slug-hash="{SIMPLETEXT}" data-default-tab="result" class='codepen'></p>
<script async src="//codepen.io/assets/embed/ei.js"></script>
HELP LINE:
Code: Select all
[codepen]slug[/codepen] Example (at end of url): http://codepen.io/username/pen/slug
ICON:
######################################################################
Website Thumbnails
Shows a thumbnail of the linked site
BBCODE USAGE:
Code: Select all
[web_thumb]{URL}[/web_thumb]
HTML REPLACEMENT:
Code: Select all
<a href="{URL}" title="{URL}" onclick="window.open(this.href); return false;" onkeypress="window.open(this.href); return false;"><img src="http://open.thumbshots.org/image.pxf?url={URL}" width="120" height="90" alt="" style="border:1px solid #C9D2D8;" /><br />{URL}</a>
HELP LINE:
Code: Select all
Web Site Thumbnail: [web_thumb]URL[/web_thumb]
ICON: