[CDB] Advanced BBCode Box 3.1

A place for Extension Authors to post and receive feedback on Extensions still in development. No Extensions within this forum should be used within a live environment!
Get Involved
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

IMPORTANT: Extensions Development rules

IMPORTANT FOR NEEDED EVENTS!!!
If you need an event for your extension please read this for the steps to follow to request the event(s)
User avatar
MattF
Extensions Development Coordinator
Extensions Development Coordinator
Posts: 6035
Joined: Sat Jan 17, 2009 9:37 am
Location: Los Angeles, CA
Name: Matt Friedman

[CDB] Advanced BBCode Box 3.1

Post by MattF »

Advanced BBCode Box 3.1

Description:
ABBC3.1 replaces phpBB3's BBCode buttons with icons in a beautiful and customizable toolbar. ABBC3.1 also adds many new and useful custom BBCodes giving users more ways to customize their posts, including BBvideo (auto-embed videos from dozens of media sites using just the url). Custom BBCodes can be arranged and sorted in any order and can be assigned to specific group-use only.

ABBC3 was a popular MOD for phpBB 3.0. Due to the changes in the new Extensions system for phpBB 3.1, ABBC3 will be significantly changed. It can not be ported over from 3.0 to 3.1. ABBC3.1 will be re-focused on providing a professional looking BBCode toolbar along with a suite of useful custom BBCodes. The following is a list of what is changing.

Features:
  • Customizable icon-based BBCode toolbar.
  • Custom BBCodes support icons if a GIF is available, otherwise it will display as text.
  • Custom BBCodes can be sorted in the order you prefer.
  • Custom BBCode group permissions.
  • Custom BBCodes (these will be installed by ABBC3.1, or converted from ABBC3.0):
    [copy] Copy selection
    [paste] Paste selection
    [plain] Remove BBCode tags from selection
    [font] Font Family
    [highlight] Highlight text
    [s] Strike-Through text
    [sup] Superscript text
    [sub] Subscript text
    [glow] Glow text
    [shadow] Shadow text
    [dropshadow] Dropshadow text
    [blur] Blur text
    [fade] Fade text
    [align] Right, Center, Left, Justify Align
    [float] Left, Right Float
    [dir] LTR/RTL Direction
    [pre] Preformatted text
    [marquee] Scrolling Marquee effect
    [spoil] Spoiler message
    [hidden] Hide content from unregistered guests
    [mod] Moderator message
    [offtopic] Off Topic message
    [nfo] NFO / ASCII art
    [soundcloud] MP3 audio
    [youtube] YouTube video (old)
    [BBvideo] BBvideo (Embed video from over 50 sites)
  • Embed video site URLs in your posts with BBvideo, supported video sharing sites:
    5min.com, allocine.fr, on.aol.com, blip.tv, break.com, clipfish.de, clipmoon.com, cnbc.com, cnettv.cnet.com, colbertnation.com, collegehumor.com, comedycentral.com, crackle.com, dailymotion.com, dotsub.com, ebaumsworld.com, facebook.com, flickr.com, funnyordie.com, g4tv.com, gameprotv.com, gamespot.com, gametrailers.com, gamevideos.1up, godtube.com, howcast.com, hulu.com, ign.com, liveleak.com, metacafe.com, moddb.com, mpora.com, myspace.com, myvideo.de, photobucket.com, rutube.ru, sapo.pt, screen.yahoo.com, screenr.com, scribd.com, sevenload.com, slideshare.net, snotr.com, soundcloud.com, spike.com, streetfire.net, thedailyshow.com, theonion.com, tudou.com, twitch.tv, twitvid.com, ustream.tv, vbox7.com, veoh.com, vevo.com, viddler.com, videogamer.com, videu.de, vimeo.com, vine.co, wat.tv, xfire.com, youku.com, youtu.be, youtube.com
New Stuff in ABBC3.1:
  • SoundCloud BBCode
  • BBvideo adds support for Vine videos
  • Everything is re-written. All the bloat and legacy stuff is being removed. ABBC3.1 is going to be more efficient and optimized.
Discontinued / Removed:
  • Removed BBCodes:
    • These could not be converted because they are malformed BBCodes or require hacking to work:
    • [anchor], [hr], [wave], [tab], [search], [table], [tabs], [thumbnail], [click], Rainbow text
    • These have been deprecated because they do not work or were replaced by newer BBCodes:
    • [ed2k], [rapidshare], [testlink], [flv], [mov], [ram], [scrippet], [stream], [video], [web], Imgshack
  • BBCode posting page assignments.
  • Image Resizers. Really, what does image resizing have to do with BBCode buttons? Although ABBC3.0 had a very nice image resizing feature, we're gonna leave this up to somebody else to build a dedicated image resizer extension.
Requirements:
  • phpBB 3.1.0-RC2 or higher
  • PHP 5.3.3 or higher
Repository:
https://github.com/VSEphpbb/abbc3

Installation:
  • Download the latest release and unzip it.
  • Copy the entire contents from the unzipped folder to phpBB/ext/vse/abbc3/
  • Navigate in the ACP to Customise -> Manage extensions.
  • Find Advanced BBCode Box under "Disabled Extensions" and click Enable.
Screenshot:
Default BBCodes on the top bar, with added Copy, Paste and Remove BBCode buttons (these can not be custom sorted).
Custom BBCodes on the bottom, can be custom sorted and assigned to special group-only access if needed. If a GIF is found, it will be used as an icon, otherwise, it will fallback to text (i.e.: center).
Image

Important: This Extension can only be installed on phpBB 3.1. Do NOT use this on a live board. It should only be installed for testing purposes or just to check it out. No support will be provided.
Last edited by MattF on Sat Mar 22, 2014 3:04 am, edited 8 times in total.
Formerly known as VSEMy ExtensionsPlease do not PM me for support.
User avatar
MattF
Extensions Development Coordinator
Extensions Development Coordinator
Posts: 6035
Joined: Sat Jan 17, 2009 9:37 am
Location: Los Angeles, CA
Name: Matt Friedman

Re: [Dev] Advanced BBCode Box 3.1

Post by MattF »

Download link added above now that the latest version of the development branch of phpBB 3.1-dev at Github allows compatibility with ABBC3.1. :D
Last edited by MattF on Sat Dec 21, 2013 6:58 pm, edited 2 times in total.
Formerly known as VSEMy ExtensionsPlease do not PM me for support.
User avatar
Raul [ThE KuKa]
Style Customisations
Style Customisations
Posts: 11138
Joined: Mon Dec 08, 2003 9:24 pm
Location: Spain
Name: Raul Arroyo

Re: [DEV] Advanced BBCode Box 3.1

Post by Raul [ThE KuKa] »

Nice VSE!!! :)

Spanish translation:

Code: Select all

<?php
/**
*
* abbc3 [Spanish]
*
* @package language
* @copyright (c) 2013 Matt Friedman 
* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2
*
*/

/**
* DO NOT CHANGE
*/
if (!defined('IN_PHPBB'))
{
	exit;
}

if (empty($lang) || !is_array($lang))
{
	$lang = array();
}

$lang = array_merge($lang, array(
	// Hidden BBcode
	'ABBC3_HIDDEN_ON'			=> 'Contenido Oculto',
	'ABBC3_HIDDEN_OFF'			=> 'Contenido oculto (para miembros solamente)',
	'ABBC3_HIDDEN_EXPLAIN'		=> 'Este foro requiere que este registrado e identificado para ver el contenido oculto.',

	// Spoiler BBcode
	'ABBC3_SPOILER_SHOW'		=> 'Mostrar Spoiler',
	'ABBC3_SPOILER_HIDE'		=> 'Ocultar Spoiler',

	// Off Topic BBcode
	'ABBC3_OFFTOPIC'			=> 'Off Topic',

	// Font BBcode
	'ABBC3_FONT_BBCODE'			=> 'Menú de fuentes',
	'ABBC3_FONT_FANCY'			=> 'Fuentes Fantasía',
	'ABBC3_FONT_SAFE'			=> 'Fuentes Seguras',
	'ABBC3_FONT_WIN'			=> 'Fuentes Windows',

	// BBCode help lines
	'ABBC3_ALIGN_HELPLINE'		=> 'Alinear texto: [align=center|left|right|justify]texto[/align]',
	'ABBC3_BBVIDEO_HELPLINE'	=> 'Incrustar cualquier URL de sitios web de videos: [BBvideo=width,height]Video URL[/BBvideo]',
	'ABBC3_BLUR_HELPLINE'		=> 'Texto esfumado: [blur=color]texto[/blur]',
	'ABBC3_DIR_HELPLINE'		=> 'Dirección del texto: [dir=ltr|rtl]texto[/dir]',
	'ABBC3_DROPSHADOW_HELPLINE'	=> 'Texto con sombra: [dropshadow=color]texto[/dropshadow]',
	'ABBC3_FADE_HELPLINE'		=> 'Texto descolorido: [fade]texto[/fade]',
	'ABBC3_FONT_HELPLINE'		=> 'Tipo de fuente: [font=Comic Sans MS]texto[/font]',
	'ABBC3_GLOW_HELPLINE'		=> 'Texto con resplandor: [glow=color]texto[/glow]',
	'ABBC3_HIDDEN_HELPLINE'		=> 'Ocultar texto para invitados: [hidden]texto[/hidden]',
	'ABBC3_HIGHLIGHT_HELPLINE'	=> 'Texto resaltado: [highlight=yellow]texto[/highlight]',
	'ABBC3_MARQUEE_HELPLINE'	=> 'Texto marquesina: [marq=up|down|left|right]texto[/marq]',
	'ABBC3_MOD_HELPLINE'		=> 'Texto de alerta: [mod=username]texto[/mod]',
	'ABBC3_NFO_HELPLINE'		=> 'Texto NFO ASCII: [nfo]NFO texto[/nfo]',
	'ABBC3_OFFTOPIC_HELPLINE'	=> 'Texto Off Topic: [offtopic]texto[/offtopic]',
	'ABBC3_PREFORMAT_HELPLINE'	=> 'Texto preformateado: [pre]texto[/pre]',
	'ABBC3_SHADOW_HELPLINE'		=> 'Texto sombreado: [shadow=color]texto[/shadow]',
	'ABBC3_SOUNDCLOUD_HELPLINE'	=> '[soundcloud]http://soundcloud.com/user-name/song-title[/soundcloud]',
	'ABBC3_SPOILER_HELPLINE'	=> 'Ocultar texto: [spoil]texto[/spoil]',
	'ABBC3_STRIKE_HELPLINE'		=> 'Texto tachado: [s]texto[/s]',
	'ABBC3_SUB_HELPLINE'		=> 'Texto subíndice: [sub]texto[/sub]',
	'ABBC3_SUP_HELPLINE'		=> 'Texto superíndice: [sup]texto[/sup]',
	'ABBC3_YOUTUBE_HELPLINE'	=> 'Vídeo de YouTube: [youtube]URL[/youtube]',

	// Utility BBcodes
	'ABBC3_COPY_BBCODE'			=> 'Copiar el texto seleccionado',
	'ABBC3_PASTE_BBCODE'		=> 'Pegar el texto seleccionado',
	'ABBC3_PASTE_ERROR'			=> 'Primero debe copiar un texto seleccionado, a continuación, péguelo',
	'ABBC3_PLAIN_BBCODE'		=> 'Quitar todas las etiquetas BBCode del texto seleccionado',

	'ABBC3_ERROR'				=> 'Error',
	'ABBC3_NOSELECT_ERROR'		=> 'No hay texto seleccionado.',

	// ACP
	'ABBC3_BBCODE_ORDERED'		=> 'El orden de los BBCodes ha sido resincronizado.',
	'ABBC3_BBCODE_GROUP'		=> 'Gestionar grupos que pueden utilizar este BBCode',
	'ABBC3_BBCODE_GROUP_INFO'	=> 'Si ningún grupo es selecionado todos los usuarios podrán utilizar este BBCode.<br />Para selecionar (o eliminar la seleción) de multiples grupos simultaneamente, pulse CTRL+CLICK (o CMD-CLICK en Mac) sobre los grupos deseados. Si usted olvida mantener pulsada la tecla CTRL/CMD cuando hace clic en un grupo de usuarios, toda seleción previa sera eliminada.',
));
Best Regards.
All unsolicited PMs will be ignored.
:warning: Knowledge Base | Documentation | Board rules | phpBB Styles Rules & Policies | Styles Queue Stats :warning:


If you like my styles, translations, etc. and want to show some appreciation, then feel free to Donate.
:flag_es: phpBB Spain - Online Since 2003 :heart:


User avatar
Mess
Registered User
Posts: 985
Joined: Wed Jul 01, 2009 6:37 am
Name: Kim

Re: [DEV] Advanced BBCode Box 3.1

Post by Mess »

Looking forward to trying this out. :)
User avatar
ridharezzag
Registered User
Posts: 85
Joined: Thu Nov 14, 2013 11:20 pm
Location: Clearwater .FL.

Re: [DEV] Advanced BBCode Box 3.1

Post by ridharezzag »

you guys doing amazing job :o don't no how to thank you
User avatar
tbackoff
Former Team Member
Posts: 7068
Joined: Thu Jun 04, 2009 1:41 am
Location: cheerleading practice
Name: Tabitha Backoff

Re: [DEV] Advanced BBCode Box 3.1

Post by tbackoff »

VSE wrote:
  • These could not be converted because they are malformed BBCodes or require too much hacking to work:
    [anchor], [hr]
I'm curious about these two. The BBCode usage and HTML replacement for those are below. How are they malformed or what hacking would require them to work?
[anchor]{SIMPLETEXT}[/anchor]

<a name="{SIMPLETEXT}"></a>
[hr][/hr]

<hr />
Flying is the second best thrill to cheerleaders; being caught is the first.
User avatar
MattF
Extensions Development Coordinator
Extensions Development Coordinator
Posts: 6035
Joined: Sat Jan 17, 2009 9:37 am
Location: Los Angeles, CA
Name: Matt Friedman

Re: [DEV] Advanced BBCode Box 3.1

Post by MattF »

t_backoff wrote:
VSE wrote:
  • These could not be converted because they are malformed BBCodes or require too much hacking to work:
    [anchor], [hr]
I'm curious about these two. The BBCode usage and HTML replacement for those are below. How are they malformed or what hacking would require them to work?
[anchor]{SIMPLETEXT}[/anchor]

<a name="{SIMPLETEXT}"></a>
[hr][/hr]

<hr />
The main thing is ABBC3.1 will ship with BBCodes that are also backwards compatible with the ones from ABBC3.0.

In ABBC3.0, anchor looks like this:
[anchor={IDENTIFIER1} goto={IDENTIFIER2}]{TEXT}[/anchor]
for a result like <a name="{IDENTIFIER1}" href="{IDENTIFIER2}">{TEXT}</a>
The goto= part and the interior {TEXT} parts were optional. I can't create a custom bbcode using phpBB's custom bbcode generator that works like this or that can support all the possible permutations of this tag. I don't remember the specifics, but I tried a couple times and abandoned each time for some reasons.

As for hr, in ABBC3.0 it looks like this: [hr]
There is no closing tag. While that is the nice way for that to work from a user perspective, phpBB custom bbcodes must have closing tags.

Of course, any user could easily create these custom bbcodes themselves if they want to use them. But I think the BBCodes that ship with ABBC3.1 should only be those where it can support the BBcodes that came with prior versions. I'm not sure it'd be fair to add an anchor or hr bbcode (or any of the other deprecated ones) if it's not backwards compatible with older ABBC3 boards...i"ll get a lot of support topics about broken hr and anchor tags in older posts :?
Formerly known as VSEMy ExtensionsPlease do not PM me for support.
User avatar
MattF
Extensions Development Coordinator
Extensions Development Coordinator
Posts: 6035
Joined: Sat Jan 17, 2009 9:37 am
Location: Los Angeles, CA
Name: Matt Friedman

Re: [DEV] Advanced BBCode Box 3.1

Post by MattF »

First post updated.

It's now possible to download and install this extension on the latest version of the phpBB dev branch! :mrgreen:
Formerly known as VSEMy ExtensionsPlease do not PM me for support.
User avatar
watisnf.nl
Registered User
Posts: 607
Joined: Sat Mar 13, 2010 12:53 pm
Location: The Netherlands
Name: David

Re: [DEV] Advanced BBCode Box 3.1

Post by watisnf.nl »

I wanted to try this out, but I get these errors. I reinstalled a new 3.1.0-a2 installation, before I tried to install your extension. Not sure what went wrong :?

Fatal error: Uncaught exception 'ReflectionException' with message 'Class vse\abbc3\event\listener does not exist' in phpBB3.1\vendor\symfony\dependency-injection\Symfony\Component\DependencyInjection\ContainerBuilder.php on line 961
ReflectionException: Class vse\abbc3\event\listener does not exist in phpBB3.1\vendor\symfony\dependency-injection\Symfony\Component\DependencyInjection\ContainerBuilder.php on line 961
Call Stack
# Time Memory Function Location
1 0.0020 181784 {main}( ) ..\index.php:0
2 0.0030 209984 include( 'phpBB3.1\common.php' ) ..\index.php:19
3 3.3792 5439248 Symfony\Component\DependencyInjection\ContainerBuilder->get( ) ..\common.php:124
Dutch Translator | Looking for, Dutch extensions translations
User avatar
MattF
Extensions Development Coordinator
Extensions Development Coordinator
Posts: 6035
Joined: Sat Jan 17, 2009 9:37 am
Location: Los Angeles, CA
Name: Matt Friedman

Re: [DEV] Advanced BBCode Box 3.1

Post by MattF »

watisnf.nl wrote:I wanted to try this out, but I get these errors. I reinstalled a new 3.1.0-a2 installation, before I tried to install your extension. Not sure what went wrong :?
As said in the previous post: install this extension on the latest version of the phpBB dev branch

3.1.0-a2 is a month old, and already out of date. But most of all, only as of yesterday has phpBB-dev finally had the updates that allow installation of this extension.

Alpha releases are for testing phpBB by itself. For testing/trying out extensions, you got to use the latest build of phpBB-dev from github.

Nightly builds can be gotten here: https://bamboo.phpbb.com/browse/PHPBB3- ... ease-Files
Formerly known as VSEMy ExtensionsPlease do not PM me for support.
User avatar
watisnf.nl
Registered User
Posts: 607
Joined: Sat Mar 13, 2010 12:53 pm
Location: The Netherlands
Name: David

Re: [DEV] Advanced BBCode Box 3.1

Post by watisnf.nl »

Never knew there is a more recent up-to-date version, is there away for me to track those updates?

Just installed newest version, and you extension it's up and running doing some tests on my free moments ;) For now, thanks for you response.
Dutch Translator | Looking for, Dutch extensions translations
User avatar
MattF
Extensions Development Coordinator
Extensions Development Coordinator
Posts: 6035
Joined: Sat Jan 17, 2009 9:37 am
Location: Los Angeles, CA
Name: Matt Friedman

Re: [DEV] Advanced BBCode Box 3.1

Post by MattF »

watisnf.nl wrote:Never knew there is a more recent up-to-date version, is there away for me to track those updates?
https://github.com/phpbb/phpbb
Formerly known as VSEMy ExtensionsPlease do not PM me for support.
User avatar
wintstar
Registered User
Posts: 358
Joined: Sat Mar 07, 2009 12:39 pm
Location: Central Hessen, close to the "heart of nature", Germany

Re: [DEV] Advanced BBCode Box 3.1

Post by wintstar »

User avatar
MattF
Extensions Development Coordinator
Extensions Development Coordinator
Posts: 6035
Joined: Sat Jan 17, 2009 9:37 am
Location: Los Angeles, CA
Name: Matt Friedman

Re: [DEV] Advanced BBCode Box 3.1

Post by MattF »

Thanks for the translation. :)
Formerly known as VSEMy ExtensionsPlease do not PM me for support.
User avatar
sysz
Registered User
Posts: 278
Joined: Mon Jan 30, 2012 11:36 pm
Location: Sweden, Helsingborg
Name: Kimmy Lindell Ekström

Re: [DEV] Advanced BBCode Box 3.1

Post by sysz »

Is there a chance there will be a spotify bbcode added?
https://developer.spotify.com/technolog ... ay-button/
Currently working on the community

Return to “Extensions in Development”