Feature Modification

Discuss general development subjects that are not specific to a particular version like the versioning control system we use or other infrastructure.
Post Reply
arifur
Registered User
Posts: 1
Joined: Thu May 04, 2017 9:01 am

Feature Modification

Post by arifur »

Hello,
I am not sure if this is the right place for this but I was unable to find and feature request or suggestion category so I am posting here.
The current extension directory works like this /ext/vendor/extname. The vendor name can be the author’s username or any other name you choose to group your extensions. And the extension name is the name of the extension. Which is good and works well but when you want to edit or delete any specific extension it is kinda wired that you will first have to search for the extension to know its vendor name as it is not really an option to go trough 6 or 7 vendor folder to find the extension you are looking for.

It would be much easier and simpler if phpbb had similar extension folder name like wordpress does. Or you can even have something like vendorname-extname or vendorname_extname rather than having a folder for a vendor the vendor name can become the prefix of the extension folder. Another option is to put the vendor name as the suffix like this extname-vendorname or extname-vendorname. This way it will be lot easier to locate the specific extension much more easily.

Some examples
Prefix using hyphen:

Code: Select all

phpbb-pages
phpbb-collapsiblecategories
pbpbb-boardrules
vse-lightbox
Prefix using underscore:

Code: Select all

phpbb_pages
phpbb_collapsiblecategories
pbpbb_boardrules
vse_lightbox
Suffix using hyphen

Code: Select all

pages-phpbb
collapsiblecategories-phpbb
boardrules-phpbb
lightbox-vse
Suffix using underscore:

Code: Select all

pages_phpbb
collapsiblecategories_phpbb
boardrules_phpbb
lightbox_vse
The current way:
phpbb-extension-folder.png
This is an screenshot of the extension folder from one of my sites. An average user will have no idea which extension is located on which folder. It only makes sense to display the extension folder name upfront so the user does not have to go inside ever folder just to find the extension he/she is looking for.

User avatar
DavidIQ
Customisations Team Leader
Customisations Team Leader
Posts: 1904
Joined: Thu Mar 02, 2006 4:29 pm
Location: Earth
Contact:

Re: Feature Modification

Post by DavidIQ »

A bit too late for such a change as the extension ecosystem is now in the hundreds, but thanks. The folder structure matters very little if you have an extension installer in the ACP, which is what we are aiming for in the next version. And it really matters little in WordPress as well what folder structure they use. It could be an MD5 hash and the user would really know no better unless they started physically looking through their folders, which most administrators wouldn't normally do anyways as they basically install/uninstall all their plugins through the administration area. ;)
Image

User avatar
david63
Registered User
Posts: 355
Joined: Mon Feb 07, 2005 7:23 am

Re: Feature Modification

Post by david63 »

In any event the vendor/namespace information is easily found by clicking on the "Details" option against each extension in the ACP
David
Remember: You only know what you know -
and you do not know what you do not know!

User avatar
javiexin
Registered User
Posts: 90
Joined: Thu Dec 22, 2011 10:04 am

Re: Feature Modification

Post by javiexin »

david63 wrote: Thu May 04, 2017 2:24 pm In any event the vendor/namespace information is easily found by clicking on the "Details" option against each extension in the ACP
And even easier as this is a tooltip on the Display Name of the extension in the ACP Extension list...

Post Reply