Code:
<plugins>
<plugin active="1">
<title><![CDATA[Inactivity Timer [Optional]]]></title>
<hookname>global_start</hookname>
<phpcode><![CDATA[$headerstime = time();]]></phpcode>
</plugin>
<plugin active="1">
<title><![CDATA[Welcome Headers [Alteration]]]></title>
<hookname>parse_templates</hookname>
<phpcode><![CDATA[
eval('$welcomeheaders = "' . fetch_template('welcome_headers') . '";');
]]></phpcode>
</plugin>
<plugin active="1">
<title><![CDATA[Welcome Headers [Template Cache]]]></title>
<hookname>fetch_userinfo</hookname>
<phpcode><![CDATA[
global $globaltemplates;
$globaltemplates = array_merge($globaltemplates, array('forumhome_welcomeheaders'));
]]></phpcode>
</plugin>
</plugins>
That's the extent of the actual php code, as you can see all we do is define a variable, open a template and cache a template. If anyone seens anything wrong please let me know.