Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Better Extensions page
- List dependencies
- List Dependency status. enabled or disabled. Each extension already identifies itself on conf/settings.php file. Other extension developers should look if the extension is enabled. If not change the dependency status and also disable the checkbox. Do not allow the extension to be enabled if it doesn't meet the dependency
- Optionally Auto enable dependency. Prompt the user whether he/she would like to enable the parent extension if the extension is downloaded but isn't enabled.
- Link to Support Discussion instead of documentation page or author website
0
This discussion has been closed.
Comments
Posted: Wednesday, 14 March 2007 at 12:17PM (AEDT)
2. If that is a link to the author homepage, why is it called support? Surely the support happens in the lussumo community forums? Why not make the Author name a link to their homepage? That would make more sense to me.
4. I agree that is going to be a pain, but it would be nice It would certainly save having to tell people in the readme that they have to enable things in a certain order if it's done automagically
Another thought I had was to make the addons site let you choose *all* versions of vanilla that it works with - instead of just one.
...by which I mean incompatible extensions...
So yeah, next release we can certainly overcome these hurdles, but I'm not in a rush to get there.
Regardless, those of us who regularly update by SVN will get the new features faster. And adding another line to the newer extensions won't break old installations of Vanilla. So we can take our time with this and do it right.
For example, add the ability for you guys to create dependencies. That way I can automatically add links to dependent add-ons on the download page.
I think that's a good start, and I'm happy to work on that for the time being.
I'll probably make it look just like that.
I love this.
And you could do it here as well?
As much as I love Schiz's mockups (he is the king), please do consider what I suggested for the links.
The reason I didn't do that before now is because the default.php file doesn't contain the actual AddOnID in the database - so there's no way of knowing if that add-on actually exists in the addons site. For example, I've got a few custom ones here that don't exist on the addons site.
Now I'm thinking I'll do what I did with the update checker - send the request to a page on the addons site just with the name of the addon as a querystring param - make it look for a matching add-on and redirect to that page if one is found - otherwise report that it couldn't be found.
linking the extension names in the "requirements line" as an anchor to that extension on that page (so the page jumps to it) would make it nice and easy to enable an extension that isn't.
Well, first of all, there are a few conundrums with some of the ideas in this discussion. Take the "automatic disabling" of add-ons that don't meet dependencies: After a good nights sleep to think things over, here's what I think I might do:
1. Add a new (optional) line to the default.php information section called "Dependencies".
2. If that add-on has dependencies, the line would appear like this:
Dependencies: Yes
3. When rendering the extensions page in Vanilla, if the app encounters an add-on that has dependencies, it will ping to a page on the add-ons site looking up the dependencies for that add-on. It returns the names of dependent add-ons to the extensions page and they are rendered.
4. If those extensions aren't in the list of extensions in the forum, it won't allow that extension to be enabled - it will throw an error if you try to enable it telling you as much.
5. If those extensions ARE in the list of extensions in the forum, it will allow the extension to be enabled, but it will also enable those other extensions at the same time.