[RFC|Merged] Extension Admin
- imkingdavid
- Registered User
- Posts: 1050
- Joined: Thu Jul 30, 2009 12:06 pm
Re: [RFC|Merged] Extension Admin
Hmm, looking at it, the install instructions are wrong. Instead of putting it in ./ext/naderman/example/ you should try putting it in ./ext/example/ and see if using ?ext=example works now.
Re: [RFC|Merged] Extension Admin
No, that change was on purpose. All extensions should be inimkingdavid wrote:Hmm, looking at it, the install instructions are wrong. Instead of putting it in ./ext/naderman/example/ you should try putting it in ./ext/example/ and see if using ?ext=example works now.
ext/<vendor>/<extname>/
.Formerly known as Unknown Bliss
No unsolicited PMs please except for quotes.psoTFX wrote: I went with Olympus because as I said to the teams ... "It's been one hell of a hill to climb"
- imkingdavid
- Registered User
- Posts: 1050
- Joined: Thu Jul 30, 2009 12:06 pm
Re: [RFC|Merged] Extension Admin
Well the change wasn't complete. https://github.com/naderman/phpbb3-exam ... roller.php The class is still phpbb_ext_example_controller when it should be phpbb_ext_naderman_example_controller. Either change that or change the installation directions.
EDIT: And it looks like most of the classes need to be changed.
EDIT: And it looks like most of the classes need to be changed.
Re: [RFC|Merged] Extension Admin
Ah my mistake, I assumed it had already been done elsewhere.imkingdavid wrote:Well the change wasn't complete. https://github.com/naderman/phpbb3-exam ... roller.php The class is still phpbb_ext_example_controller when it should be phpbb_ext_naderman_example_controller. Either change that or change the installation directions.
EDIT: And it looks like most of the classes need to be changed.
Formerly known as Unknown Bliss
No unsolicited PMs please except for quotes.psoTFX wrote: I went with Olympus because as I said to the teams ... "It's been one hell of a hill to climb"
- oddfish
- Registered User
- Posts: 110
- Joined: Tue Mar 27, 2007 5:53 am
- Location: on my way home
- Contact:
Re: [RFC|Merged] Extension Admin
Is this an issue with mysql dbms?
Re: [RFC|Merged] Extension Admin
Is what an issue?oddfish wrote:Is this an issue with mysql dbms?
Formerly known as Unknown Bliss
No unsolicited PMs please except for quotes.psoTFX wrote: I went with Olympus because as I said to the teams ... "It's been one hell of a hill to climb"
- oddfish
- Registered User
- Posts: 110
- Joined: Tue Mar 27, 2007 5:53 am
- Location: on my way home
- Contact:
Re: [RFC|Merged] Extension Admin
never mind, wrong RFC.
- Pony99CA
- Registered User
- Posts: 986
- Joined: Sun Feb 08, 2009 2:35 am
- Location: Hollister, CA
- Contact:
Re: [RFC] Extension Admin
Does the UI still look like those screen captures? If so, I would like to suggest having Activate, Deactivate, Purge and/or Delete buttons (as appropriate) on the details page. If I'm looking at an extension in the list view, I may not have enough information to decide what I want to do, so I'll look at the details page. If I can't take action there, I have to waste time going back to the lists.EXreaction wrote:This is mostly complete, some screenshots:
http://www.diigo.com/item/image/2xrwi/iosr?size=o
http://www.diigo.com/item/image/2xrwi/95qu?size=o
Also, I'm not completely familiar with how extensions work under the covers, so forgive me if I'm way off base here, but are there scenarios where you might have one extension whose execution is dependent on another's? If so, how is that order enforced? If there's no dependency item in the manifest, should there be up/down buttons in the Extensions Manager to control their order of execution?
Steve
Silicon Valley Pocket PC (http://www.svpocketpc.com)
Creator of manage_bots and spoof_user (ask me)
Need hosting for a small forum with full cPanel & MySQL access? Contact me or PM me.
Creator of manage_bots and spoof_user (ask me)
Need hosting for a small forum with full cPanel & MySQL access? Contact me or PM me.
- oddfish
- Registered User
- Posts: 110
- Joined: Tue Mar 27, 2007 5:53 am
- Location: on my way home
- Contact:
Re: [RFC|Merged] Extension Admin
This is probably more up to date with what is happening
I don't think anything else is needed in the detail page as it is for detail and not for purging or enabling.- imkingdavid
- Registered User
- Posts: 1050
- Joined: Thu Jul 30, 2009 12:06 pm
Re: [RFC] Extension Admin
As far as I know, allowing extensions to specify dependencies was decided against (though I think it would have been a good idea). A sort of hackish way to do this is to check in your extension code for a table or event or something unique about the extension you depend on. If it doesn't find that, then your extension should just not run regardless of being enabled.Pony99CA wrote:Also, I'm not completely familiar with how extensions work under the covers, so forgive me if I'm way off base here, but are there scenarios where you might have one extension whose execution is dependent on another's? If so, how is that order enforced? If there's no dependency item in the manifest, should there be up/down buttons in the Extensions Manager to control their order of execution?