Search found 1843 matches

by MattF
Fri Apr 28, 2023 2:18 pm
Forum: Extension Writers Discussion
Topic: EPV Failing and I can't figure out what the problem is
Replies: 10
Views: 2183

Re: EPV Failing and I can't figure out what the problem is

Why are you running tests on your Repo when you don't even have any tests???

You shouldn’t do that as it can be an abuse of the services resources.

You should delete everything in your workflow.yml from line 90 to the end... Or write some unit tests.
by MattF
Mon Apr 24, 2023 3:21 pm
Forum: Extension Writers Discussion
Topic: EPV Failing and I can't figure out what the problem is
Replies: 10
Views: 2183

Re: EPV Failing and I can't figure out what the problem is

runs-on: ubuntu-20.04 is actually correct and working.
And actions/checkout@v3 should be v3 instead of v2
by MattF
Mon Mar 20, 2023 5:57 pm
Forum: phpBB Discussion
Topic: why some extensions updates are linked to external sites?
Replies: 28
Views: 5550

Re: why some extensions updates are linked to external sites?

phpBB only officially recommends users download extensions from our own Customization Database, and the primary reason for that is we have tested them to ensure they do not compromise the security phpBB forums are known for. Unfortunately because we are a volunteer based community organization, we d...
by MattF
Fri Jan 13, 2023 4:06 pm
Forum: Abandoned Extensions
Topic: [ABD] Guest Language Selector
Replies: 19
Views: 9627

Re: [ABD] Guest Language Selector

The author of this extension has requested it be re-opened as they are still actively developing this extension. It is no longer considered abandoned and has been unlocked by the Customisations team.
by MattF
Sat Dec 10, 2022 12:05 am
Forum: Extension Writers Discussion
Topic: [Info] Changes to twig behavior on loading files in 3.3.9
Replies: 21
Views: 14278

Re: [Info] Changes to twig behavior on loading files in 3.3.9

Just thought I'd make an update here to my above post question. When calling a template file from PHP (as in my code examples above) consider this: Template files are searched for two places (and in this order): phpBB/styles/<style_name>/template/ phpBB/ext/<all_active_extensions>/styles/<style_name...
by MattF
Fri Dec 09, 2022 4:17 pm
Forum: Extension Writers Discussion
Topic: paths in javascript
Replies: 2
Views: 699

Re: paths in javascript

Try the root path template variable Template event anywhere before external JS files are loaded <script> var phpbb_root_path = {{ ROOT_PATH|e("js") }}; </script> JS File var urlBase = phpbb_root_path + 'ext/prosk8er/snowstormlights/styles/all/template/snowstorm/lights/'; soundManager.url =...
by MattF
Thu Dec 08, 2022 4:07 pm
Forum: Extension Writers Discussion
Topic: [Info] Changes to twig behavior on loading files in 3.3.9
Replies: 21
Views: 14278

Re: [Info] Changes to twig behavior on loading files in 3.3.9

Other includes like INCLUDEJS or the twig include will be affected by this behavior as well. It's recommended to always use the prefix for your extension as outlined above. What about when using phpbb\controller\helper\render() such as in a controller PHP file? For example: $this->helper->render('f...
by MattF
Tue Aug 30, 2022 3:41 am
Forum: Extensions in Development
Topic: [3.2][3.3][RC] Introduciator
Replies: 31
Views: 11628

Re: [ABD] Introduciator

The author of this extension has requested it be re-opened as they are still actively developing this extension. It is no longer considered abandoned and has been unlocked by the Customisations team.
by MattF
Mon Jul 11, 2022 7:52 pm
Forum: [3.3.x] Support Forum
Topic: How to add = in url in bbcode
Replies: 20
Views: 3485

Re: How to add = in url in bbcode

viper69 wrote: Fri Jul 08, 2022 11:25 am
david63 wrote: Fri Jul 08, 2022 8:23 am I still cannot understand why you will not try the ABBC extension as it does exactly what you want - far easier than trying to re-invent the wheel.
Bro i am using same extension. there no = sign
Bro ABBC3 does everything for you, like David63 said.
Screen Shot 2022-07-11 at 12.51.36 PM.png
by MattF
Sun Apr 17, 2022 12:54 am
Forum: Extension Writers Discussion
Topic: [Info] Using Github Actions to Test Extensions
Replies: 41
Views: 36612

Re: [Info] Using Github Actions to Test Extensions

Getting this error on the PHP 8.0 - mysql:5.7 test in github actions: Test directory "phpBB/ext/toxyy/anonymousposts/.github/../tests" not found Error: Process completed with exit code 2. This part passes in all of the other tests, I'm not sure what's wrong with the php 8 one. Still exper...
by MattF
Sat Mar 12, 2022 3:38 pm
Forum: Extensions in Development
Topic: [3.2][3.3][RC] Extension Credits
Replies: 16
Views: 5806

Re: [3.2][3.3][DEV] Extension Credits

Why doesn't this extension just load the metadata from all enabled extensions using the extension metadata manager class to get the names and authors of installed extensions? I don't see this ext actually doing anything. Also PLEASE DO NOT store your ext version as a config variable. It's never used...
by MattF
Tue Feb 15, 2022 4:28 pm
Forum: Extension Writers Discussion
Topic: How to access an array with the new language system 3.3.x
Replies: 13
Views: 4175

Re: How to access an array with the new language system 3.3.x

kind of a normal thing to do when coding, if you're using a method from a class and it doesn't seem to be doing what you want, you'd normally have your IDE take you to that class so you can see what other methods it has, and if any of them will do what you want. Thats why all the methods are documen...
by MattF
Mon Jan 17, 2022 5:14 am
Forum: Extension Writers Discussion
Topic: Improving the validation process
Replies: 83
Views: 40982

Re: Improving the validation process

david63 wrote: Sun Jan 16, 2022 1:58 pm Well if nothing else it would appear that this topic has suddenly managed to reduce the validation queue to one :o
This topic did nothing of the sort.

In fact, it would seem the extension validation queue was cleared by the shockwave released from the Hunga Tonga volcano eruption.
by MattF
Sun Jan 16, 2022 3:56 pm
Forum: Extension Writers Discussion
Topic: PSR1.Files.SideEffects.FoundWithSymbols
Replies: 2
Views: 1599

Re: PSR1.Files.SideEffects.FoundWithSymbols

Like the warning says, use "classes, functions, constants, etc."

See 2.3 https://www.php-fig.org/psr/psr-1/
by MattF
Sun Jan 02, 2022 8:27 pm
Forum: Extension Writers Discussion
Topic: Improving the validation process
Replies: 83
Views: 40982

Re: Improving the validation process

Quick Install already exists to help with setting up a phpBB environment quickly. A lot of points can be tested automatically in an extension without having to use an expensive development environment like phpStorm. For example CodeSniffer can be used in a more extensive test suite like it is curre...

Go to advanced search