Search found 1659 matches

by VSE
Tue Mar 21, 2017 11:36 pm
Forum: Extension Writers Discussion
Topic: phpBB 3.2 Upgrade Notes for Extensions
Replies: 27
Views: 7009

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: 748

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...
by VSE
Sat Mar 18, 2017 10:57 pm
Forum: Extension Writers Discussion
Topic: How to display user messages in ext.php
Replies: 15
Views: 487

Re: How to display user messages in ext.php

Just to digress slightly. I notice in VSE's example that the version test is being done against the value in the constants file. I have my tests against the value in the config table. Is there any advantage of one over the other - or perhaps test against them both? Depends on your compatibility iss...
by VSE
Tue Mar 14, 2017 5:07 pm
Forum: Extension Writers Discussion
Topic: How to display user messages in ext.php
Replies: 15
Views: 487

Re: How to display user messages in ext.php

Understood. Now that I see your code, I understand why yours is not enabling through CLI: the return code is the right one, regardless of trigger error exiting execution, or not, while my original code "assumed" that once trigger error was called, the execution was totally interrupted (true within ...
by VSE
Tue Mar 14, 2017 6:22 am
Forum: Extension Writers Discussion
Topic: How to display user messages in ext.php
Replies: 15
Views: 487

Re: How to display user messages in ext.php

What do you think? Worth trying? Should this be a core PR? Regards, -javiexin No. The ACP will be updated eventually to use Symphony, at which time it will support exception handling the correct way. You'll have to wait for that. We're not going to continue old error handling methods just to replac...
by VSE
Sun Mar 12, 2017 7:11 am
Forum: Extension Writers Discussion
Topic: How to display user messages in ext.php
Replies: 15
Views: 487

Re: How to display user messages in ext.php

Unfortunately the ACP does not yet handle exceptions and the CLI can not handle trigger_error. The code is interrupted (it doesn't get enabled for me).
by VSE
Sun Mar 12, 2017 7:02 am
Forum: Extensions in Development
Topic: [CDB] Official Extension: Media Embed PlugIn
Replies: 40
Views: 3146

Re: [3.2][RC] Official Extension: Media Embed PlugIn

Froddelaar wrote:
Sat Mar 11, 2017 9:08 pm
3Di wrote:
Sat Mar 11, 2017 8:07 pm
Do you have the s9/mediaembed extension enabled? ;)
No, I disabled it first.. and deleted data
But you must remove it.
by VSE
Wed Feb 22, 2017 6:59 am
Forum: Extension Writers Discussion
Topic: Problems with $variable->request('', array(), true);
Replies: 2
Views: 102

Re: Problems with $variable->request('', array(), true);

Dump your request variable and see what you're getting. Also get rid of the 3rd argument. You're not using multibyte utf characters.
by VSE
Sun Feb 19, 2017 8:29 am
Forum: Extension Writers Discussion
Topic: Send notification
Replies: 5
Views: 162

Re: Send notification

Better to use parent: notification.type.base. Look at phpBB's notification service configurations.
by VSE
Sat Feb 18, 2017 8:13 am
Forum: Extension Writers Discussion
Topic: Send notification
Replies: 5
Views: 162

Re: Send notification

Use add_notifications() in the notifications manager.
by VSE
Sat Feb 18, 2017 8:11 am
Forum: Extension Writers Discussion
Topic: Single extension, two config folders (3.1 vs 3.2)
Replies: 2
Views: 90

Re: Single extension, two config folders (3.1 vs 3.2)

You should just have two separate versions. You're creating more headache and more possible issues for yourself as 3.2 progresses.
by VSE
Thu Feb 16, 2017 8:17 pm
Forum: Extensions in Development
Topic: [3.2][ALPHA] Topic Image Preview
Replies: 25
Views: 750

Re: [3.2][ALPHA] Topic Image Preview

The UNION ALL queries are the fastest.

Execution time: 0.01626897 seconds

Just need to get it happy with SQLite3 :?
by VSE
Thu Feb 16, 2017 6:26 pm
Forum: Extensions in Development
Topic: [3.2][ALPHA] Topic Image Preview
Replies: 25
Views: 750

Re: [3.2][ALPHA] Topic Image Preview

It still examines way more rows than I'd expect: 43363 rows examined for 18 rows returned. Do those topics have 2,000 posts on average? You should look into the UNION query and perhaps even use one query per topic for the DBMSes that don't like LIMIT in UNION queries. Yeah some of those topics have...
by VSE
Thu Feb 16, 2017 6:03 pm
Forum: Extensions in Development
Topic: [3.2][ALPHA] Topic Image Preview
Replies: 25
Views: 750

Re: [3.2][ALPHA] Topic Image Preview

SELECT p.topic_id, p.post_text FROM ( SELECT ( SELECT p.post_id FROM phpbb_posts p WHERE p.topic_id = t.topic_id AND p.post_text LIKE '%<IMG %' ORDER BY p.post_time LIMIT 1 ) AS post_id FROM phpbb_topics t WHERE t.topic_id IN (1, 2, 3) ) AS d JOIN phpbb_posts p USING (post_id) This query seems to b...

Go to advanced search