[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
MattF
Extension Customisations
Extension Customisations
Posts: 675
Joined: Mon Mar 08, 2010 9:18 am

Re: [RFC|Merged] Extensions

Post by MattF »

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 »

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

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

Re: [RFC|Merged] Extensions

Post by Meis2M »

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?

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

Re: [RFC|Merged] Extensions

Post by keith10456 »

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: 1903
Joined: Thu Mar 02, 2006 4:29 pm
Location: Earth
Contact:

Re: [RFC|Merged] Extensions

Post by DavidIQ »

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

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

Re: [RFC|Merged] Extensions

Post by keith10456 »

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

User avatar
MattF
Extension Customisations
Extension Customisations
Posts: 675
Joined: Mon Mar 08, 2010 9:18 am

Re: [RFC|Merged] Extensions

Post by MattF »

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.

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

Re: [RFC|Merged] Extensions

Post by keith10456 »

@ 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: 448
Joined: Fri Apr 23, 2010 10:18 am
Contact:

Re: [RFC|Merged] Extensions

Post by Meis2M »

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

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

Re: [RFC|Merged] Extensions

Post by DavidIQ »

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