I'm trying to display an additional table within the
USERCP -> Edit Your Details area from a template
and just cant seem to figure out if my php is wrong or having the wrong hook.
What is attempted below is to hook an area of the template where there is no hook by str_replace.
Hook: cache_templates
Code:
$vbulletin->templatecache['modifyprofile'] = str_replace('<if condition="$customfields[\'regular\']">', ''.$vbulletin->templatecache['new_modifyprofile_table'].'<if condition="$customfields[\'regular\']">', $vbulletin->templatecache['modifyprofile']);
My new_modifyprofile_table template is cached via a seperate cache_templates plugin with:
$globaltemplates[] = 'new_modifyprofile_table';
Can anyone help?
Thanks