2008-08-15, 05:06 AM
i never seem to be able to get this to work properly:
i can add things to templates, but when i go to remove it, it doesn't give an error just doesn't remove it, heres what i have:
any ideas?
i can add things to templates, but when i go to remove it, it doesn't give an error just doesn't remove it, heres what i have:
function EMS_activate(){
require MYBB_ROOT.'/inc/adminfunctions_templates.php';
find_replace_templatesets('header', "#\<navigation>#", "<navigation><br />{\$messagestyle}{\$boardmessage}");
}
function EMS_deactivate(){
require MYBB_ROOT.'/inc/adminfunctions_templates.php';
find_replace_templatesets('header', "#\<br />\{\$messagestyle\}\{\$boardmessage\}#", "");
}
any ideas?