Quote:
Originally Posted by Icy
Cyb cool hack. I want to use this. But I have customized header & navbar template. Is there any way to use this with my customized template?
|
Maybe open "Cyb-CPMSE.xml" and replace origianl code here:
PHP Code:
if ($vbulletin->options['cyb_pme_newpm_recpt'])
{
$vbulletin->templatecache['pm_newpm'] = str_replace(('$checked[receipt]'),'checked=\"checked\"',$vbulletin->templatecache['pm_newpm']);
} else {
$vbulletin->templatecache['pm_newpm'] = str_replace(('$checked[receipt]'),'',$vbulletin->templatecache['pm_newpm']);
}
if ($vbulletin->options['cyb_pme_newpm_copy'])
{
$vbulletin->templatecache['pm_newpm'] = str_replace(('$checked[savecopy]'),'checked=\"checked\"',$vbulletin->templatecache['pm_newpm']);
} else {
$vbulletin->templatecache['pm_newpm'] = str_replace(('$checked[savecopy]'),'',$vbulletin->templatecache['pm_newpm']);
}
if ($vbulletin->options['cyb_pme_newpm_urls'])
{
$vbulletin->templatecache['pm_newpm'] = str_replace(('$checked[parseurl]'),'checked=\"checked\"',$vbulletin->templatecache['pm_newpm']);
} else {
$vbulletin->templatecache['pm_newpm'] = str_replace(('$checked[parseurl]'),'',$vbulletin->templatecache['pm_newpm']);
}
with what you need?
Of course you must know how it works.