mf
26th October 2006, 09:05 PM
I tried the plugin system a few times but for everything I wanted to do I ended up writing a hack instead. I realize this is very impractical when upgrading, but the hooks are just in the wrong place!
Of course hook locations are hard to choose and you can't satisfy everyone, but take a mod_rewrite SEO hack for instance. If you want to do this in a plugin (change all the links according to your rewrite rules), you're left with few hook locations, the scope of which will be too global, and what you're doing is a search & replace on a lot of output code, which is inelegant and processor intensive, for things you can do with variable changes in a code hack.
It appears to me that if you wish to really *modify* any core part of vBulletin elegantly and with performance in mind, you're stuck with code hacks.
Now instead of hearing only from people who have switched to writing/using plugins (I realize they are popular), I would also like to hear from the diehards that still write, use, and maintain (the toughest bit, with all the security patches and new versions) actual code hacks.
Of course hook locations are hard to choose and you can't satisfy everyone, but take a mod_rewrite SEO hack for instance. If you want to do this in a plugin (change all the links according to your rewrite rules), you're left with few hook locations, the scope of which will be too global, and what you're doing is a search & replace on a lot of output code, which is inelegant and processor intensive, for things you can do with variable changes in a code hack.
It appears to me that if you wish to really *modify* any core part of vBulletin elegantly and with performance in mind, you're stuck with code hacks.
Now instead of hearing only from people who have switched to writing/using plugins (I realize they are popular), I would also like to hear from the diehards that still write, use, and maintain (the toughest bit, with all the security patches and new versions) actual code hacks.