PDA

View Full Version : Write an installer to install phrases and settings


Michael Morris
07-22-2005, 07:48 PM
I've completed a plugin that requires 20 new setting variables be added and 42 new phrases. Needless to say, doing that manually would be a pain in the neck. Anyone have a guide to writing an installer file that will automate this last process?

Uhm, wrong forum (sorry)

Marco van Herwaarden
07-22-2005, 08:21 PM
Hmm for 3.0 i would say use HIS, not sure if it will worjk on 3.5

akanevsky
07-22-2005, 09:30 PM
I would suggest you check out the code that vBulletin uses to add/remove phraseas and settings, and then create your own files, and copy/paste the code you found and modify it to fit your needs..

Acedeal
07-22-2005, 09:31 PM
HIS = what may I ask-
Same boat here, need to add new group phrases, template groups etc.

akanevsky
07-22-2005, 09:35 PM
And about HIS... It makes a very messy code.. It would be much better to create an own installer by manually writing it out... It's not that hard.

amykhar
07-22-2005, 11:16 PM
Go ahead and grab the installer I slapped together for userpages. That will get you started.

If you make any improvements, please share :)