The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
![]()
The one thing I'm finding is that so many of my hacks modify existing queries in order to save additional queries, that I'm stuck modifying source files.
Do you think it would be better to do additional queries rather than modifying existing ones? For example, lets say I add a field to the thread table. Would it be philosophically a better idea for me to leave the existing insert query alone and then do an update query in my plugin to update the field? This means I can make the mod with no source code mods, but it does add a query. Or, am I going to be stuck releasing two versions? One as a plugin with updates and the other as a resource-conserving code mod? Amy |
#2
|
||||
|
||||
![]()
I am currently working on the "query problem".
My idea is to replace all current queries with a Query-Class that constructs the real query String at runtime, and assigns each query a unique identifier. When this is done and it works out the way I'l like it to be, it will be possible to modify any existing query with a standard interface. |
#3
|
||||
|
||||
![]()
Kirby's solution would be great but short of that, Its better to make a more optimized add-on. If you added 10 misc plugins that all added 1 addtional query to the forum home page, or to every thread, that would really jinx things up.
|
#4
|
|||
|
|||
![]()
This is why everyone who is the admin of a modded board (and not a coder themselves) should familiarize themselves with PHP enough that they can consolidate plugins. 1 query really isn't going to make THAT big of a difference, but you'd be surprised how fast those suckers can pile up.
|
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|