Search found 1672 matches

by VSE
Sun Apr 23, 2017 5:05 pm
Forum: Extension Writers Discussion
Topic: How to display user messages in ext.php
Replies: 45
Views: 1198

Re: How to display user messages in ext.php

An even simpler method is to simply overwrite the EXTENSION_NOT_ENABLEABLE language key with your own message. For example: ext.php (go back to returning a simple boolean but also load your lang file): public function is_enableable() { $lang = $this->container->get('language'); $lang->add_lang('lang...
by VSE
Sat Apr 22, 2017 5:51 pm
Forum: Extension Writers Discussion
Topic: How to display user messages in ext.php
Replies: 45
Views: 1198

Re: How to display user messages in ext.php

I was lurking at some code today, I found a bit interesting this version of ext.php (2 years ago dated). At a first glance it seems to me is checking against the requirements of the composer.json file using the extension manager https://github.com/Wolfsblvt/mentions/blob/master/ext.php and overwrit...
by VSE
Fri Apr 21, 2017 10:30 pm
Forum: Extension Writers Discussion
Topic: How to display user messages in ext.php
Replies: 45
Views: 1198

Re: How to display user messages in ext.php

Paul wrote:
Fri Apr 21, 2017 6:40 pm
Like said before, the real solution will be the composer integration, which is coming in 3.3.
+1 As I said too.
by VSE
Fri Apr 21, 2017 6:28 pm
Forum: Extensions in Development
Topic: [3.2][BETA] Topic Image Preview
Replies: 26
Views: 906

Re: [3.2][BETA] Topic Image Preview

Updated to version Beta 1
by VSE
Fri Apr 21, 2017 6:33 am
Forum: Extension Writers Discussion
Topic: How to display user messages in ext.php
Replies: 45
Views: 1198

Re: How to display user messages in ext.php

When an extension is not installed, it's not part of the container, so you can't load any of its services...you can not: $this->container->get('user')->add_lang_ext('vendor/extension', 'errormessage'); Also, in 3.3, extensions will be installed through composer within the ACP so composer error messa...
by VSE
Tue Apr 18, 2017 10:28 pm
Forum: Extension Writers Discussion
Topic: help with an error...
Replies: 11
Views: 256

Re: help with an error...

Have you looked in file [ROOT]/ext/spaceace/ajaxchat/controller/chat.php on line 816?

And seen what: Undefined property: spaceace/ajaxchat/controller/chat::$Test could be. Follow that variable. See how you get it there and why it might not be defined.
by VSE
Mon Apr 17, 2017 11:21 pm
Forum: Extension Writers Discussion
Topic: <select multiple="multiple">
Replies: 8
Views: 151

Re: <select multiple="multiple">

$this->request->variable('for_hrs', array(0))
by VSE
Sat Apr 15, 2017 3:38 pm
Forum: [3.2.x] Support Forum
Topic: How center an image in post??
Replies: 35
Views: 720

Re: How center image in post??

Actually this is an issue in phpBB 3.2. You can not nest an inline attachment inside many BBCodes. Put it in the CODE or LIST BBCodes and it breaks. Or any of the built in text formatting or custom BBCodes such as alignment codes. The issue seems to be with the BBCodes that use a <span> element. If ...
by VSE
Tue Apr 11, 2017 1:22 am
Forum: Extension Writers Discussion
Topic: Using config_text entries to store extension data
Replies: 3
Views: 109

Re: Using config_text entries to store extension data

I agree with the denial. The config_text table is used to store options with an arbitrary length value. It's basically for simple pieces of data that might not fit in the config table's 255 char limit. In your extension, the data you're using it for does seem to fit more in with warranting it's own ...
by VSE
Tue Apr 04, 2017 4:24 pm
Forum: Extension Writers Discussion
Topic: BBCode in the database
Replies: 2
Views: 99

Re: BBCode in the database

Code: Select all

preg_match('/^<[rt][ >]/', $text);
by VSE
Sat Mar 25, 2017 5:49 pm
Forum: Extension Writers Discussion
Topic: Newbie needs help with PhpStorm
Replies: 28
Views: 726

Re: Newbie needs help with PhpStorm

You turn on in PHPStorm the Start Listening for Debug Connections, its a button in the upper right corner.
by VSE
Sat Mar 25, 2017 7:20 am
Forum: Extension Writers Discussion
Topic: Newbie needs help with PhpStorm
Replies: 28
Views: 726

Re: Newbie needs help with PhpStorm

You are using XAMP, so just browse it normally...not through phpstorm. Use XAMP. I dont have windows so no clue what it is, but probably something like http://localhost/path/to/yoursite
by VSE
Tue Mar 21, 2017 11:36 pm
Forum: Extension Writers Discussion
Topic: phpBB 3.2 Upgrade Notes for Extensions
Replies: 27
Views: 7292

Re: phpBB 3.2 Upgrade Notes for Extensions

Looks like one was missed? Namely dealing with db tools. If a 3.1 extension states the service in the yml file '@dbal.tools' and constructs it in the class as \phpbb\db\tools $db_tools then an error __construct() must be an instance of phpbb\db\tools, instance of phpbb\db\tools\tools given :?: Try ...
by VSE
Tue Mar 21, 2017 11:28 pm
Forum: Abandoned Extensions
Topic: [ABD] WebCam Chat
Replies: 6
Views: 855

Re: [RC] WebCam Chat

This topic has been marked as [ABD] - Abandoned as the extension author has not been active recently. If the extension author wishes to continue development, please PM anyone on the Extensions Team to request this topic be unlocked. Notice! We do not recommend that a user of the phpBB software insta...

Go to advanced search