Self-contained MODs

General discussion of development ideas and the approaches taken in the 3.x branch of phpBB. The current feature release of phpBB 3 is 3.3/Proteus.
Forum rules
Please do not post support questions regarding installing, updating, or upgrading phpBB 3.3.x. If you need support for phpBB 3.3.x please visit the 3.3.x Support Forum on

If you have questions regarding writing extensions please post in Extension Writers Discussion to receive proper guidance from our staff and community.
Registered User
Posts: 86
Joined: Mon Jun 21, 2010 8:28 pm

Re: Self-contained MODs

Post by sajaki »

naderman wrote:With the new hook system and the way cron works we make it possible for MODs to consist only of files to be added. However presently they still need to be located in different directories in various places. I'm wondering if we can make it so that a MOD consists of exactly one directory so that uninstalling it simply means removing that directory (and database changes of course). Any thoughts on this?
(-1) unless better specification.

- I don't how does this would work for mods with an ACP and many frontend php/html/js/css files. are those to be put there also ?

- This implies that there are no template file changes then. is the template hooks spec up to it ? what if you have many styles ?

- will it cover custom pages ?

- you will at least need to define clear path definitions for other files, like explained in the wordpress codex ... irectories.

- what's the name of the mods directory ?
  • /phpbb-plugins ? (like wp-plugins)
  • /mods ?
  • /store/mods ? (seems to be the best choice imo)
we're 1 year past your post so please improve on your rfc.
User avatar
Registered User
Posts: 1050
Joined: Thu Jul 30, 2009 12:06 pm

Re: Self-contained MODs

Post by imkingdavid »

In response to the final sentence, this topic is not an RFC. This one, however, is. I believe the RFC I just linked to should answer most (if not all) of your questions. Feel free to ask in that topic if you have more.
I do custom MODs. PM for a quote!
View My: MODs | Portfolio
Please do NOT contact for support via PM or email.
Remember, the enemy's gate is down.
User avatar
Registered User
Posts: 15
Joined: Thu Jul 31, 2008 2:08 pm
Location: In the Water

Re: Self-contained MODs

Post by Elias »

Love this idea!

Very clean and fast.
"Mystery creates wonder, and wonder is the basis of man's desire to understand." - Neil Armstrong
|Installing Extensions|Writing Extensions|Extension Validation Policy
Post Reply