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.
TweakThis
TweakThis
0
This discussion has been closed.
Comments
I've made some Google Adsense tweaks to my setup that I'm wondering if I can add as extension. They currently edit the Theme files, but I *think* I can code it using delegates. If you've ever used Adsense, you can put tags around content so it knows that is what it should be looking at for Keywords. Section Targeting it's called. I had a problem that because the name "Spode" was coming up on screen all the time, it kept giving adverts for Spode China. Since I've section targetted, my click rates have gone up 4x
Doesn't the settings > enable extensions page already serve as an interface for enabling individual features? I'm sure you could code a more user-friendly interface, but it's still adding code for something Vanilla can already do.
A more significant issue is this---what if I only want one feature? Why do I have to download all of the tweaks? It seems more efficient to just install the features I want, rather than make Vanilla sift through a bunch of disabled features. In addition, Vanilla adds extensions via a straight list of include() functions (from inside conf/extensions.php). Thus enabling features via the traditional method is going to be more efficient than running Vanilla though a bunch of if-statements (before running the include() functions or raw code).
Again, the tweaks are great. But it seems to me, from a programming standpoint, the better option is still to package the tweaks separately.
But the whole point is these are minor tweaks that I just don't think need to be as an extension all by themselves, these are tweaks that require a number of lines of code, not huge theme files and entire classes.
From my stand point, I like the idea of just installing a single extension to a new forum and enabling all those little tweaks that I want. A bit like TweakUI is to Windows. Setting up a clean install, and then having to remember the extensions you needed to get it how you like it is a pain. At last count I think I have 36 extensions installed. I'd like to see this eventually becoming a "must have" extension.
I really can't imagine the performance hit of a conditional statement would affect a page load, especially as the array the conditional is referencing is already loaded in memory. However, doing an include on say 15 files, taking into account the seeking and separate file access - that's surely got to add latency? An average extension will have say 5 options in the settings panel. I'm intending on making these on/off extensions with as few options as possible.
By all means Tim, if you can show me some evidence of the performance impact this will have, I'll make these separate extensions. Perhaps Mark has an opinion on the matter?