Quote:
Originally Posted by Paul M
Fair enough, didnt know that - why not just put "*" more obvious then.
|
I don't think that was allowed in 3.5.x, and I want to keep my hacks backwards-compatible when possible.
Quote:
Originally Posted by Paul M
Strange tho - why are you running the database install/update code everytime ?
|
Making a sequential installation with new steps added on top of the first one using the vBulletin framework for doing such is confusing and therefore prone to errors. So I just install new tables on the "if not exists" condition (which does not add too much server load given that a hack is only installed once in a very long time), and then add "on top" modifications every time myself by using is_newer_version(), which I believe is the same thing that vBulletin uses to determine which piece of installation code to execute. So I'm just doing the same thing a little differently than what's designated by vBulletin framework.