Advanced BBCode Box 3.1

Awesome Custom BBCodes - Advanced BBCode Box 3.1

Awesome Custom BBCodes

by VSE » Tue Nov 25, 2014 7:03 am

Here are some useful custom BBCodes you can add to your board and to ABBC3!

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
ex-spotify.jpg
ex-spotify.jpg (13.55 KiB) Viewed 2708 times


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:
spotify.gif
spotify.gif (685 Bytes) Viewed 2698 times

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
ex-kickstarterwidget.png
ex-kickstarterwidget.png (67.21 KiB) Viewed 2721 times


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:
kickstarter.gif
kickstarter.gif (614 Bytes) Viewed 2683 times

######################################################################

In-Line Code

Use for displaying in-line code
ex-inlinecode.jpg


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!
ex-gist.jpg


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:
gist.gif
gist.gif (397 Bytes) Viewed 2679 times

######################################################################

Pastebin

Embed Pstebin code in posts!
ex-pastebin.jpg


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:
pastebin.gif
pastebin.gif (644 Bytes) Viewed 2671 times

######################################################################

jsFiddle

Embed jsFiddle code in posts!
ex-jsfiddle.jpg


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:
jsfiddle.gif
jsfiddle.gif (388 Bytes) Viewed 2674 times

######################################################################

CodePen

Embed CodePen Pens in posts!
ex-codepen.jpg


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:
codepen.gif
codepen.gif (391 Bytes) Viewed 2669 times

######################################################################

Website Thumbnails

Shows a thumbnail of the linked site
ex-webthumb.jpg


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:
web_thumb.gif
web_thumb.gif (381 Bytes) Viewed 2663 times
Official phpBB Extensions My Extensions & MODs
Please do not PM me for support.
Dictated but not read.
User avatar
VSE
Extensions Development Coordinator
Extensions Development Coordinator
Posts: 4410
Joined: Sat Jan 17, 2009 9:37 am
Location: Los Angeles, CA
Name: Matt Friedman
Contact:

Re: Awesome Custom BBCodes

by MastaSukeh » Sat Feb 21, 2015 9:01 pm

3 cool and simple audio codes if someone may want to use:

Autoplay audio on loop
BBCode:

Code: Select all

[audioloop]{URL}[/audioloop]

HTML:

Code: Select all

<audio autoplay loop>
      <source src="{URL}">
</audio>


Autoplay audio no loop
BBcode:

Code: Select all

[audioauto]{URL}[/audioauto]

HTML:

Code: Select all

<audio autoplay>
      <source src="{URL}">
</audio>


Audio player
BBCode:

Code: Select all

[audioplayer={URL}]{COLOR}[/audioplayer]
or

Code: Select all

[audioplayer={COLOR}]{URL}[/audioplayer]

HTML:

Code: Select all

<audio style="background-color:{COLOR};" src="{URL}" controls></audio>


*NOTE: These won't work (properly) on a browser that doesn't fully support HTML5. Almost all browsers now do.
MastaSukeh
Registered User
Posts: 12
Joined: Mon Feb 02, 2015 9:29 am
Contact:

Re: Awesome Custom BBCodes

by Raul [ThE KuKa] » Fri Feb 27, 2015 7:22 pm

VSE wrote: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.

TED Talks

Embed TED Talks Videos
ted_talks .png
Capture TED Talks

BBCODE USAGE:

Code: Select all

[ted]{TEXT}talks/{IDENTIFIER}.{TEXT2}[/ted]

HTML REPLACEMENT:

Code: Select all

<iframe src="http://embed.ted.com/talks/{IDENTIFIER}.html" width="560" height="315" frameborder="0" scrolling="no" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe>

HELP LINE:

Code: Select all

[ted]Full link to TED video[/ted]

ICON:
ted.gif
TED Icon
ted.gif (704 Bytes) Viewed 2444 times

Notes:
You can change the height to 380 if you prefer the large video..

Best Regards. ;)
If you like my styles, translations, etc. and want to show some appreciation, then feel free to Donate with Image
phpBB International Support Team (Spanish - Español) :flag_es: Online Since 2003
🎨phpBB Professional Premium Themes🔥
Author Translations (Spanish - Spain) :two_hearts:

:warning: I don't support those without the copyright Spanish translation. :warning:
User avatar
Raul [ThE KuKa]
Jr. Extension Validator
Posts: 3367
Joined: Mon Dec 08, 2003 9:24 pm
Location: Spain
Name: Raul Arroyo
Contact:

Re: Awesome Custom BBCodes

by Raul [ThE KuKa] » Sat Nov 28, 2015 8:40 pm

VSE wrote: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.

Travis BBCode

Add a new BBcode for Travis Build Status.
travis_bbcode.png
Capture Travis BBCode

BBCODE USAGE:

Code: Select all

[travis]{IDENTIFIER1}/{IDENTIFIER2}[/travis]

HTML REPLACEMENT:

Code: Select all

<div><a href="https://travis-ci.org/{IDENTIFIER1}/{IDENTIFIER2}" title="{IDENTIFIER1}/{IDENTIFIER2}"><img src="https://travis-ci.org/{IDENTIFIER1}/{IDENTIFIER2}.svg?branch=master" alt="" style="margin-bottom: -5px;" /></a></div>

HELP LINE:

Code: Select all

[travis]yourvendor/yourextension[/travis]

ICON:
travis.gif
Icon Travis BBCode
travis.gif (1.1 KiB) Viewed 1663 times

Best Regards. ;)
If you like my styles, translations, etc. and want to show some appreciation, then feel free to Donate with Image
phpBB International Support Team (Spanish - Español) :flag_es: Online Since 2003
🎨phpBB Professional Premium Themes🔥
Author Translations (Spanish - Spain) :two_hearts:

:warning: I don't support those without the copyright Spanish translation. :warning:
User avatar
Raul [ThE KuKa]
Jr. Extension Validator
Posts: 3367
Joined: Mon Dec 08, 2003 9:24 pm
Location: Spain
Name: Raul Arroyo
Contact:

Pastebin BBCode Stop Working

by FreeBooter » Wed Sep 14, 2016 8:41 pm

Hi everyone,

I have created Pastebin BBCode it was working but for some reason Pastebin BBCode stop working i have recreated the Pastebin BBCode and configure forums group permissions and every other permissions all BBCodes can be use except for Pastebin BBCode, if anyone have a idea or suggestion for resolving my issue please share with me.
I have test the Pastebin BBCode more then one Pastebin embed codes i have included one pastebin address and PasteBin code.


http://pastebin.com/Br9BcPi4

Embed Codes For Paste ID: Br9BcPi4


i have same Pastebin HTML replacement as of below Advanced BBCode Box 3.1 tutorial. I have Advanced BBCode Box version 3.1.3 extension installed.

https://www.phpbb.com/customise/db/extension/advanced_bbcode_box/support/topic/133141
User avatar
FreeBooter
Registered User
Posts: 62
Joined: Tue Aug 23, 2016 3:15 am
Name: FreeBooter
Contact:

Re: Awesome Custom BBCodes

by FreeBooter » Fri Sep 16, 2016 7:06 pm

Hi everyone,


I have resolved the Pastebin BBCode issue, as my forums using SSL Certificate to initiate a secure session with browsers. I have to modified the original HTML Replacement i have change below code by adding HTTPS to Pastebin url address.


Original HTML Replacement:

Code: Select all

<script src="http://pastebin.com/embed_js.php?i={IDENTIFIER}"></script>




After editing the HTML Replacement:

Code: Select all

<script src="https://pastebin.com/embed_js.php?i={IDENTIFIER}"></script>
User avatar
FreeBooter
Registered User
Posts: 62
Joined: Tue Aug 23, 2016 3:15 am
Name: FreeBooter
Contact:

Re: Awesome Custom BBCodes

by VSE » Fri Sep 16, 2016 8:16 pm

FreeBooter wrote:Hi everyone,


I have resolved the Pastebin BBCode issue, as my forums using SSL Certificate to initiate a secure session with browsers. I have to modified the original HTML Replacement i have change below code by adding HTTPS to Pastebin url address.


Original HTML Replacement:

Code: Select all

<script src="http://pastebin.com/embed_js.php?i={IDENTIFIER}"></script>




After editing the HTML Replacement:

Code: Select all

<script src="https://pastebin.com/embed_js.php?i={IDENTIFIER}"></script>

Remove the https: so it just starts with the slashes.
Official phpBB Extensions My Extensions & MODs
Please do not PM me for support.
Dictated but not read.
User avatar
VSE
Extensions Development Coordinator
Extensions Development Coordinator
Posts: 4410
Joined: Sat Jan 17, 2009 9:37 am
Location: Los Angeles, CA
Name: Matt Friedman
Contact: