default plugins

I want to enable / disable the plugins I am using when seting up a new install or upgrade so I don't have to go through them every time.
So in zp-core setup/setup-option-defaults.php
I see the enabled plugins like this:

`setOptionDefault('zp_plugin_class-video', 9|CLASS_PLUGIN);`

I would like to know what's up with the number (5, 9, 8)?
For example I want to enable the user_login-out.php in the setup I need to add:

`setOptionDefault('zp_plugin_user_login-out', ???|CLASS_PLUGIN);`

My guess is the number refers to the plugin category?
Template Plugins, Core plugins, Admin utilities

Comments

  • I just realize something... why setting up defaults if I am importing the .sql file.

    Doh.
  • acrylian Administrator, Developer
    No the number refers to the loading priority.

    All plugins set default values but on first enabling and if no options are set (at least they should behave like that).
  • For updates you need do nothing. Your installation options are unchanged. If you are making a new install that is different. At present there is no way to import just the plugin settings.
Sign In or Register to comment.