View Full Version : installers?
Blaine0002
09-11-2005, 11:16 PM
im have a quite large hack that runs quite a bit of queries and adds a bunch of templates in the installation....
do you think i should use an installation php file or use an XML?
Andreas
09-11-2005, 11:32 PM
Use Product Management, much easier than writing custom installers.
just work it into an xml product file.
It's the way to go...everyone's doing it.
Blaine0002
09-11-2005, 11:51 PM
but what if i already have a custom installer made?
THEN whats the better way?
Andreas
09-11-2005, 11:59 PM
Burn it and make a Product XML :)
Shouldn't be too hard
- Install using the Installer
- Assign Phrases/Templates/Settings to the Product
- Copy Query-Code to Product Install/Uninstall Code
- Export
Done.
Blaine0002
09-12-2005, 12:03 AM
and how exactly do i assign templates and stuff to the product?
oh, and will this allow me to have a php file in the admincp directory that allows me to edit the settings?
Adrian Schneider
09-12-2005, 12:06 AM
Go into debug mode, then create them into the Master Style, and specify the product upon creating them. You can add ACP options the same way.
Andreas
09-12-2005, 12:44 AM
If you already have the phrases/templates/settings in the DB you can easily assign them by issuing a Query (UPDATE table SET product='myproduct' WHERE ...)
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.