The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Mod coding: avoiding update clashes...
Hi all, apologies if this has been asked before but I have searched and haven't managed to pinpoint anything...
My question is this: In the install/update XML for my product if I have this in the <codes> area of the XML: Code:
<codes> <code version="0.92"> <installcode><![CDATA[ //do some database stuff here ]] </installcode> </code> <code version="0.93"> <installcode><![CDATA[ //do something that is required for the new version here ]] </installcode> </code> </codes> On a similar note if someone who is running, say, version 0.9 of my mod, will both sections of the code run? The reason I ask is that I have an INSERT INTO query in the 0.92 section which will probably throw an error if it runs twice. I hope I explained this clearly! Any help will be much appreciated, thanks. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|