The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
does uninstallation automatically remove phrases/templates/etc?
Ok, the topic says it all. I tried testing it out, and it didnt remove them. Did I just mess up or do I need to do a query?
Also, durring the installation of product XYZ, are all templates/phrases belonging to product XYZ deleted before the installation of new templates/phrases beings? |
#2
|
||||
|
||||
It should delete all settings/phrases/templates/plugins that belong to the Product.
And yes, if you are upgrading (eg. Overwrite set to Yes) it should delete all stuff before installing the new ones. |
#3
|
|||
|
|||
Here's what I learned over the last couple days since RC1.
The product I'm developing has 3 of my own new templates and 1 vB template modification. The 'postbit_attachment' template is very small so I figured I'd just overwrite it for my users instead of making them edit it. If I include all 4 template in my 'product.xml' file, it installs my three 3rd party new templates in the vBulletin MASTER style that's hidden behind debug mode which is simply awesome and I love it because now users can tweak it and still easily revert back to mine someday. BUT NOTE that the other vBulletin template I modify and include overwrites the vB MASTER style's template, so it can now longer be reverted to vBulletin's template!! This works great .... until your users uninstall YOUR PRODUCT. During uninstall, vBulletin simply deletes all of your product's XML stuff. Including that vBulletin template!! Gone Forever!! I'm sure it's been said somewhere but I didn't really understand that until I really got to playing with it all. This is NOT a "PROBLEM"!! It just means coders have to be very careful about what they include in the PRODUCT.XML file. I suppose my solution will be to simply give users a second STYLE.XML which will safely overwrite that one template for my users ... or I'll just force them to edit the one template .... don't know which yet. Just thought I'd share what I learned. Seemed like a good thread to mention it in. Because when you ask "does it delete them".... The answer is OH MY, DOES IT EVER!!! Be Careful!! |
#4
|
||||
|
||||
You should never-ever touch/include Stuff in the XML that does not belong to your Products ...
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|