[RFC|Merged] Extensions

These requests for comments/change have lead to an implemented feature that has been successfully merged into the 3.1/Ascraeus branch. Everything listed in this forum will be available in phpBB 3.1.
Post Reply
User avatar
VSE
Extension Customisations
Extension Customisations
Posts: 670
Joined: Mon Mar 08, 2010 9:18 am

Re: [RFC|Merged] Extensions

Post by VSE » Wed Nov 13, 2013 8:02 pm

aleha wrote:In ACP, will the name of the tab for extension settings remain as .MODS?
No, they need to fix it... Not sure why no one has done anything yet though.
http://tracker.phpbb.com/browse/PHPBB3-11645
Has an irascible disposition.

aleha
Registered User
Posts: 143
Joined: Tue Mar 26, 2013 2:19 am

Re: [RFC|Merged] Extensions

Post by aleha » Wed Nov 13, 2013 8:14 pm

Ι read your proposal in the link you give and I fully agree with it.

User avatar
Meis2M
Registered User
Posts: 410
Joined: Fri Apr 23, 2010 10:18 am
Contact:

Re: [RFC|Merged] Extensions

Post by Meis2M » Mon Jun 02, 2014 2:46 pm

i have a question about extensions. for example i have a style with name XXX based on prosilver. after install an extension , all feature of ext work on my XXX style? or not , i must rename prosilver folder in ext to XXX?

User avatar
keith10456
Registered User
Posts: 523
Joined: Sat Apr 22, 2006 10:29 pm
Contact:

Re: [RFC|Merged] Extensions

Post by keith10456 » Mon Jun 02, 2014 4:05 pm

Meis2M wrote:i have a question about extensions. for example i have a style with name XXX based on prosilver. after install an extension , all feature of ext work on my XXX style? or not , i must rename prosilver folder in ext to XXX?
Good question! Pretty much you're asking will we have to do as we do now when we install a mod... Will we have to rename the style folder of the ext to the style that we're using.

I look forward to the answer :?

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

Re: [RFC|Merged] Extensions

Post by DavidIQ » Mon Jun 02, 2014 4:13 pm

Here's an example:
https://github.com/phpbb-extensions/boa ... l/template

You can do the same with template files as well, if they won't be any different based on the different styles. In the case of Board Rules the template files ended up being different so those got created:
https://github.com/phpbb-extensions/boa ... /prosilver
Image

User avatar
keith10456
Registered User
Posts: 523
Joined: Sat Apr 22, 2006 10:29 pm
Contact:

Re: [RFC|Merged] Extensions

Post by keith10456 » Mon Jun 02, 2014 4:44 pm

@ David IQ - So in short this means... ?

User avatar
VSE
Extension Customisations
Extension Customisations
Posts: 670
Joined: Mon Mar 08, 2010 9:18 am

Re: [RFC|Merged] Extensions

Post by VSE » Mon Jun 02, 2014 7:38 pm

keith10456 wrote:@ David IQ - So in short this means... ?
It means that extensions that have template files in an "all" folder will apply to all styles.

Template files in "prosilver" will apply to prosilver only. However, this could also include 3rd party styles if the 3rd party style is inheriting templates from prosilver, and the inherited templates happen to be the same one's the extension is using.

When an extension does not work with a particular style, it is up to the extension author to make a specific template for that style, and place those files in a style folder named after the 3rd party style. This can be seen, for example in many of the extensions under development, for subsilver2.
Has an irascible disposition.

User avatar
keith10456
Registered User
Posts: 523
Joined: Sat Apr 22, 2006 10:29 pm
Contact:

Re: [RFC|Merged] Extensions

Post by keith10456 » Mon Jun 02, 2014 7:42 pm

@ VSE & David IQ - Thanks for the explanation ;-)
Last edited by keith10456 on Mon Jun 02, 2014 7:56 pm, edited 1 time in total.

User avatar
Meis2M
Registered User
Posts: 410
Joined: Fri Apr 23, 2010 10:18 am
Contact:

Re: [RFC|Merged] Extensions

Post by Meis2M » Mon Jun 02, 2014 7:50 pm

so it means we don't need rename any folder?

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

Re: [RFC|Merged] Extensions

Post by DavidIQ » Mon Jun 02, 2014 8:27 pm

Meis2M wrote:so it means we don't need rename any folder?
One does not rename folders right now with MODs so not sure when/why you would do that with Extensions. :?:
Image

Post Reply