$vbulletin->templatecache['templatename'] = str_replace(array('search1', 'search2', 'search3'), array('replace1', 'replace2', 'replace3'), $vbulletin->templatecache['templatename']);