[Discuss] Extension Skeleton Development Tool

Do not post support requests, bug reports or feature requests. Discuss phpBB here. Non-phpBB related discussion goes in General Discussion!
Suggested Hosts
User avatar
DavidIQ
Customisations Team Leader
Customisations Team Leader
Posts: 18316
Joined: Thu Jan 06, 2005 1:30 pm
Location: Fishkill, NY
Name: David Colón
Contact:

[Discuss] Extension Skeleton Development Tool

Post by DavidIQ »

Please use this topic to discuss the blog post Extension Skeleton Development Tool
Apply to become a Jr. Extension Validator
My extensions | In need of phpBB services? | Was I helpful today?
No unsolicited PMs unless you're planning on asking for paid help.
User avatar
3Di
I've Been Banned!
Posts: 17538
Joined: Mon Apr 04, 2005 11:09 pm
Location: I'm with Ukraine 🇺🇦
Name: Marco
Contact:

Re: [Discuss] Extension Skeleton Development Tool

Post by 3Di »

I was bound to ask VSE about why not to better expose this useful extension.
Like to put it into the extensions in development forum.

I forked it a while ago, found on github while navigating. Though I have serious probs to make it working, I reported into the issues tracker and I hope to get some answers. It is a very interesting tool for developpers, thank you. :)
🆓 Free support for our extensions also provided here: phpBB Studio
🚀 Looking for a specific feature or alternative option? We will rock you!
Please PM me only to request paid works. Thx. Buy me a coffee -> Image
My development's activity º PhpStorm's proud user º Extensions, Scripts, MOD porting, Update/Upgrades
User avatar
david63
Registered User
Posts: 20646
Joined: Thu Dec 19, 2002 8:08 am

Re: [Discuss] Extension Skeleton Development Tool

Post by david63 »

Just had a quick look at this and it came back with an error
Catchable Fatal Error: Argument 3 passed to phpbb\template\twig\twig::__construct() must be an instance of phpbb\template\context, instance of phpbb\user given, called in C:\htdocs\phpbb_dev\ext\phpbb\skeleton\helper\packager.php on line 116 and defined
David
Remember: You only know what you know and - you don't know what you don't know!

I now no longer support any of my extensions but they will start to become available here
User avatar
RMcGirr83
Former Team Member
Posts: 22016
Joined: Wed Jun 22, 2005 4:33 pm
Location: Your display
Name: Rich McGirr

Re: [Discuss] Extension Skeleton Development Tool

Post by RMcGirr83 »

david63 wrote:Just had a quick look at this and it came back with an error
Catchable Fatal Error: Argument 3 passed to phpbb\template\twig\twig::__construct() must be an instance of phpbb\template\context, instance of phpbb\user given, called in C:\htdocs\phpbb_dev\ext\phpbb\skeleton\helper\packager.php on line 116 and defined
That's because you are trying to use this on 3.2 and it was designed for 3.1.
Former Modifications/Extensions Team Member | My extensions | github | All requests for support via PM will be ignored
Appreciate the extensions/mods/support then buy me a beer Image
User avatar
DavidIQ
Customisations Team Leader
Customisations Team Leader
Posts: 18316
Joined: Thu Jan 06, 2005 1:30 pm
Location: Fishkill, NY
Name: David Colón
Contact:

Re: [Discuss] Extension Skeleton Development Tool

Post by DavidIQ »

Please report that to the GitHub repo as we'll need to make it 3.2 ready as well. Thanks.
Apply to become a Jr. Extension Validator
My extensions | In need of phpBB services? | Was I helpful today?
No unsolicited PMs unless you're planning on asking for paid help.
User avatar
RMcGirr83
Former Team Member
Posts: 22016
Joined: Wed Jun 22, 2005 4:33 pm
Location: Your display
Name: Rich McGirr

Re: [Discuss] Extension Skeleton Development Tool

Post by RMcGirr83 »

I've made a PR against the 3.1 branch (added ext.php to disallow installing it on boards > 3.2.0@dev).
Former Modifications/Extensions Team Member | My extensions | github | All requests for support via PM will be ignored
Appreciate the extensions/mods/support then buy me a beer Image
User avatar
3Di
I've Been Banned!
Posts: 17538
Joined: Mon Apr 04, 2005 11:09 pm
Location: I'm with Ukraine 🇺🇦
Name: Marco
Contact:

Re: [Discuss] Extension Skeleton Development Tool

Post by 3Di »

1 month ago I issued this one:
https://github.com/nickv-phpbb/phpbb-ex ... /issues/10
Using 3.1.
🆓 Free support for our extensions also provided here: phpBB Studio
🚀 Looking for a specific feature or alternative option? We will rock you!
Please PM me only to request paid works. Thx. Buy me a coffee -> Image
My development's activity º PhpStorm's proud user º Extensions, Scripts, MOD porting, Update/Upgrades
User avatar
3Di
I've Been Banned!
Posts: 17538
Joined: Mon Apr 04, 2005 11:09 pm
Location: I'm with Ukraine 🇺🇦
Name: Marco
Contact:

Re: [Discuss] Extension Skeleton Development Tool

Post by 3Di »

RMcGirr83 wrote: > 3.2.0@dev).
Should it be >= 3.2.0@dev ?

Edit: I saw your PR, < is the way to go.
🆓 Free support for our extensions also provided here: phpBB Studio
🚀 Looking for a specific feature or alternative option? We will rock you!
Please PM me only to request paid works. Thx. Buy me a coffee -> Image
My development's activity º PhpStorm's proud user º Extensions, Scripts, MOD porting, Update/Upgrades
User avatar
RMcGirr83
Former Team Member
Posts: 22016
Joined: Wed Jun 22, 2005 4:33 pm
Location: Your display
Name: Rich McGirr

Re: [Discuss] Extension Skeleton Development Tool

Post by RMcGirr83 »

DavidIQ wrote:Please report that to the GitHub repo as we'll need to make it 3.2 ready as well. Thanks.
There should be releases?
Former Modifications/Extensions Team Member | My extensions | github | All requests for support via PM will be ignored
Appreciate the extensions/mods/support then buy me a beer Image
User avatar
david63
Registered User
Posts: 20646
Joined: Thu Dec 19, 2002 8:08 am

Re: [Discuss] Extension Skeleton Development Tool

Post by david63 »

Sorry did not realise it did not work on 3.2

So I went to my 3.1 board - ran it again and all it created were three files
  • composer.json
  • license.txt
  • README.md
David
Remember: You only know what you know and - you don't know what you don't know!

I now no longer support any of my extensions but they will start to become available here
User avatar
DavidIQ
Customisations Team Leader
Customisations Team Leader
Posts: 18316
Joined: Thu Jan 06, 2005 1:30 pm
Location: Fishkill, NY
Name: David Colón
Contact:

Re: [Discuss] Extension Skeleton Development Tool

Post by DavidIQ »

RMcGirr83 wrote:There should be releases?
I'm not sure what that means.

FYI for everyone: the repository ownership has been changed and moved to:
https://github.com/phpbb-extensions/phpbb-ext-skeleton

The blog post has been updated to reflect this change.
Apply to become a Jr. Extension Validator
My extensions | In need of phpBB services? | Was I helpful today?
No unsolicited PMs unless you're planning on asking for paid help.
User avatar
david63
Registered User
Posts: 20646
Joined: Thu Dec 19, 2002 8:08 am

Re: [Discuss] Extension Skeleton Development Tool

Post by david63 »

DavidIQ wrote:
RMcGirr83 wrote:There should be releases?
I'm not sure what that means.
It means that there was a topic a few days ago where VSE said that extensions should not be downloaded directly from a git repro but from a release!
David
Remember: You only know what you know and - you don't know what you don't know!

I now no longer support any of my extensions but they will start to become available here
User avatar
DavidIQ
Customisations Team Leader
Customisations Team Leader
Posts: 18316
Joined: Thu Jan 06, 2005 1:30 pm
Location: Fishkill, NY
Name: David Colón
Contact:

Re: [Discuss] Extension Skeleton Development Tool

Post by DavidIQ »

david63 wrote:It means that there was a topic a few days ago where VSE said that extensions should not be downloaded directly from a git repro but from a release!
VSE wrote:Poke
Apply to become a Jr. Extension Validator
My extensions | In need of phpBB services? | Was I helpful today?
No unsolicited PMs unless you're planning on asking for paid help.
User avatar
RMcGirr83
Former Team Member
Posts: 22016
Joined: Wed Jun 22, 2005 4:33 pm
Location: Your display
Name: Rich McGirr

Re: [Discuss] Extension Skeleton Development Tool

Post by RMcGirr83 »

DavidIQ wrote:
RMcGirr83 wrote:There should be releases?
I'm not sure what that means.
https://github.com/phpbb-extensions/php ... n/releases

I was led to believe, by Paul and/or VSE, that if there are releases they should be packaged and made available. That way users don't have to download the zip, unzip, rename the directory (in this case phpbb-ext-skeleton-3.1.x), upload to the forum, etc.

for example, https://github.com/RMcGirr83/phpBB-3.1- ... /tag/1.2.0

PS is that ext.php file I made going to be merged?
Former Modifications/Extensions Team Member | My extensions | github | All requests for support via PM will be ignored
Appreciate the extensions/mods/support then buy me a beer Image
User avatar
3Di
I've Been Banned!
Posts: 17538
Joined: Mon Apr 04, 2005 11:09 pm
Location: I'm with Ukraine 🇺🇦
Name: Marco
Contact:

Re: [Discuss] Extension Skeleton Development Tool

Post by 3Di »

david63 wrote:Sorry did not realise it did not work on 3.2

So I went to my 3.1 board - ran it again and all it created were three files
  • composer.json
  • license.txt
  • README.md
Yes, same here.

Because of this I think
https://github.com/phpbb-extensions/php ... /issues/10

Do you have debug enabled?
🆓 Free support for our extensions also provided here: phpBB Studio
🚀 Looking for a specific feature or alternative option? We will rock you!
Please PM me only to request paid works. Thx. Buy me a coffee -> Image
My development's activity º PhpStorm's proud user º Extensions, Scripts, MOD porting, Update/Upgrades
Post Reply

Return to “phpBB Discussion”