You mean to de/activate the complete modification???
In my opinion thats a unnecessary option because you can make this on the Manage Products page in the acp!
So you save much time on coding and you don't need to make the check everytime!
but if you want make it:
1. create a yesno option in the acp (heres a good tutorial)
https://vborg.vbsupport.ru/showthread.php?t=127432) name it myplugin_active
2. in your plugin you can use now $vbulletion->options['myplugin_active']
that would be:
PHP Code:
if ($vbulletin->options['myplugin_active']
{
...
}