<font size="3">Important change in vBulletin 3.5.1</font>
Product install code is now executed before the product gets inserted into the database; this way you can run any necessary pre-installation checks (mySQL Version, files are in place, etc.) and abort the instalation if necessary. |
What's the best way to go about updating a product?
Say you add a new field to a table with an update. Do you just put an alter table? Will it just skip it in future updates if they already have the field? Or should you just have a seperate upgrade script? |
Just put the alter statement for the new version upgrade code.
|
This is a wonderful thread...
This is my introduction to this feature. It sure puts a whole new light on the extent to what this software can do! QUESTION: is it ok to leave the debug enabled or should it be disabled after the product is created, or does it matter? Is there any security issue to consider if left enabled 'permanently'? Thanks in advance. |
Quote:
|
is this the only way to export your plugins?
|
Is there a way to bundle php code within the product installation process?
It would be nice if the install was one xml file import and not an import, plus an upload. |
When you edit a product, there's a place to put install and uninstall code.
|
Hi
I am in the process of converting any hacks etc., to do this, I read the manual for any info and then looked at the xml files that came with the installation and some of the product hacks that are around. I then wrote a basic product, imoported it and then exported it to see if there were any changes in the file. This led to more research and that is the reason that I am posting here. This is the basic "product" xml file (without values) that I have gleaned thus far: Code:
<?xml version="1.0" encoding="UTF-8"?> There does not seem to be a gui for that data in th cp (although I may have missed it) so, if someone can shed some light, I would be grateful. I have written a schema for the file (as it is above) as I prefer to write the product offline as an xml file and then just import it. Thiat is also the reason for the schema, it makes life easier. Thanks for any help. |
That data is all in AdminCP->vBulletin Options. Where you add/edit Settings groups and additional settings.
The xml format is really meant to be auto-generated for import/export and isn't intended to be edited by hand. I find it much easier to develop mods in my development environment, then let the export generate the xml file. |
All times are GMT. The time now is 05:01 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|