If you want to have the mod use the configured defaults rather than prompt for options when the button in the editor is pushed, consider the following changes.
Go to your plugin manager and edit HHR: Load Editor Buttons (E/2). The variable of interest is
twoparams. If it is set to '1' then the button will prompt for one option, however if it is set to zero, the button doesn't prompt at all. It just inserts the tags and you go on with your edit. When the tags are processed by the mod, if no options are specified, it defaults to the configuration entered in the control panel.
In my case I have the HIDE tag mapped to SHOWTOGROUPS so my changes to the HHR: Load Editor Buttons (E/2) plugin would look like this:
PHP Code:
if ($show['toolbar_shortcut_button'])
{
$extrabuttons[] = array(
'buttonimage' => vB_Template_Runtime::fetchStylevar('imgdir_editor') . '/hide.gif',
//'twoparams' => ($vbulletin->options['hidetag_shortcut'] == 0 || $vbulletin->options['hidetag_shortcut'] == 4 || $vbulletin->options['hidetag_shortcut'] == 5) ? 1 : 0,
'twoparams' => 0,
'bbcodetag' => 'hide',
'tag' => 'hide',
);
}
and:
PHP Code:
if ($show['toolbar_showtogroups_button'] AND $vbulletin->options['hidetag_shortcut'] != 4)
{
$extrabuttons[] = array(
'buttonimage' => vB_Template_Runtime::fetchStylevar('imgdir_editor') . '/showtogroups.gif',
//'twoparams' => 1,
'twoparams' => 0,
'bbcodetag' => 'showtogroups',
'tag' => 'showtogroups',
);
}