[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: 6069
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 »

Probably not, because that is a service that requires membership. They also have an extensive Terms of Use contract, so it would not be ethical for us to distribute use of their "Widget" without the board admins knowing about the terms of use. Admins should decide if thats something they want on their board themselves, and install it themselves.

It is simple enough for any board admin to add a custom bbcode for it in phpBB's ACP. So if you did that, then yeah, you'd have it.
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 »

Yeah i thought that might be the case, just wanted it to be clarified.
One more question, will there be an option to have it used in the quick reply option or will i need to find another extension in the future for that?


Anyway i am looking forward for this extension :D
Currently working on the community
User avatar
MattF
Extensions Development Coordinator
Extensions Development Coordinator
Posts: 6069
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 »

sysz wrote:will there be an option to have it used in the quick reply option or will i need to find another extension in the future for that?
No. I agree with phpBB that quick reply is just that, a means to make a "quick" reply. To compose a more detailed message, i.e.: one using bbcodes, is what the "Full Editor" is for, and it's why the Quick Reply has a button to take you to it if you prefer. Also, posting with BBcodes usually means users will want to preview their posts, again another reason why BBcodes belong in the full editor but not the quick reply.

But in addition to all that theory, it's best not add all the load (memory and queries) associated with the full bbcode editor on top of the topic view page. The quick reply is minimal to keep the topics page as lightweight as possible.

PS: Just because the buttons are not present, does not mean savvy users can't still type in the bbcodes by hand in the QR too.
Formerly known as VSEMy ExtensionsPlease do not PM me for support.
leschek
Registered User
Posts: 861
Joined: Tue Jul 18, 2006 12:49 pm

Re: [DEV] Advanced BBCode Box 3.1

Post by leschek »

I will miss the removed codes, especially table would be hard to replace.
Would be possible to add to language file string for moderator message, because now it doesn't look too good in a post? Something like in "Off Topic BBCode" would be nice:

Code: Select all

	// Alert message BBCode
	'ABBC3_MOD'			=> 'Message from %1$s,
leschek
Registered User
Posts: 861
Joined: Tue Jul 18, 2006 12:49 pm

Re: [DEV] Advanced BBCode Box 3.1

Post by leschek »

I was testing ABBCode Box and it worked OK, but when I tried to disable the extension I got this error:

Code: Select all

Fatal error: Uncaught exception 'Twig_Error_Loader' with message 'There are no registered paths for namespace "vse_abbc3" in "overall_header.html" at line 107.' in /home/xxxxx/forum1_phpBB31/vendor/twig/twig/lib/Twig/Loader/Filesystem.php:193 Stack trace: #0 /home/xxxxx/forum1_phpBB31/phpbb/template/twig/loader.php(103): Twig_Loader_Filesystem->findTemplate('@vse_abbc3/even...') #1 /home/xxxxx/forum1_phpBB31/vendor/twig/twig/lib/Twig/Loader/Filesystem.php(138): phpbb\template\twig\loader->findTemplate('@vse_abbc3/even...') #2 /home/xxxxx/forum1_phpBB31/vendor/twig/twig/lib/Twig/Environment.php(265): Twig_Loader_Filesystem->getCacheKey('@vse_abbc3/even...') #3 /home/xxxxx/forum1_phpBB31/vendor/twig/twig/lib/Twig/Environment.php(312): Twig_Environment->getTemplateClass('@vse_abbc3/even...', NULL) #4 /home/xxxxx/forum1_phpBB31/phpbb/template/twig/environment.php(161): Twig_Environment->loadTemplate('@vse_abbc3/even...', NULL) #5 /home/a in /home/xxxxx/forum1_phpBB31/vendor/twig/twig/lib/Twig/Loader/Filesystem.php on line 193
Now I can see only this error In ACP. (it is only test forum, so it is not problem). I used Nightly build of phpBB-3.1.0-a2 from 23.01.2014.
User avatar
MattF
Extensions Development Coordinator
Extensions Development Coordinator
Posts: 6069
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 »

Delete the files in your cache manually. I posted a bug report for this issue with phpBB3 http://tracker.phpbb.com/browse/PHPBB3-12100

Enable DEBUG mode to prevent encountering that again in the mean time.
Formerly known as VSEMy ExtensionsPlease do not PM me for support.
leschek
Registered User
Posts: 861
Joined: Tue Jul 18, 2006 12:49 pm

Re: [DEV] Advanced BBCode Box 3.1

Post by leschek »

Thank you. It's working now.
User avatar
Zoddo
Registered User
Posts: 158
Joined: Thu Aug 18, 2011 2:41 pm
Location: Le Mans, France
Name: Yohan

Re: [DEV] Advanced BBCode Box 3.1

Post by Zoddo »

Hi!

When I Enable this extension, i've this error : Required meta field 'licence' has not been set.

I'm on phpBB 3.1.0-b3.
User avatar
MattF
Extensions Development Coordinator
Extensions Development Coordinator
Posts: 6069
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 »

Zoddo wrote:Hi!

When I Enable this extension, i've this error : Required meta field 'licence' has not been set.

I'm on phpBB 3.1.0-b3.
Re-check your version of phpBB. 3.1.0-b3 should not be looking for 'licence'... it now looks for 'license'

Fixed in Beta 2: http://tracker.phpbb.com/browse/PHPBB3-12311
Formerly known as VSEMy ExtensionsPlease do not PM me for support.
User avatar
Zoddo
Registered User
Posts: 158
Joined: Thu Aug 18, 2011 2:41 pm
Location: Le Mans, France
Name: Yohan

Re: [DEV] Advanced BBCode Box 3.1

Post by Zoddo »

Oops ... I was wrong... I'm on alpha3, not on beta3 :oops:
uuiiuu
Registered User
Posts: 127
Joined: Wed Jan 25, 2012 12:01 pm

Re: [DEV] Advanced BBCode Box 3.1

Post by uuiiuu »

Hebrew Translation

Code: Select all

<?php
/**
*
* abbc3 [English]
*
* @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'	=> 'תוכן חבוי',
'ABBC3_HIDDEN_OFF'	=> 'תוכן חבוי(למשתמשים בלבד)',
'ABBC3_HIDDEN_EXPLAIN'	=> 'אתר זה מחייב להיות להיות מחובר על מנת לצפות בתוכן חבוי.',

// Spoiler BBCode
'ABBC3_SPOILER_SHOW'	=> '&#9658; הצג ספוילר',
'ABBC3_SPOILER_HIDE'	=> '&#9660; הסתר ספוילר',

// Off Topic BBCode
'ABBC3_OFFTOPIC'	=> 'מחוץ לנושא',

// Font BBCode
'ABBC3_FONT_BBCODE'	=> 'תפריט פונטים',
'ABBC3_FONT_FANCY'	=> 'פונטים יוקרתיים',
'ABBC3_FONT_SAFE'	=> 'פונטים בטוחים',
'ABBC3_FONT_WIN'	=> 'פונטים של Windows',

// BBCode help lines
'ABBC3_ALIGN_HELPLINE'	=> 'ישר טקסט: [align=center|left|right|justify]text[/align]',
'ABBC3_BBVIDEO_HELPLINE'	=> 'הטמע כל קישור מאתר סרטונים כאן: [BBvideo=width,height]http://video_url[/BBvideo]',
'ABBC3_BLUR_HELPLINE'	=> 'טשטש טקסט: [blur=color]text[/blur]',
'ABBC3_DIR_HELPLINE'	=> 'כיוון הטקסט: [dir=ltr|rtl]text[/dir]',
'ABBC3_DROPSHADOW_HELPLINE'	=> 'צל בטקסט: [dropshadow=color]text[/dropshadow]',
'ABBC3_FADE_HELPLINE'	=> 'Text fadein / fadeout: [fade]text[/fade]',
'ABBC3_FLOAT_HELPLINE'	=> 'טקסט צף: [float=left|right]text[/float]',
'ABBC3_FONT_HELPLINE'	=> 'סוג פונט: [font=Comic Sans MS]text[/font]',
'ABBC3_GLOW_HELPLINE'	=> 'טקסט זוהר: [glow=color]text[/glow]',
'ABBC3_HIDDEN_HELPLINE'	=> 'הסתר מאורחים: [hidden]text[/hidden]',
'ABBC3_HIGHLIGHT_HELPLINE'	=> 'הדגש טקסט: [highlight=yellow]text[/highlight] טיפ: אתה יכול להתשמש גם ב color=#FF0000',
'ABBC3_MARQUEE_HELPLINE'	=> 'טקסט זז: [marq=up|down|left|right]text[/marq]',
'ABBC3_MOD_HELPLINE'	=> 'הודעת התראה: [mod=username]text[/mod]',
'ABBC3_NFO_HELPLINE'	=> 'NFO ascii art text: [nfo]text[/nfo]',
'ABBC3_OFFTOPIC_HELPLINE'	=> 'הודעה מחוץ לנושא: [offtopic]text[/offtopic]',
'ABBC3_PREFORMAT_HELPLINE'	=> 'Preformatted text: [pre]text[/pre]',
'ABBC3_SHADOW_HELPLINE'	=> 'צל לטקסט: [shadow=color]text[/shadow]',
'ABBC3_SOUNDCLOUD_HELPLINE'	=> '[soundcloud]http://soundcloud.com/user-name/song-title[/soundcloud]',
'ABBC3_SPOILER_HELPLINE'	=> 'הודעת ספוילר: [spoil]text[/spoil]',
'ABBC3_STRIKE_HELPLINE'	=> 'טקסט קו-דרכו: [s]text[/s]',
'ABBC3_SUB_HELPLINE'	=> 'Subscript text: [sub]text[/sub]',
'ABBC3_SUP_HELPLINE'	=> 'Superscript text: [sup]text[/sup]',
'ABBC3_YOUTUBE_HELPLINE'	=> 'סרטון YouTube: [youtube]http://youtube_url[/youtube]',

// Utility BBCodes
'ABBC3_COPY_BBCODE'	=> 'העתק טקסט מסומן',
'ABBC3_PASTE_BBCODE'	=> 'הדבק טקסט מועתק',
'ABBC3_PASTE_ERROR'	=> 'אתה חייב קודם להעתיק טקסט מסומן, ואז להדביק אותו',
'ABBC3_PLAIN_BBCODE'	=> 'מחק את כל תגי ה BBCode מהטקסט המסומן',
'ABBC3_NOSELECT_ERROR'	=> 'לא נבחר טקסט.',

// BBCode Wizards
'ABBC3_BBCODE_WIZ_SUBMIT'	=> 'הכנס לתוך ההודעה',
'ABBC3_BBCODE_WIZ_EXAMPLE'	=> 'דוגמא',

// BBvideo Wizard
'ABBC3_BBVIDEO_SITES'	=> 'אתרים מורשים ב BBVideo',
'ABBC3_BBVIDEO_LINK'	=> 'קישור סרטון',
'ABBC3_BBVIDEO_SIZE'	=> 'גובה X רוחב של סרטון',
'ABBC3_BBVIDEO_WIDTH'	=> '560',
'ABBC3_BBVIDEO_HEIGHT'	=> '315',
'ABBC3_BBVIDEO_PRESETS'	=> 'גודל Presets',
'ABBC3_BBVIDEO_PRESETS_SM'	=> '560 x 315',
'ABBC3_BBVIDEO_PRESETS_MD'	=> '640 x 360',
'ABBC3_BBVIDEO_PRESETS_LG'	=> '853 x 480',
'ABBC3_BBVIDEO_PRESETS_XL'	=> '1280 x 720',

// ACP
'ABBC3_BBCODE_ORDERED'	=> 'סדר ה BBCodes עודכן.',
'ABBC3_BBCODE_GROUP'	=> 'נהל קבוצות שיכולות להתשמש ב BBCode זה',
'ABBC3_BBCODE_GROUP_INFO'	=> 'אם לא נבחרו שום קבוצות, כל המשתמשים יכולים להשתמש ב BBCode זה. השתמש במקש ה CTRL כדי לסמן יותר מקבוצה אחת.',
));
CANT WAIT ! :)
User avatar
Darkness_demoN
Registered User
Posts: 111
Joined: Sat Jun 16, 2012 2:20 pm

Re: [DEV] Advanced BBCode Box 3.1

Post by Darkness_demoN »

http://i.imgur.com/HDuAneW.jpg

Vbox7 dont worck :/
User avatar
MattF
Extensions Development Coordinator
Extensions Development Coordinator
Posts: 6069
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 »

Darkness_demoN wrote:http://i.imgur.com/HDuAneW.jpg

Vbox7 dont worck :/
It's working fine for me. Are you sure you are not blocked from vbox7?
Formerly known as VSEMy ExtensionsPlease do not PM me for support.
User avatar
Darkness_demoN
Registered User
Posts: 111
Joined: Sat Jun 16, 2012 2:20 pm

Re: [DEV] Advanced BBCode Box 3.1

Post by Darkness_demoN »

http://i.imgur.com/FORXyvh.jpg

Im from Bulgaria and vbox7 work for me.
User avatar
MattF
Extensions Development Coordinator
Extensions Development Coordinator
Posts: 6069
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 »

OK, get the most current version of this extension again from the github repo linked in the first post.

(or use WWW in your vbox7 links)
Formerly known as VSEMy ExtensionsPlease do not PM me for support.

Return to “Extensions in Development”