SheepCow
Well-known member
Well, I suck at putting text into code :S
I know what you are saying and I understand the plan, but I can't make it without having errors
Any chance you can quickly write it out?
Something like this:
		PHP:
	
	public static function listen($hookName, &$contents, array $hookParams, XenForo_Template_Abstract $template)
{
    if ($hookName == 'account_wrapper' && $template->getTemplateName() == 'account_upgrades')
    {
        // blah
    }
}I've not actually checked the code so I don't know if that's totally correct, but hopefully it's enough

 
 
		
 
 
		 
 
		 
 
		
 
 
		 
 
		 
 
		 
 
		
 
 
		 
 
		 
 
		 
 
		